Is SAPJCo specific to a SAP installation or can be reused between different SAP Boxes? - sapjco3

I'm trying to connect to a SAP system using SAP JCo. Our client is taking long time to download and give the SAP JCo. Is SAP JCo dll and Jar specific to a SAP Box or can be used across different boxes? Can I use a SAP JCo downloaded using SAP ID registered in our SAP Box and use it?

Note that the redistribution of the connector is not allowed by SAP.
-> if you develop an application for a customer, this customer has to download and provide you the JCO lib for his SAP installation.
See : https://support.sap.com/en/product/connectors.html

SAP JCo is library which can be used to communicate with any SAP on-premise system that supports SAP's RFC protocol. This is comparable to a database vendor specific JDBC driver.
Just provide the logon credentials and connect to any available system of this type.
You can find further general information about the SAP Java Connector here:
https://support.sap.com/jco

(Much appreciate trixx's suggestion in the comments; I am editing this reply to directly answer op's question instead of giving general statement)
SAPJco is not specific to an SAP installation. Assume you have a valid S-ID to access SAP software download page ("Connector" section) to download the JCO file. Once you download it, you can start with some simple examples. Here is one blog for reference.
(original reply was:
Your best bet would be to search in Google through keywords like "SAP JCO sample" to read some very basic examples, and try to practice from them. Once you start to get used to the design pattern, you can blend your requirement in and become productive. It is not difficult to get started. Keep learning and practicing. )

Related

SAP Cloud Platform relation to SAPUI5?

I want to shed light on some of the ambiguous moments I encountered:
SAPUI5 is the name of the framework in JavaScript that can create Fiori apps.
SAP Cloud Platform acts like a server in the cloud for those apps.
So I can create an app that has no interaction with SAP HANA. Is that right?
Thanks
Technically, you can create an application with the SAPUI5 extensions that does not interact with an SAP instance, and execute this application in any compatible container. However, if you read the fine print of most SAP licensing agreements related to this topic, you will notice a clause that indicates you could be charge for using the SAP version of the UI5 framework for non-SAP applications.
The OpenUI5 tools are OK, but without the aid of the SAP Web IDE, the use of this library is very code intensive. Furthermore, while you can create and application with UI5 as a front end to a data server, you still have to have access to an compliant data source.
The other negatives are the lack of a formal, integrated authentication and authorization model for applications build using OpenUI5. In the case of the SAPUI5 to build applications, you deploy to the SAP Fiori launchpad and benefit from an integrated authentication and authorization framework.
The following is an excerpt from the licensing agreement that you can view on the SAP Developer Tools page.
SAP Developer Tools Page
Here is a link to the licensing agreement for convenience.
Link to developer license
I have highlighted the sentencesstrong text that I understand to limit the use of the non-open source version of the SAPUI5 libraries to build non-SAP centric solutions.
T1. LICENSE: SAP grants You a non-exclusive, non-transferable, non-sublicensable, revocable, limited use license to copy, reproduce and distribute the application programming interfaces ("API"), documentation, plug-ins, templates, scripts and sample code ("Tools") on a desktop, laptop, tablet, smart phone, or other appropriate computer device that You own or control (any, a "Computer") to create new applications ("Customer Applications"). You agree that the Customer Applications will not: (a) unreasonably impair, degrade or reduce the performance or security of any SAP software applications, services or related technology ("Software"); (b) enable the bypassing or circumventing of SAP's license restrictions and/or provide users with access to the Software to which such users are not licensed; (c) render or provide, without prior written consent from SAP, any information concerning SAP software license terms, Software, or any other information related to SAP products; or (d) permit mass data extraction from an SAP product to a non-SAP product, including use, modification, saving or other processing of such data in the non-SAP product. In exchange for the right to develop Customer Applications under this Agreement, You covenant not to assert any Intellectual Property Rights in Customer Applications created by You against any SAP product, service, or future SAP development.
SAPUI5 is a JavaScript web application framework. It is used by SAP to create SAP Fiori apps, and others can use it to create Fiori-like apps. However, it can also be used to create apps that do not follow the Fiori Design Guidelines, and are thus not Fiori-like apps. Furthermore, there is a free, open source version called OpenUI5.
SAP Cloud Platform is a platform-as-a-service that provides many different services, including a runtime for serving HTML apps like SAPUI5/OpenUI5 ("UI5") apps.
UI5 apps are often run from an SAP NetWeaver AS ABAP system (serving as an SAP Gateway system) or from SAP Cloud Platform, but as each of these apps is simply a collection of static files, they can be run from anywhere by including an index.html file.
So yes, you can create an app that has no interaction with SAP HANA.

