![Abap gui upload excel file](https://kumkoniak.com/34.jpg)
![abap gui upload excel file abap gui upload excel file](http://www.baidusap.com/wp-content/uploads/2016-11-07_14-42-18.jpg)
Lref_struct = cl_abap_structdescr=>create( components ).ĭATA(o_ref_table) = cl_abap_tabledescr=>create( p_line_type = lref_struct p_table_kind = cl_abap_tabledescr=>tablekind_std ).ĬREATE DATA o_table TYPE HANDLE o_ref_table.ĪPPEND INITIAL LINE TO. MODIFY components FROM VALUE abap_componentdescr( type = components-type ) TRANSPORTING type WHERE name ''. " making all types as char by replacing with existing PRZ char field Lref_struct ?= cl_abap_structdescr=>describe_by_name( 'CRCO' ).ĭATA(components) = lref_struct->get_components( ).ĭATA(fields) = VALUE ddfields( FOR line IN lref_struct->get_ddic_field_list( ) ( line ) ).
![abap gui upload excel file abap gui upload excel file](https://i0.wp.com/www.samplecodeabap.com/wp-content/uploads/2014/04/image0422.png)
Here is a quick-n-dirty workaround how to make an aligned output of itab with header into text: FIELD-SYMBOLS: TYPE STANDARD TABLE.ĭATA: lref_struct TYPE REF TO cl_abap_structdescr,
![Abap gui upload excel file](https://kumkoniak.com/34.jpg)