Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_BUPA_CREATE_FROM_DATA

Former Member
0 Likes
1,624

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?

1 ACCEPTED SOLUTION
Read only

bauert
Explorer
0 Likes
1,334

Hi,

isn't it the partnerrole in structure BAPIBUS1006_HEAD what you are looking for?

Regards

5 REPLIES 5
Read only

bauert
Explorer
0 Likes
1,335

Hi,

isn't it the partnerrole in structure BAPIBUS1006_HEAD what you are looking for?

Regards

Read only

Former Member
0 Likes
1,334

yes, the field is same but it is not passed in the import parameter of this bapi

Read only

Former Member
0 Likes
1,334

only

BAPIBUS1006_HEAD-BPARTNER

BAPIBUS1006_HEAD-PARTN_CAT

BAPIBUS1006_HEAD-PARTN_GRP

are there.

Read only

0 Likes
1,334

Maybe call BAPI_BUPA_ROLE_ADD_2 afterwards. Is that an Option?

Read only

Former Member
0 Likes
1,334

Hi Tanushree ,

  Thomas is right . You might have to use FM BUPA_ROLE_ADD_2 or BAPI_BUPA_ROLE_ADD
afterwards .