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

BADI - Need to use badi definition LE_SHP_DELIVERY_PROC

Hi All,

I need to do some work related to BADI.

Actually my requirement is related to VL01/VL02.

In VL01 ie in create mode.

i need to check ZMBP = Order type.

then i need to insert data into Ztable.

If i am inserting data into ztable means i need to insert into LIKP table also.

ie Should commit BOTH or commit NEITHER, do NOT allow LIKP to save if Ztable insert fails.

In order to work during collective processing, i am using delivery-final-check BADI .

So ,just this is collective processing,i need some sample code for continue this work.

I am new to this concept ,i dont ve any idea about this. Give some tips related to this Specification.

Thanks,

Kalidas.T

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 08:12 AM

    Hi,

    Please reply for this query ?

    Thank u.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 10:23 AM

    Hi Kalidas,

    Try user exit, USEREXIT_SAVE_DOCUMENT_PREPARE

    this user exit is used for check,

    before the document is saved.

    try insert query in this userexit,

    if sy-subrc <> 0.

    give message.

    endif.

    other wise the document gets saved.

    Regards,

    Ani

    Add a comment
    10|10000 characters needed characters exceeded

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.