Pragmas and Pseudo-comments headache
I have the following error in the ATC:
Title: Extended Program Check
Message: Structural Enhancement by Customer (Very Serious Problem)
|Syntax check warning|
|After a structure enhancement, the assignment or comparison may no longer be permitted. syntactically|
|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:
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,
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
im_container = wa_mepoheader
ex_value = wa_extensionin
illegal_parameter_type = 1
others = 2.