12-14-2012 5:42 AM
I want some1 to explain me the code: This is used in a subroutine/form to display using function REUSE_ALV_GRID_DISPLAY.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
Moderator message: please do more research before posting, avoid "SMS speak"
Message was edited by: Thomas Zloch
12-14-2012 5:56 AM
This is a simple message statement used in ABAP to raise a message to the user. The 'SY-' fields are system fields which contain the paramters identifying the message.
SY-MSGID - Message Class
SY-MSGTY - Message Type
SY-MSGNO - Message Number
SY-MSGV* - Message Variables
You can check the keyword help in transaction ABAPHELP.
12-14-2012 6:05 AM
This is to display a message when raising statement is used inside a function module.
whenever the exceptions defined in exceptions section of function module occurs inside the FM it will trigger a message with raising statement. Which you will display here in your program.
this is a normal message display statement having system fields contains the values.
read here for more understanding of raising statement.
http://help.sap.com/saphelp_nw70/helpdata/en/d1/801f1c454211d189710000e8322d00/content.htm