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.