on 05-04-2007 7:10 PM
We are using this bapi to create the general view of the BP (both person & org)
BAPI_BUPA_CREATE_FROM_DATA
If we want the program to extend this to the consumer CRM006 or other role, which BAPI or function should the program call?
Thanks,
Glenn
Hi Glenn,
Follow below code, this is for extending BP roles using BAPI
DATA : role LIKE bapibus1006_head-partnerrole.
DATA : i_return TYPE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA : l_bpid TYPE bapibus1006_head-bpartner.
i_rcomm TYPE bapiret2.
role = 'CRM000'.
l_bpid = '000256'.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = l_bpid
IMPORTING
output = l_bpid.
CALL FUNCTION 'BAPI_BUPA_ROLE_ADD'
EXPORTING
businesspartner = l_bpid
businesspartnerrole = role
DIFFERENTIATIONTYPEVALUE =
TABLES
return = i_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
Hope this will help you
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.