I have implemented one implementation to the BADI MB_DOCUMENT_BADI.
I have writen my all code in method MB_DOCUMENT_BEFORE_UPDATE.I am trying to update the batch characterstics using CALL FUNCTION vb_change_batch in update task and trying to modify the data with out commit work.
Can anybody who worked on BADI, confirm my doubts.
as in the documentation to the BADI its mention that we can not use commit work in method MB_DOCUMENT_BEFORE_UPDATE.
Please clarify my doubts.