Convert notepad file to Internal table

as per the requirements to convert notepad file to excel formats to for this purpose we can convert your excel file to notepad and fulfill the requirements



CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
  EXPORTING
    i_field_seperator    'X'
    i_line_header        'X'
    i_tab_raw_data       lt_raw
    i_filename           p_filename
  TABLES
    i_tab_converted_data it_data
  EXCEPTIONS
    conversion_failed    1
    OTHERS               2.
  IF sy-subrc <> 0.
    MESSAGE 'Data not uploaded.' TYPE 'E'.
  ENDIF.

Comments

Popular posts from this blog

all user exit mv45afzz (implicit user exit )

How to Give Dropdown in alv report in sap abap programming Language

Long Text in input and output field in module pool