‎2019 May 16 8:24 AM
‎2019 May 16 10:33 AM
Yes , You can use same BAPI which is being used in background by LTMC
that is "RFC_CVI_EI_INBOUND_MAIN" .
This BAPI can create your BP as well as integrated customer with all required views
For better understanding of how this FM creates BP and integrated Customer you can put a external breakpoint and run LTMC of customer creation
‎2019 May 16 12:56 PM
Thanks Vivek.
I need to update the existing customer's data. Is it achievable through this BAPI?
‎2019 May 16 3:54 PM
I have tried that for creating but not for extending, i need to check that
You can also try this IT_BP_ROLE of tables parameter of BAPI pass BP ROLE = 'FLCU01' (Sales and distribution)
IT_BP_ROLE-DATAKEY = 'FLCU01'
‎2019 May 16 4:35 PM
Hi, try BAPI_BUPA_CREATE_FROM_DATA (create Business Partner)
Regards,
‎2019 Jun 27 10:45 AM
Hi Roberto,
Does this BAPI helps creates BP and then support extension / updation of records in customer or vendor?
Regards,
Ramya
‎2019 Jul 02 2:40 PM
Hi Mohan,
In this case, I recommend you searching for corresponding BAPI into Function Group BUBA_3 or Object type BUS1006 Business Partner.
Regards, Roberto
‎2019 Jun 28 4:44 AM
Assuming that you mean upload in S/4HANA and not ECC:
You could also use XD99 to perform mass change of business partners (e.g. partner functions assignment), it is still available in S/4HANA 1809.
As for extending BP with sales area data - there is a separate migration object for that in S/4, it is named "Customer - extend existing record by new org levels". Even if the standard template does not fully cover the list of fields that you are supposed to populate - it is relatively easy to add more fields in via LTMOM as long as they are available and supported (take a look at the target structures). When you extend BPs for sales areas this is like creation of segments.
If you really wish to write your own program - there is also note 2417298-Integration of Business Partner with Customer and Supplier Roles which mentions CL_MD_BP_MAINTAIN and gives some hints on how to use it.
By the way, note 2650140 - RFC_CVI_EI_INBOUND_MAIN to become obsolete states: "RFC_CVI_EI_INBOUND_MAIN will not be supported from the release SAP S/4HANA On Premise 1709 FPS2 and onwards", so it is probably not a wise decision to make extensive use of it.
.