‎2009 Nov 17 11:04 AM
Hi,
In my program , I need to display certain erro messages as shown below.
Ex : Message I005(ZCM).
Now I have to copy the '005',Message text in Message Class 'ZCM' into an internal table.
Could anyone please kindly let me know how to handle this situation.
thanks
Natasha SS.
‎2009 Nov 17 11:22 AM
Hello Natasha,
You can use the syntax MESSAGE ... INTO ...
DATA: V_MSG TYPE STRING.
MESSAGE I005(ZCM) INTO V_MSG.
WRITE V_MSG.Do an F1 for further details.
BR,
Suhas
‎2009 Nov 17 11:16 AM
Hi
All the messages in the message class are stored in the table T100.
Just query/fetch from the table T100 with the message class(T100-ARBGB) = ZCM and Message Number(T100-MSGNR) = '005'
You will get the message text in T100-TEXT.
Hope this helps
Regards
Shiva
‎2009 Nov 17 11:22 AM
Hello Natasha,
You can use the syntax MESSAGE ... INTO ...
DATA: V_MSG TYPE STRING.
MESSAGE I005(ZCM) INTO V_MSG.
WRITE V_MSG.Do an F1 for further details.
BR,
Suhas