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

Issue Finding BAPI to Create Company Code Data for Business Partner (Tcode BP) in SAP ABAP

Shivam6
Explorer
0 Likes
1,308

I’m working on automating vendor creation using Transaction Code BP.

So far, I’ve used the following BAPIs:

  • BAPI_BUPA_CREATE_FROM_DATA to generate the Business Partner number

  • BAPI_BUPA_ROLE_ADD_2 to assign the BP role

These calls successfully create the Business Partner and General Data. However, Company Code data and Purchasing data are not being saved in BP.

Can you please suggest the appropriate BAPI(s) that can be used to create or update Company Code and Purchasing data for the Business Partner?

eeef85a5-7bca-40d4-9e88-0909637785fc.jpg

1d93ae0e-02ce-4b19-bbb8-f2a97d0c55f6.jpg

75939fc9-0254-4a84-9f71-431a9e917184.jpg

View Entire Topic
AlexanderOv
Product and Topic Expert
Product and Topic Expert
0 Likes

Please check this question: Solved: Creating Customer and Vendor Master from Business ... - SAP Community It seems to provide solution for the same problem.