on 04-28-2015 4:47 AM
Hi,
We are trying to extend the Purchase Contract Approval by adding custom field in item detail view. We are able to view the header detail view but when try to access item detail view error below occur in IE. Thanks
Uncaught Error: The segment {SAP__Origin} is required.
Hey Gan,
Did you ever figure out your problem?
Cheers,
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gan,
I figured it out. All the fields didn't transfer when I made a custom copy of my application. I looked at the original and found that I was missing a line of code and some other code... This is before and after:
Before:
name: "ZGBAPP_PRAPPROVAL_SRV",
serviceUrl: "/sap/opu/odata/SAP/ZGBAPP_PRAPPROVAL_SRV",
isDefault: true,
mockedDataSource: "./model/metadata.xml"
After:
name: "ZGBAPP_PRAPPROVAL_SRV",
masterCollection: "WorkflowTaskCollection",
serviceUrl: "/sap/opu/odata/SAP/ZGBAPP_PRAPPROVAL_SRV;mo/",
isDefault: true,
mockedDataSource: "./model/metadata.xml"
This is in the Component.js file of your application.
Cheers,
Kevin
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.