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

Enhancement in MB1B

Dear Experts,

I have developed a Badi in MB1B for Quantity checking error message . It's working fine only problem once the error message

come after entering the ENTER button the screen will be display mode(non editable )I am not able edit the screen. How can I overcome this problem. Urgent reuirement

kindly do the needful..

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Jul 11, 2016 at 11:02 AM

    Hi,

    make use of method IF_EX_MB_CHECK_LINE_BADI~CHECK_LINE


    or


    you can write your code like this in badi implementation..


    if quantity LE 0.

    data: lv_dynnr type sy-dynnr.

    clear lv_dynnr.

    lv_dynnr = sy-dynnr.

    message 'Error Message' type 'S' display like 'E'.

    set screen

    set screen lv_dynnr.

    leave to screen lv_dynnr.

    endif.

    thanks!!

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 11, 2016 at 10:28 AM

    Badi Name : MB_CHECK_LINE_BADI

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 13, 2016 at 04:31 PM

    Hi Sunil ,

    Please check the below link .

    Producing Error to User Via MB_CHECK_LINE_BADI | SCN

    With Regards,

    Sudhir S

    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.