cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hi All,The class CL_ABAP_TYPEDESCR is released API in the BTP Trial account but its method is not

Rahul
Discoverer
0 Likes
487

Hi All,

The class CL_ABAP_TYPEDESCR is released API in the BTP Trial account, but all its methods are not allowed. For example, describe_by_name is permitted but gives an error for method get_ddic_object that CALL_METHOD_NOT_PERMITTED.

Experts, any idea why it is like this if it is not because of the TRIAL account?

 

DATA : it_details TYPE abap_compdescr_tab.

DATA : ref_descr TYPE REF TO cl_abap_structdescr.

ref_descr ?= cl_abap_typedescr=>describe_by_name( lv_cdsname ). "No error

it_details[] = ref_descr->components[]. "No error

lt_cdsfields[] = ref_descr->get_ddic_object( )."CALL_METHOD_NOT_PERMITTED

Accepted Solutions (0)

Answers (1)

Answers (1)

guilhermedm
Explorer
0 Likes

Did you get any solution?

I'm trying to use the XCO_CP* class but I haven't found a solution either.

I need to look for the definition of fields and elements of a structure/table in the trial cloud environment (BTP),