‎2007 Jul 10 8:31 AM
suppose condition matches
display the msg in the error file
in that msg class and msg no and msg text wil b there.
there we hav to set the error flag to ON
how do we do this
pls with detail
‎2007 Jul 10 8:36 AM
Hi
the table of the messages is T100, but you can put the message in a string and then transfer it to the file:
MESSAGE EXXX(YY) WITH MS1 MS2 MS3 MS4 INTO STRING.
TRANSFER STRING TO <FILE>.
Max
‎2007 Jul 10 8:36 AM
Hi
based on condition
............................
if sy-subrc <> 0.
message E021(ZS).
endif.
here ZS is the message class
and 21 is the message number, against which some text is maintained.
So when the condition fails this error message is displayed in the program.
<b>Reward points for useful Answers</b>
Regards
Anji
‎2007 Jul 10 8:38 AM
‎2007 Jul 10 10:26 AM
Hi Ramesh,
T-code:SE91, to create message class.
Use the following code to display message.
MESSAGE I000(ZUY).
ZUY is the message class name,
I000 is unique number for every message
IF USEFULL REWARD
‎2007 Jul 10 1:21 PM
hi
in se91 u create a message class. and message text also u can create.
then use as follows:
message text : 0001 - special char are not allowed in screen &1 and &2.
then &1 and &2 will b replaced with 1000 and 2000.
mesage s0001(message class) with '1000' and '2000'.
reward if useful.