Skip to Content
author's profile photo Former Member
Former Member

Updation to Batch characterstics and modification to table

Hi All,

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.

Regards,

Sandeep.

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 02, 2006 at 05:38 AM

    Hi,

    You can issue 'Commit work' in the method MB_DOCUMENT_BEFORE_UPDATE if you are not updating any standard tables using this,

    Rgds,

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Sailatha,

      Will it not cause any inconsistency between MM and ML as its mentioned in the documention to BADI is that u can not use 'COMMIT WORK' over there.

      if I use ths function vb_change_batch in update task will it update the characterstics to the AUSP table with out using 'COMMIT WORK' statement.

      can I use the deque function to customize table in order to update the table.

      Regards,

      Sandeep.