11-03-2008 8:52 AM
Hi all,
My function module exports a return code in the variable l_ldaprc, there is a message class called ldaprc which has the text corresponding to the return code. Within my program i want to map this return code to the appropriate text in the message class so that i can display the text.
Can someone help me with the syntax ?
Awaiz
11-03-2008 8:56 AM
Use table T100 which stores the messages in the message class.
ARBGB: Message Class
MSGNR: Message number
11-03-2008 9:01 AM
Hi all,
I was able to do the mapping using the following syntax.
message id l_msgid type l_mtype number l_msgnum into l_rcmsg.
where
l_msgid type sy-msgid valus 'LDAPRC'
l_msgnum mapped to l_ldaprc.
Thank u all !
11-03-2008 9:01 AM
marking this question as answered.
Edited by: SBS ERPADMIN on Nov 3, 2008 10:01 AM