cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

#COE#SW01 Copy data from Business Partner custom field to Company Code level

9980000921
Participant
0 Likes
903

We have a custom field on the business partner containing the customer dunning email address pushed through an api from an external application. Later we will add company codes to the business partner.

How can we automatically sync the data from the custom field on the business partner level to the clerks internet address field on company code level without repushing the data through the interface each time a new company code is added?

Accepted Solutions (1)

Accepted Solutions (1)

JaiSrinivasan
Product and Topic Expert
Product and Topic Expert

Hi,

Following are the options which you can consider -

1) Utilizing Side by Side extensibility to read the custom field value via whitelisted Business partner related API's, and then updating the standard field with the copied value using the whitelisted Business partner related API's. 

2) Using developer extensibility, create a custom job to read the custom field value and update the standard field utilizing business object interface https://api.sap.com/bointerface/I_BUSINESSPARTNERTP_3 

3) Use IRPA, to copy the value from custom field to the standard field. 

 

Regards

Jai Srinivasan

9980000921
Participant
0 Likes
Thanks Jai. Is there anything available within Custom Logic?
JaiSrinivasan
Product and Topic Expert
Product and Topic Expert
0 Likes
What do you mean by custom logic? The options provided is based on extensibility.
9980000921
Participant
0 Likes
There's an app in S4Hana Cloud called 'Custom Logic' where we can enter code to automatically copy data from one field to another e.g. we have a custom field in I_Product which is copied to a custom field in bil_doc_item. Is it possible to do the same from I_BusinessPartner to I_CustomerCompany?

Answers (1)

Answers (1)

DennisLeslie
Product and Topic Expert
Product and Topic Expert

Hi,

The custom logic (BAdI) available for business partner and customer objects are meant for validation and it doesnt populate the data or change it.

You can use the developer extensibility option or RPA option that Jai mentioned.

Regards,

Dennis