Alternative method to download SAP Standard Fiori Apps

I am aware of downloading standard SAP Fiori apps from ABAP Repository using the /UI5/UI5_REPOSITORY_LOAD program. Also, I understand that the apps may directly be imported into SAPUI5 Web IDE if connected to the SAP system.
I want to know if there is any other way to access Standard SAP Fiori Apps since I am required to work on extending standard apps but currently don't have an access to any SAP System.
Kindly help. Many thanks.
but currently don't have an access to any SAP System
SAP does not provide source code of standard apps in public access, neither Fiori nor traditional app. If you have no access to S4HANA, then you are out of the luck.
The only option I can imagine is a SAP CAL (Cloud Appliance Library) where you you can quickly deploy full-featured S4HANA, download your app and then terminate the instance. It wouldn't be very expensive for such short-time task.
Another possible option is to download software components related to your app (UIAPFI70 400 + S4CORE 101) from SAP Launchpad and try to dig into archives to pick out needed files manually, but for me it seems a dead end. Be aware, that your app is deprecated since 1709 and see relevant note.
P.S. BTW to download Fiori you can use not only /UI5/UI5_REPOSITORY_LOAD but also Eclipse way.

SAP BO 4.1 Auditing without Universes

Morning all,
I have recently deployed Crystal Reports 2013 and Crystal Server 2013 in a test environment, as we are currently using the 2008 version of both products.
As this deployment is in a test environment; I am keen to implement and try out as much as possible to implement the best solution as possible.
One of the things I have enabled is Auditing. Once set-up I went looking for the best way to utilise this but everything seems to allude to needing a Universe creation tool (Information Design Tool) which I don't have and can't obtain, as our SAP products are provided via a third party and we don't have access to the BI Client Tools.
So I'm back to trying to figure this all out via custom Crystal Reports.... I've read plenty of articles, one which provided me with the links needed between the Database Tables, but there don't seem to be any articles on what tables etc to use.
Has anybody done this?
Thanks in advance for any help, I'm tearing my hair out at the minute!
Direct RBMS access
Have a look at the official SAP documentation (I'm using the BusinessObjects manuals, but information in them should apply to Crystal Server as well), more specifically the Business Intelligence platform Administrator Guide (SP doesn't really matter, auditing doesn't tend to change much within a major release).
There are two sections that are important for you:
The Auditing chapter, more specifically the section regarding Audit events.
The Auditing Data Store Schema Appendix, which contains all the detail regarding the audit schema you could need.
Using a universe
Have a look at the SCN blog post Unlock the Auditing database with a new Universe and Web Intelligence Documents for BI4.1. It contains a download link to an LCMBIAR file which you can import into your BI4 environment, without the need for a universe client tool. There's also a webinar and documentation available. The prebuilt WebI documents should save you a lot of time.
Requirements:
BI Platform BI 4.1 Support Pack 5 or greater for the Web Intelligence Documents
BI Platform BI 4.1.x for the Audit database to be queried
Instructions:
Download the content (take the highest build numbered zip file)
Import one of the five 'Universe' LCMBIAR files into your system using Promotion Management (it will go into BI Platform Auditing folder)
Import the Web Intelligence LCMBIAR file (it will go into BI Platform Auditing folder)
Edit the connection that is imported (in BI Platform Auditing folder) with the correct login credentials.
Open the Web Intelligence document STA1 - Start here - Events over time.wid as your starting point!
The only issue might be with step 4, where you need to edit your connection. I don't know if you'd be able to edit the imported connection through the Crystal Reports application?

Try to use variants and table personalisation on SAPUI5 SmartTable

I want to use the variants to customise different filter and table variants on a SAP Fiori application, that use SAP Hana Cloud and Java backend.
As a background info:
I'm using a smartTable that is connected to the smartFilter by filterId property. On the table/filter I am able to access directly the data from the metadata by filing the entitySet / entityType property. I am using a real server not a mock server. In the table the properties regarding the personalization and variants are enabled (useTablePersonalisation="true", useVariantManagement="true"). I see that I have to specify the persistencyKey so that variants can display on the UI, but i don't know what value should i complete it with.
I read that smartTable and smartFilter are using SmartVariantManagement(a custom control of VarinatManagement) to accessed directly (without user interaction) SAPUI5 Flexibility Services regarding personalization data and management of the variant. But on SAP Help it says that:
Flexibility services are currently not available in SAP Hana Cloud Platform.
The services run on the ABAP front-end server and NetWeaver 7.31 SP11 or higher
Here is the link: http://help.sap.com/saphelp_hanaplatform/helpdata/en/a8/e55aa2f8bc4127923b20685a6d1621/frameset.htm
It is possible to use the variants and personalization?
How can I do it regardind my application specification?
Does anyone have an example application?
Thank you !
You can use them both at the same time.
For me the useTablePersonalisation="true" is working without any other changes. Rearding the useVariantManagement="true", I use showVariantManagement="true" also, and as you said persistencyKey="SmartFilter_Explored" is also needed to see Variant Management icon.
This is an example: https://sapui5.hana.ondemand.com/explored.html#/sample/sap.ui.comp.sample.smarttable/preview
For me I can not test the variant management functionality when running the app from webide as it is needed an existing user for you. So I can test it only, when running it on launchpad.
PersistencyKey identifies the storage area and saves/retrieves the variants currently used.
This page helps you with persistency key (under Page Variant section):
https://sapui5.hana.ondemand.com/#/topic/06a4c3ac1cf545a7b51864e7f3aa02da
I hope it helped.

Help to choose Alfresco or Nuxeo for DMS

I have requirement to develop DMS(Document Managemen System) with some initial requirements:
If possible DMS should be open source
Initially DMS should support up to 500 users
System should be scalable in sence od users or content
Docuemtns/Content should be stored on a file system
Document should be able to be marked for later destruction
Mandatory to have workflow capabilities
Mandatory to have version control capability
Nice to have SSO(Single Sign On) with Liferay portal
Nice to have posibility to expose some of funccionality via portlets in Liferay
Document management should be done via the web interface
Nice to have shared drive capability
Nice to have events and notifications about add/change content
At the moment I am in doubth to choose between Alfresco and Nuxeo.
I will appreciate any help to choose between them.
Thanks in advance
I have not much experience with Nuxeo, but here is for Alfresco:
1.If possible DMS should be open source
Yes.
2.Initially DMS should support up to 500 users
Yes, if you have a good server.
3.System should be scalable in sence od users or content
Yes.
4.Docuemtns/Content should be stored on a file system
Yes. Only metadata is stored in a database.
5.Document should be able to be marked for later destruction
The free Records Management module has retention capabilities.
6.Mandatory to have workflow capabilities
Yes.
7.Mandatory to have version control capability
Yes.
8.Nice to have SSO(Single Sign On) with Liferay portal
Yes.
9.Nice to have posibility to expose some of funccionality via portlets in Liferay
Alfresco and Liferay work very well together.
10.Document management should be done via the web interface
Yes.
11.Nice to have shared drive capability
Yes.
12.Nice to have events and notifications about add/change content
Not sure about this one. The Share module has this feature, but not sure about the main DM application.
Don't know the Nuxeo system, but we are using Alfresco as a document storage and session server. We have our own GUI and only use it as a back-end system. So far we had no problems. Plus Alfresco has a nice REST interface which makes it easy to integrate into any existing system.