on 2024 Aug 26 4:04 AM
Hi All,
How to Create And Add Custom Fields to SAP S/4HANA Cloud OData API Entities?
I use "Custom Fields" to create and publish a new custom filed in SD_PRICECOMITEM, and use "Adapt UI" to add it in "Manage Price - Sales" .
When I maintain this field and save this step in UI, I couldn't see any value in custom filed on "API_SLSPRICINGCONDITIONRECORD_SRV".
What's the next step I should do?
I don't know how to map this custom field to the correct target table if I need to add a bapi or other method.
Thanks,
Eric
Request clarification before answering.
Hi,
In the screenshot, you have enabled usage for CDS Views I_SLSPRCGCNDNRECDTEMPLATE and I_SLSPRCGCNDNRECDVALIDITYTP_2, so I think you can use these CDS Views to search in Customer Data Browser and check custom field's value.
Best Regards,
Zhehui
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Can you give BADIs as part of Enhancement Spot 'ES_PIQ_SDPRICELIST_API' a Try ?
Since, its related to Pricing Structure I guess BADIs as part of Enhancement Spot 'ES_SD_SLS_EXTEND' won't help.
Thanks,
Sijin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you get other fields' value correctly via this API? Also I suggest that you can use the APP - Customer Data Browser, search for relevant CDS View and check the custom field's value with this APP.
Best Regards,
Zhehui
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jerry,
I found the bug in this custom field.
If I try the same step to create custom field, it can be correct to save.
However, I create custom field in "Manage Price - Sales", it couldn't be correct to save.
Steps:
First, I maintain the custom field and save it.
( I already add custom fields and enable all cds views / odata service.)
When I refresh this page, It can't be save in table.
When I try to create custom field in other app like 'Supplier Quotation', it can be enable and save.
I already check all the steps have been followed, and I adapt UI to create.
Thanks,
Eric
User | Count |
---|---|
33 | |
21 | |
16 | |
8 | |
7 | |
6 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.