‎2010 Mar 26 11:43 AM
Hi all,
How can I call a message dynamically?
For e.g.: MESSAGE E011(00)
Where
00 --> Message ID (class) - get at runtime
011 --> Message number - get at runtime
Thanks,
Khanh
Edited by: Khanh Nguyen on Mar 26, 2010 6:43 PM
‎2010 Mar 26 12:10 PM
You always see this in the SY-SUBRC NE 0 statement of a function module but never thought about it
DATA: v_id TYPE sy-msgid VALUE 'Z_MSG',
v_mtype TYPE sy-msgty VALUE 'I',
v_num TYPE sy-msgno VALUE '014'.
MESSAGE ID v_id TYPE v_mtype NUMBER v_num.
‎2010 Mar 26 11:49 AM
‎2010 Mar 26 12:10 PM
You always see this in the SY-SUBRC NE 0 statement of a function module but never thought about it
DATA: v_id TYPE sy-msgid VALUE 'Z_MSG',
v_mtype TYPE sy-msgty VALUE 'I',
v_num TYPE sy-msgno VALUE '014'.
MESSAGE ID v_id TYPE v_mtype NUMBER v_num.
‎2010 Mar 27 2:29 AM
Hi Suhas Saha,
This time I copied your correct name.
You've helped me many times.
Thank you sir :).
Thanks,
Khanh