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.