Skip to Content
avatar image
Former Member

How copy message class message to work area

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 05, 2007 at 08:53 PM

    MESSAGE e013(zmsgcls) INTO wa_error_log_file-error_text.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 05, 2007 at 08:58 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded