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

BP Vendor Upload Program

former_member205363
Contributor
0 Likes
2,414

Hi All,

I am creating BP (Vendor) Upload program in S/4 HANA.

Able to create BP with 1 & 2 BAPIs.

Issue: I am not able to pass Purchase Org and company code with 3 rd or 4th BAPIs.

Please let me know through which parameters, I can pass Purch. Org and Comp Code.

Used FMs: 1) BAPI_BUPA_CREATE_FROM_DATA

2) BAPI_TRANSACTION_COMMIT

3) BAPI_BUPA_ROLE_ADD_2

4) VMD_EI_API=>MAINTAIN_BAPI


Thanks,

Prasad.

3 REPLIES 3
Read only

0 Likes
1,465

Use Class cl_md_bp_maintain instead of your FMs. This will serve all your purposes including vendor/customer/BP upload.

Read only

0 Likes
1,465

Hi Syed,

Thanks for the reply, i can see only one method maintain in the specified class.

Could you please elaborate, what are the methods and parameters are used for Vendor BP creation with the General, Purchasing, Company code views.

Thanks,

Prasad.

Read only

0 Likes
1,465

Call method maintain of class cl_md_bp_maintain , in the importing parameter you will get the purchasing data of vendor.