‎2009 Mar 18 1:22 AM
Hi,
When a message statement is placed in the FM along with RAISING exception, is there any way to read the message in the calling program ?
Eg: In FM, there is a statement as
MESSAGE ID 'GR' TYPE 'S' NUMBER '100'
WITH v_name
RAISING name_found.
In the program, i am calling this FM. Is there anyway to read the message 100 ?
Thanks,
Prasad
‎2009 Mar 18 1:32 AM
Yes, check fields system structure SY with fields like SY-MSGV[1-4], SY-MSGID and so on.
Cheers
‎2009 Mar 18 1:32 AM
Yes, check fields system structure SY with fields like SY-MSGV[1-4], SY-MSGID and so on.
Cheers