For Filed names concatenate field1 field2.... into
See here is my code...and you can find the attached .csv file.
CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'
EXPORTING
i_field_seperator = ';'
TABLES
i_tab_sap_data = i_csv
CHANGING
i_tab_converted_data = i_data
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CONCATENATE 'Laenderkennzeichen *'(013)
'USt-IdNr. *'(014)
'Betrag (Euro)*'(015)
'Art der leistung *'(016)
'Importmeldung;;;'(017)
INTO wa_data SEPARATED BY ','.
INSERT wa_data INTO i_data INDEX 1.
CLEAR wa_data.
Regards,
Raj...