on 02-21-2017 12:28 PM
Hi Experts,
We need some clarification for SAP DOCUEMNT CENTRE before we adopt this product:
1) integration with S4 HANA.
2) Custom Fiori App upload document in SAP document centre.
3) how we can access document , which is being uploaded via DMS.
4) Do we need to have DMS in place if want to use it for SAP Business application Purchase order etc.
Regards,
Priyanka
Hi,
For integration scenario with PLM see these blogs:
All integration scenario's are mentioned here: https://wiki.scn.sap.com/wiki/display/ATopics/SAP+Document+Center+-+Integration+How-To+Guides
SAP Document Center provides a re-usable fiori UI which can be imbedded in other UI5 apps. See this for more details: https://help.sap.com/viewer/c5bc243e9e824373a5e8de7c37b1dee1/Cloud/en-US/6c23535de38f4e71bfff239ed5f...
For your 4th query, can you name the fiori app and which screen. Then i can answer better.
Regards, Ashwani Kr Sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashwani,
With regards to the above subject matter, we are currently doing PoC on the Document Center with SAPUI5/FIORI app integration based on the link you presented above.
We are presently stuck with an exception that is thrown when this line is executed: box.addItem(docCenterComponent);
The exception is thrown within the controller called: documentlist.controller.js (part of the 'mcm' module).
We believe that the "docCenterComponent" is not null or undefined but the "addItem" method of the VBox control is unable to add this component to itself and thus, the view is partially constructed and rendered as shown here:
Kindly help us
Thanks
Hi Bakau Onafuwa ,
Based on the error you are experiencing, I understand that the destinationPath might have been incorrectly configured.
Could you please verify if the destination passed in the component and mentioned in neo-app.json are same:
i.e demodestination in the sample snippets
docCenterComponent = factory.create({
// required parameters
type: "DocumentList”,
destinationPath: "/demodestination",
repositoryId: "[REPOSITORY_ID]",
objectId: "[OBJECT_ID]",
...
});
neo-app.json
...
{
"path": "/mcm",
"target": {
"type": "destination",
"name": "DEMO_DESTINATION",
"entryPath": "/mcm"
},
"description": "Destination to SAP Document Center"
},
{
"path": "/demodestination",
"target": {
"type": "destination",
"name": "DEMO_DESTINATION"
},
"description": "Destination to SAP Document Center"
},
...
Thanks,
Kamesh
Hi Kamesh,
We have done the configuration by the books.
We tried to debug the program from chrome with the following findings:
1. Exception is being thrown in the "load: function()" of the "documentlist.controller.js" within the "mcm" modules.
Because "u = t.getConfigurationProperty("/startId")" is undefined, then "u.displayPopup()" throws the exception.
The reference blog did not indicate what value should be set for "startId".
2. In the "Component.js" within the "mcm" module, we have this metadata being performed:
c.prototype.setStartId = function(n) {
this.setProperty("startId", n);
this.getModel("configuration").setProperty("/startId", n)
};
Do help us update the blog to reflect the the "startId" key, we have been on this PoC for well over 2 weeks.
Thanks.
1. startId is an optional parameter, it need not be defined and shouldn't be causing the problem. You may pass a child objectId and the Fiori Component would navigate to this child object on load(helpful for quick access).
Eg.
Repository
ObjectId (Parent)
|
+-- file 1
|
+-- Dir (Child Object) //startId
2. The getRepository() call is failing which causes you to go into the fail block.This is occurring since the GET json call failed with a 404 as earlier mentioned.
Ideally this passes as shown below if the destination to Document Center i.e demodestination is correctly configured
you may verify your destination by hitting the destination URL, it needs to redirect to the Document Center instance as shown below if correctly configured.
https://webidetesting4639003-i309833trial.dispatcher.hanatrial.ondemand.com/demodestination
3. If you observe the redirection to SAP Document Center not taking place. please verify your demodestination configuration in SAP Cloud Platform Cockpit > Connectivity > Destinations
4. Once destinations are all in place, please verify the repostioryId and ObjectId being passed (mandatory parameters).
Hope that helps.
Thanks,
Kamesh
Hi Kameshwar,
Sincere thanks to you for your painstaking efforts; they have been very helpful in resolving our issues.
We have progressed passed the exception above; and what change did we make?
Answer: We now pass "/demodestination" as the value to the key "destinationPath" in the call "factory.create({.......})"; and refresh the browser cache to test. No value to the "startId" key. Like we expect, it does not matter the name of the "Destination" configured in the Cloud Platform for usage in "neo-app.json" of the FIORI apps.
Do confirm if the value "/demodestination" will be amenable to change when move to production environment.
Our current issue is with the Upload functionality (highlighted in the image below) of the component within the app which throws an exception viz:
Do help us check this please.
Hi Ashwin,
Many Thanks.
1) How the Integration with S4 hana on cloud or on premise system can be done with Sap document centre which we can use for business application such as po, sales order etc.
2)Kindly suggest which Fiori app / componant we can integrate for building the custom fiori app or enhancing standard fiori app, If possible pl share the approach.
4) for my 4th query, i can see some standard fiori apps for business scienrio which has the attachment functionality, how we can use Sap document centre here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You may find this link useful: https://wiki.scn.sap.com/wiki/display/ATopics/SAP+Document+Center+-+Integration+How-To+Guides
Regards, Ashwani Kr Sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.