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

Regarding Business Partner Creation

former_member594288
Participant
0 Likes
1,325

Hi,

I have created a Business Partner using BAPI_BUPA_CREATE_FROM_DATA after that i used BAPI_BUPA_ROLE_ADD_2 to add a role but how to add a Company code and sales data like sales org, account group etc in business partner. Any suggestions?

Hi,

I have created a Business Partner using BAPI_BUPA_CREATE_FROM_DATA after that i used BAPI_BUPA_ROLE_ADD_2 to add a role but how to add a Company code and sales data like sales org, account group etc in business partner. Any suggestions?

4 REPLIES 4
Read only

MateuszAdamus
Active Contributor
0 Likes
1,246

Hello ravi_sdn

I think you can achieve you requirement with the usage of CMD_EI_API class.

Here is a blog post about it: https://blogs.sap.com/2014/12/16/customer-master-creation-using-class-cmdeiapi/

Kind regards,
Mateusz
Read only

0 Likes
1,246

Hi Adamus, Thanks for the answer. In my requirement we have to do using bapi's. Do you know where we can fill company and sales data for business partners.

Read only

0 Likes
1,246

No, unfortunately I don't. I guess there is always an option of a BDC transaction call.


Kind regards,
Mateusz
Read only

0 Likes
1,246

Hi mateusz_adamus_dd, In the class CMD_EI_API, do you know where we can pass Roles.