Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Tags:
Former Member
Former Member replied

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

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question