Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2106

Re: LO_STRUCDESCR ?= cl_abap_structdescr=>DESCRIBE_BY_DATA( ) dumping ..

$
0
0

I guess the question is, what kind of data you put into it.

 

The name suggests that it is a table, but you try to get the descriptopn of it as a structure, this is supposed to dump.

 

If you want the description of it as a table use another class:

 

CL_ABAP_TABLEDESCR


but if the data you try to describe really is a structure then I suppose it's a bug.

In any case you shoudl cover this in a try/catch when it works


edit: if you only want general information you should use the class


CL_ABAP_DATADESCR, this is the super class of the CL_ABAP_ELEMDESCR, CL_ABAP_STRUCDESCR CL_ABAP_TABLEDESCR




Viewing all articles
Browse latest Browse all 2106

Latest Images

Trending Articles



Latest Images