07-11-2016 11:27 AM
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..
07-11-2016 12:02 PM
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!!
07-11-2016 11:28 AM
07-11-2016 12:02 PM
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!!
07-29-2016 10:25 AM
07-13-2016 5:31 PM
Hi Sunil ,
Please check the below link .
Producing Error to User Via MB_CHECK_LINE_BADI | SCN
With Regards,
Sudhir S