‎2018 May 14 6:42 AM
Hello Experts,
I am facing an issue while creating business partner as "Business partner with GUID XXXX does not exist" in ECC system.
My custom Program uses standard method 'vmd_ei_api=>maintain_bapi' for creation of vendors. vendor gets created successfully but Business partner not gets create for those vendors.
1. 'maintain_bapi' method try to set a lock inside 'maintain_single-->maintain_lock' method.
2. Inside this method, class interface 'CVI_STRATEGY_VENDOR_BP' contains 'IF_MDS_CTRL_STRATEGY_IMPL~LOCK' method, which contains 'lr_ref_mapper->get_assigned_bps_for_vendors' for getting assigned business partners for customers.
3. Based on vendor number we are getting Business partner GUID from CVI_VEND_LINK table in method 'GET_BP_4_VENDOR_ASSIGNMENT'.
4. After getting link between business partner GUID and vendor 'IF_MDS_CTRL_STRATEGY_IMPL~LOCK' method try to get the BP number from BP GUID in FM 'BUPA_NUMBERS_GET'.
5.but inside 'BUP_BUT000_SELECT_WITH_GUID' program gets failed since its trying to fetch partner ID from BUT000.
Request you to please let me know solution to resolve this issue.
‎2018 May 14 10:19 AM
Hi,
Shouldn't you start transaction FLBPC1 to create a business partner for a vendor?
Kind regards, Rob Dielemans
‎2018 May 14 11:02 AM
Hi Rob,
Thanks for the response.
My requirement is once the vendor gets create,Business partner also need to get create automatically not manually.
Regards,Gayatri Pande
‎2020 Jun 22 1:24 PM
Hi Gayatri,
Im also facing issue while BP Creation, please share if you found solution.
Thanks.
‎2020 Jun 22 1:25 PM
Hi Gayatri,
Im also facing same issue while BP Creation, please share if you found solution.
Thanks.