Skip to Content
0
Former Member
Dec 26, 2007 at 01:16 PM

Commit work in BADI

496 Views

Dear Friends,

I need help to record texts inside the Production Order, using the method "cl_binary_relation=>create_link".

My current report calls this method from a production order BADI, but without a COMMIT WORK the texts are not updated into the database. Nevertheless, if I put the COMMIT WORK statement, the exception COMMIT_IN_PERFORM_ON_COMMIT is triggered.

I have tested the solution from a test report (a copy of the source code that is inside the BADI report), with the COMMIT WORK.

Thanks in advance,

Marcelo Perine