![]() "If MANDT is part of the structure, but not passed in the excelĭELETE lt_dd_field_list WHERE fieldname = 'MANDT'. "If there is a header, data is available from second line READ TABLE lt_dd_field_list TRANSPORTING NO FIELDS TRANSLATE ls_excel_cell-value TO UPPER CASE. LOOP AT lt_excel_itab_pre_conv INTO ls_excel_cell "If there are field names in headers, they should match the field names in the structure Lc_fil_typ_xlsx TYPE string VALUE 'XLSX'.ĬALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE' ![]() Lt_excel_itab_pre_conv TYPE STANDARD TABLE OF alsmex_tabline,ĬONSTANTS: lc_min_col_xlsx TYPE i VALUE 1, *" REFERENCE(IV_HDR_AVL) TYPE CHAR01 DEFAULT 'X'ĭATA: lt_dd_field_list TYPE STANDARD TABLE OF dfies, *" REFERENCE(IV_MANDT_AVL) TYPE CHAR01 DEFAULT '' If you have any questions do let me know. But there is no field called CARRY_FORWARD in structure EABL. Eg., If i mention field name ‘CARRY_FORWARD’ in header, and pass ‘EABL’ as structure.
0 Comments
Leave a Reply. |