Application Development and Automation 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: 
Read only

How copy message class message to work area

Former Member
0 Likes
1,146

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
Read only

Former Member
0 Likes
798

MESSAGE e013(zmsgcls) INTO wa_error_log_file-error_text.

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

3 REPLIES 3
Read only

Former Member
0 Likes
799

MESSAGE e013(zmsgcls) INTO wa_error_log_file-error_text.

Read only

0 Likes
798

Thanks

Points awarded and thread closed.

Read only

Former Member
0 Likes
798

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.