I have to create a structure based on a set of fields that I have. The field names and data types will come from a table at runtime. Using this information, how do I create a structure?
Can this be done using the cl_abap_structdescr=>create() method? If yes, how should I pass the data type as a reference (type cl_abap_datadescr).
Any help would be greatly appreciated. Thank you.