Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI to update Company code data in Vendor role in BP tcode

sukhpreet_kaur1
Explorer
0 Likes
9,205

I am not able to find the BAPI which updates Business partner data in company code level. I need to execute the program in background. I need to update the permitted payee data. Please suggest any BAPI.

Thank you.

I am not able to find the BAPI which updates Business partner data in company code level. I need to execute the program in background. I need to update the permitted payee data. Please suggest any BAPI.

Thank you.

3 REPLIES 3
Read only

thkolz
Contributor
8,019

Instead of a BAPI use the method cl_md_bp_maintain=>maintain to create/update BP.

It's recommended by SAP.

Example: https://answers.sap.com/questions/12646083/creating-bp-with-customer-role-in-s4-hana-using-ap.html

Read only

0 Likes
8,019

I am able to update vendor company code data with this method.

Thank you!

Read only

0 Likes
8,019

Great!
Maybe you can also mark that question as answered then 😉