10-06-2008 12:35 PM
Hello All,
I created Business Partner using BAPI BAPI_BUPA_CREATE_FROM_DATA.
and then used the BAPI_TRANSACTION_COMMIT.
BP got successfully created.
But when i tried to add the Role to the BP using BAPI
BAPI_BUPA_ROLE_ADD_2 i am not able to create the role.
Do we need to do any setting prior adding the role to BP.
I have used the following parameters to the above mentioned bapi when i execute this it gives 0 return messages.
BUSINESSPARTNER 0000000128
BUSINESSPARTNERROLECATEGORY
ALL_BUSINESSPARTNERROLES
BUSINESSPARTNERROLE FLCU00
DIFFERENTIATIONTYPEVALUE
VALIDFROMDATE 05.10.2008
VALIDUNTILDATE 31.12.9999
Can any one please help me on this.
Edited by: Ravikumar P on Oct 6, 2008 1:37 PM
10-06-2008 12:39 PM
1. check the error messages from the add role function
2. check you didn't forget the COMMIT after the add role function.
10-06-2008 12:41 PM
Thank you for the quick reply.
when i run the BAPI it returns 0 messages in the return structure
10-06-2008 12:46 PM
10-06-2008 12:50 PM
Hi,
You need to use 'BAPI_TRANSACTION_COMMIT' after the BAPI Call.
Can you please share the Function Module Call?