‎2008 May 10 7:59 AM
hi
can anybody make me know how to display a string as a error message.
Ex: i got a string with 'A B C' how to call that string in a error message.
regards
prasanna kumar
‎2008 May 10 9:11 AM
hi check this..
report message-id Zmsg.
data: test type string .
test = 'this is the test '.
if not test is initial.
message s000 with test .
else .
message e000 with 'enter the valid data into the string'. .
endif.
regards,
venkat
‎2008 May 10 9:18 AM
Hi Jaya,
1. Goto se91 and create your message class.
2. give the message text and the most inportant thing put &1 at the place in message text where you want your string to come
for example string is &1
3.Goto se38 and write the following statement
message e000(zsdntest) with 'MANISH'.
This will print the error message as
string is MANISH.
U can also give a variable in which string is stored using with.
Please reward if useful.
Manish
‎2008 May 10 9:27 AM
you can create a text in the report..
suppose you create text-001
text-001 = 'ERROR MESSAGE'.
error message with text as in text-001 can be displayed as:
message text-001 type E.
reward if useful.