Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ERROR MESSAGE

Former Member
0 Likes
2,369

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,895

Which command do you use for this?

5 REPLIES 5
Read only

former_member242255
Active Contributor
0 Likes
1,895

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..

Read only

Former Member
0 Likes
1,896

Which command do you use for this?

Read only

0 Likes
1,895

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.

Read only

0 Likes
1,895

Hi,

You might be writing this code after start-of-selection and not in your module .. endmodule.

Regards,

Srini.

Read only

0 Likes
1,895

Thank you so much:)