‎2010 Dec 16 9:07 AM
Hi Gurus,
I have a problem. I need to display an error message for an extra transaction(ZPP08). However, my message is displayed in the status bar of an empty scrren, not on the my own screen. What should I do? Thanks in advance?
Moderator message: please use more descriptive subject lines for your posts.
Edited by: Thomas Zloch on Dec 16, 2010 12:50 PM
‎2010 Dec 16 9:12 AM
‎2010 Dec 16 9:12 AM
May be your encountering some other error which i casuing the message to be displayed in a blank scree.
and also please esplain how you wrote the code..
‎2010 Dec 16 9:12 AM
‎2010 Dec 16 9:13 AM
data: lt_mseg type TABLE OF mseg.
select * from mseg into TABLE lt_mseg where
( lgort eq 1122 or lgort eq 1106 or lgort eq 115 )
and matnr eq p3_matnr
and charg eq p3_sarj.
IF sy-subrc ne 0.
message id 'ZPP' type 'E' number '045' WITH p3_sarj p3_matnr .
RETURN.
ENDIF.
‎2010 Dec 16 9:50 AM
Hi,
You might be writing this code after start-of-selection and not in your module .. endmodule.
Regards,
Srini.
‎2010 Dec 16 10:59 AM