Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Dump in nested Commit

0 Likes
500

Hi Gurus,

I'm running a Transc. CV02N. in the BADI of this Tcode i'm calling a BAPI "BAPI_DOCUMENT_CHANGE2" to change this document.i.e changing a document within that document but in AFTER_SAVE method. but after calling the BAPI I need to call BAPI_TRANSACTION_COMMIT. cause without this changes will never affect. but if i call this commit bapi it is giving me dump. saying that there is nested commit, you can not do this.

plz help me out.

-


Robin.

1 REPLY 1
Read only

Former Member
0 Likes
367

Hi,

Have you checked documentation of above BAPI?

-> are u checking correct variable before you call COMMIT BAPI?

-> if yes, then use WAIT explicitly, that should resolve this error.

Regards

Bin