cancel
Showing results for 
Search instead for 
Did you mean: 

how to extend Api and have the custom field's value passed on to a standard field in standard table?

Skiod
Newcomer
0 Kudos
127

There is an existing field KOSRT(Search Terms) in KONH table. We are trying to post condition record creation using API: API_SLSPRICINGCONDITIONRECORD. 

Issue is this API doesn't have a field corresponding to "Search terms"(KOSRT). As per the clean core approach  we added custom field ZZ1_searchterm_PCH for Search Term to this API using Custom Fields App using business context "SD_PRICECOMHEAD".

We are able to see the fields in API structure under entity A_SlsPrcgCndnRecdValidityType, Question is how to get the value of this field updated to KONH-KOSRT field?

View Entire Topic
Zhehui_Xia
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

You can go to check if there is a BAdI can change the value of custom fields with your related business context. If can, read the KONH-KOSRT field from CDS View, then change the value of your custom field.

Best Regards,

Zhehui