‎2015 Dec 28 2:14 PM
Hi,
I am using BAPI_BUPA_CREATE_FROM_DATA to create business partners, but nowhere does this bapi take as input the partner role, ie , whether it is customer/vendor/etc. How can I handle this?
‎2015 Dec 28 2:36 PM
Hi,
isn't it the partnerrole in structure BAPIBUS1006_HEAD what you are looking for?
Regards
‎2015 Dec 28 2:36 PM
Hi,
isn't it the partnerrole in structure BAPIBUS1006_HEAD what you are looking for?
Regards
‎2015 Dec 28 2:52 PM
yes, the field is same but it is not passed in the import parameter of this bapi
‎2015 Dec 28 2:53 PM
only
BAPIBUS1006_HEAD-BPARTNER
BAPIBUS1006_HEAD-PARTN_CAT
BAPIBUS1006_HEAD-PARTN_GRP
are there.
‎2015 Dec 28 2:59 PM
Maybe call BAPI_BUPA_ROLE_ADD_2 afterwards. Is that an Option?
‎2015 Dec 28 7:01 PM
Hi Tanushree ,
Thomas is right . You might have to use FM BUPA_ROLE_ADD_2 or BAPI_BUPA_ROLE_ADD
afterwards .