Skip to Content
avatar image
Former Member

Pragmas and Pseudo-comments headache

Hello,

I have the following error in the ATC:

Title: Extended Program Check

Message: Structural Enhancement by Customer (Very Serious Problem)

Priority: 2

Syntax check warning After a structure enhancement, the assignment or comparison may no longer be permitted. syntactically incorrect. Internal message code: MESSAGE G:M

As it is priority 2, it will cause ATC to block any transport request that includes the program.

The program can be as simplified as this one:

REPORT ztest.

DATA: wa_mepoheader TYPE bapi_te_mepoheader,

wa_extensionin TYPE bapiparex.

MOVE wa_mepoheader TO wa_extensionin-valuepart1.



It seems I cannot set any Pragma/Pseudo-comment to avoid this block. How I am, then, suppossed to transport the program (Without disabling ATC in its transaction)?



Thanks in advance,


Eloi Rossell

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Apr 12, 2016 at 12:03 PM

    Hi,

    Try the following

    class cl_abap_container_utilities definition load.


    data: wa_extensionin TYPE bapiparex,

    wa_mepoheader type BAPI_TE_MEPOHEADER.

    call method cl_abap_container_utilities=>read_container_c

    exporting

    im_container = wa_mepoheader

    importing

    ex_value = wa_extensionin

    exceptions

    illegal_parameter_type = 1

    others = 2.

    Regards,

    NP

    Add comment
    10|10000 characters needed characters exceeded