on ‎2020 Aug 11 10:40 AM
Dear Team,
For one of my requirement i need to extend 2 PDI fields to Dataworkbench.
For exp. - In Data workbench-> go to export- >Standard object-> Service Request-> Export any service request record-> in monitor -> open the file- > now i want to see 2 PDI fields which is available currently on Service ticket general facet.
Could you please confirm where should i write the code in PDI and what?
Thanks and Regards,
Madhuri Dubey.
Request clarification before answering.
Hi,
You can very well extend existing PDI fields to Data Workbench using odata Extention. To do so, you need to perform the following steps:
1. Create a new PDI/SDK field which you want to add to Data Workbench(DWB).
2. In PDI, Create a new object type "Odata Extention"
3. Choose Service Name as "ticket" and clicl OK.
4. A new window will open for odata editor. Here log in with PDI/SDK User. if you login with business user then it will not work.
5. Add the newly created SDK field from left-hand side panel. Once done then save and activate your changes.
6. Finally check the DWB and here you should be able to find the SDK field as shown:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Useful thank you Saurabh. I will check with our developers if we can use this approach. Up to now we have been creating copy Custom OData services for Standard business objects, that allows you to add the SDK created fields to the custom service in OData Service Explorer.
The SDK solution you have posted to add the SDK fields to the Standard Service looks like a better solution.
Hi Madhuri Dubey,
Please kindly check the blog-
New Feature : OData service extension with extension fields in SDK and KBA-
2414455 - How to Enable Custom Business Objects and Extension Fields in OData and Data Workbench
https://blogs.sap.com/2017/05/07/new-feature-odata-service-extension-with-extension-fields-in-sdk/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One more KBA-
2414455 - How to Enable Custom Business Objects and Extension Fields in OData and Data Workbench
https://launchpad.support.sap.com/#/notes/2414455
You cannot do that as far as I know. You need to create a Custom OData service. We have raised with SAP - it renders the standard OData services pretty much useless if you use custom fields. However, that's the current limitation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.