... SY-DATUM -> date for characteristics value
I_STRUCTURE TYPE REF TO CL_ABAP_STRUCTDESCR OPTIONAL -> structure of classification for reference data Exporting: ET_VALUES TYPE TT_API_VALI -> table with update ...
... change the structure of your configuration table. Dynamic way when done once then doesn't have to be redesign as I will use cl_abap_elemdescr and cl_abap_structdescr to get key fields. Ok, firstly ...
...
endif. The result of such code is, but the most important things you can find while debugging. This is the list of components of our dynamic structure from cl_abap_structdescr. Here is the result ...
... data for all objects assigned to class
e_tablestr type ref to cl_abap_tabledescr -> table type structure
e_structure type ref to cl_abap_structdescr -> structure Exceptions: fetch_values_error
structure_error ...
... object
i_key_date type sy-datum default sy-datum -> key date for classification
i_structure type ref to cl_abap_structdescr optional -> structure Exporting: et_objvaluesnum type tt_bapi1003_alloc_values_num ...
... then I will use FM BAPI_CHARACT_GETDETAIL to read the characteristics and in each step I'll be using classes cl_abap_elemdescr, cl_abap_structdescr and cl_abap_tabledescr to create the structure I ...