2012 Oct 11 10:30 PM
Hello Team.
I need run the BAPI_GOODSMVT_CREATE in update task(BG)
The BAPI doesn't have this option. Then I create a FM to fill the structure and call the BAPI inside my FM.
All see good, but after give a back. Send me a message express with the error.
When I'm review the error in the SM13 and the ST22
show me the next error message:
Some idea to solve this topic.
Best Regards
David
Hello Team.
I need run the BAPI_GOODSMVT_CREATE in update task(BG)
The BAPI doesn't have this option. Then I create a FM to fill the structure and call the BAPI inside my FM.
All see good, but after give a back. Send me a message express with the error.
When I'm review the error in the SM13 and the ST22
show me the next error message:
Some idea to solve this topic.
Best Regards
David
2012 Oct 12 6:22 AM
Hi,
I think,
From 4.6 release nesting of PERFORM ON COMMIT is not allowed .
See this link for your reference
http://help.sap.com/abapdocu_702/en/abapperform_subr.htm
Hope it helps.
Thanks
Gourav.
2012 Oct 12 6:31 AM
Hi,
I think so you are calling this FM in the badi or customer exit. This fm uses the function MB_GOODS_MOVEMENT_CREATE and the transactions like MIGO,MB01 etc also uses the same function call internally. This function must not be called twice in a single LUW. You can call the bapi in background task as seperate unit if required.
Before that please let us know where you are calling this bapi and what is your exact requirement .
Kesav
2012 Oct 12 6:33 AM
Are you calling commit 2 times, because on commit routine will call update function module and inside that function module did you call BAPI_TRANSACTION_COMMIT, if yes then that might be cause for the dump.
2012 Oct 12 2:32 PM
Thanks Team.
Both calls are in update task. But i have the dump in the first call. this is used from RF functionality. We see in the SM13 the 2 step in green color, but the general status is Error.
And send the error. We are trying modify the Call in Update Task. If you hace any other idea, please post it ! Thans
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |