2014 Nov 03 6:41 PM
Hi,
The ABAP debugger does not give the actual name of the table type in the variable list.
Lets say I have the following report:
REPORT zspoil.
" Test Program -> no logic intended
DATA : lt_flight TYPE TABLE OF sflight,
ls_flight TYPE sflight.
SELECT * FROM sflight UP TO 2 ROWS
INTO TABLE lt_flight.
LOOP AT lt_flight INTO ls_flight.
ENDLOOP.
* REFRESH lt_flight.
WRITE ls_flight-carrid.
Now when I debug this and open lt_flight in the variable list, the absolute type field has a value %_T00004S00000000O0000012016
Is there any way I can make sense of this field. This value remains the same if I run the program, again.
I was hoping to deduce the actual DDIC name from this value. I need it for a script I am building.
Any thoughts, anyone?
Regards,
Setu
2014 Nov 03 7:34 PM
if the table type itself is from SE11, it does give actaul name, in your case since table type is a local program declaration an hence it has a temporary name.
2014 Nov 03 7:36 PM
Yes. I figured that much.
My question is anyway i can deduce if its origin, looking at the absolute type?
2014 Nov 03 7:47 PM
I'm checking the class - CL_TPDA_TOOL_QUICK_VARS will let you know if I find something, you may also check this class as well as the program SAPLSTPDA_TOOL_QUICK_VARS
2014 Nov 03 9:01 PM
I tried to debug the debugger but as I suspected, the value comes from a kernal call.
SYMBQUICK structure will have he absolute name.
couldnt proceed further.