on 12-12-2005 5:43 PM
Hi,
I have a requirement to create a BP and assign it to a role. I used the function module 'BAPI_BUPA_CREATE_FROM_DATA' for creating the business partner and the method 'BAPI_BUPA_ROLE_ADD' for adding role of 'Employee' to it. I used 'BAPI_TRANSACTION_COMMIT' after each of them. Though the BP was created there was no entry found in HRP1001.
When I create a BP using the transaction 'BP' the entry is getting created in HRP1001, I couldnt figure out why no entry is getting created when I use the above function modules.
Do I have to call another function module for the entry to be created in HRP1001?
Reply asap
Sudha
Hi,
Try using these two function modules after you call the FM BAPI_BUPA_CREATE_FROM_DATA.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
commit work AND WAIT.
CALL FUNCTION 'DEQUEUE_ALL'
EXPORTING
_SYNCHRON = 'X'.
Hope this helps!
Regards,
Rashmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Sudha,
I realise your question is very old... But I'm facing the very same problem now. Did you find anything out then?
Best regards,
Jan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Sudha,
I realise your question is very old... But I'm facing the very same problem now. Did you find anything out then?
Best regards,
Jan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
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.