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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

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 a 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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.