|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Converting a Message type into another Message Type
By Venkateswara Rao Appikonda, IntelligroupTo convert a message type into another message type, but to retain the functionality of the former, we can use the addition DISPLAY LIKE with the MESSAGE statement.
MESSAGE ID 'ED' TYPE 'S' NUMBER '006' DISPLAY LIKE 'E' WITH sy-uname.
When the above program is executed, the following message appears (as an error message):
Now to check if the functionality of the original message
type is retained or not, modify the above program by adding a WRITE statement:
Following is the output, when the above program is
The conclusion is that the functionality of the SUCCESS message is retained, even though the message is displayed as an ERROR message.
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards