‎2018 May 23 9:26 AM
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.
‎2018 May 24 4:52 AM
Use Class cl_md_bp_maintain instead of your FMs. This will serve all your purposes including vendor/customer/BP upload.
‎2018 May 24 5:59 AM
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.
‎2018 May 24 8:30 AM
Call method maintain of class cl_md_bp_maintain , in the importing parameter you will get the purchasing data of vendor.
