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

regarding error message

Former Member
0 Likes
615

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

3 REPLIES 3
Read only

Former Member
0 Likes
569

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

Read only

Former Member
0 Likes
569

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

Read only

Former Member
0 Likes
569

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.