on 2024 Jul 30 1:33 PM
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
Request clarification before answering.
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),
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.