Skip to Content

USER EXIT or BADI BY MIGO

Hi to all

I need do it a validation in the transaction code MIGO, by the serial numbers.

For example: When I put 5 in amount, appear 5 serial numbers, and I need validate that all de 5 fields of the serial numbers.

Which user exit, or badi I have to use by do it this task ?

Tnak you very much

regards

Dario

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Nov 27, 2007 at 07:08 PM

    MB_MIGO_BADI will be fine. Look at the sample code included in the definition.

    Add a comment
    10|10000 characters needed characters exceeded

    • Tamas Hoznek Hernan Dario Rodriguez

      Hi Dario,

      sorry, reviewing this, I think the MB_MIGO_BADI might not be what you need because that might only work if you introduce a new tab which you don't want to do (I think). Nevertheless, it is worth to check whether the method CHECK_ITEM is executed with a new implementation that does not define a new tab.

      If that's a no-go, then you may look into MB_CHECK_LINE_BADI... or even the SMOD enhancement MBCF0005 looks promising.

      Follow Nilesh's advice to find the BAdIs during transaction processing - there should be one you can use.

      Should all that fail (and if you're in ECC 6.0), then you still could use the new Enhancement Framework and utilize one of the implicit enhancement points in the standard item check logic to add your own checks.

  • author's profile photo Former Member
    Former Member
    Posted on Nov 28, 2007 at 05:42 AM

    Finding BADI for a T.code:-

    1) Goto se24 (Display class cl_exithandler)

    2) Double click on the method GET_INSTANCE.

    3) Put a break point at Line no.25 (CASE sy-subrc).

    Now

    4) Execute SAP standard transaction

    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.

    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.

    7) This way you will find all the BADIs called on click of any button in any transaction

    if you follow this 7 steps, you will find a suitable BADI.

    Regards,

    Nilesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2008 at 06:50 AM

    hi all

    i want tomodify header details for migo(outbound delivery) no method available with export parameters

    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.