cancel
Showing results for 
Search instead for 
Did you mean: 

Assigning Role while create a BP

Former Member
0 Kudos

Hi ,

I am creating business partner using BAPI :

BAPI_BUPA_CREATE_FROM_DATA

I didnot find any parameter to assign role while creation.

If this is not possible , can anyone please help me to assign role say 'CRM Consumer' to the BP

Thanks in advance.

Points will be awarded please help !!! ..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

use BAPI_BUPA_ROLE_ADD_2 to assign roles to a BP

Answers (1)

Answers (1)

former_member202474
Contributor
0 Kudos

Hi,

You can use the function 'BAPI_BUPA_ROLE_ADD' to add a role to a BP.Pass the BP number and the role as export parameters to this bapi.

Note: The bp number is the same bp number which is obtained from the importing parameter 'businesspartner' of the function 'BAPI_BUPA_CREATE_FROM_DATA'.

*****************Reward if solved ***************

Regards,

Ruby.