4/9/2023 0 Comments Abap gui upload excel file![]() ![]() 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 ) ). 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, ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |