You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DATA(structure) = cl_abap_structdescr=>describe_by_name( 'TADIR' ).
DATA temp1 TYPE undefined.
temp1 ?= structure.
DATA(table) = cl_abap_tabledescr=>get( temp1 ).
Downport v2 (real code, edited), no more undefined type:
DATA temp2 TYPE REF TO cl_abap_typedescr.
...
structure= cl_abap_structdescr=>describe_by_name( table_name-tabname ).
temp2 ?= structure.
table= cl_abap_tabledescr=>get( temp2 ). "<-- "TEMP2" is not type-compatible with formal parameter "P_LINE_TYPE".
The text was updated successfully, but these errors were encountered:
This one is easy to work around in the source so not too urgent, but a bit more lengthy to troubleshoot the downport. Might be multiple issues?
Downport v1 (playground):
Downport v2 (real code, edited), no more undefined type:
The text was updated successfully, but these errors were encountered: