Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How copy message class message to work area

Former Member
0 Kudos

I am getting syntax error on the following code:

MOVE e013(zmsgcls) TO wa_error_log_file-error_text.

I am trying to copy a messgae class message into a work area.

what is the correct syntax?

Any suggestion will be appreciated.

Thanks

Ning and Nahman and also Margo

1 ACCEPTED SOLUTION

Former Member
0 Kudos

MESSAGE e013(zmsgcls) INTO wa_error_log_file-error_text.

3 REPLIES 3

Former Member
0 Kudos

MESSAGE e013(zmsgcls) INTO wa_error_log_file-error_text.

0 Kudos

Thanks

Points awarded and thread closed.

Former Member
0 Kudos

Use the function module 'MESSAGE_PREPARE' by giving the message class and message number and retreive the value from the imported varaible in the FM then pass the improted varaible into wa_error_log_file-error_text.