Hello,
I am able to upload data through Function module : TEXT_CONVERT_XLS_TO_SAP, but i am not able to upload the data through function module TEXT_CONVERT_CSV_TO_SAP.
* I am passing input file as Test1.csv ( path D:\test1.csv)
* using function module below are the inputs i am passing.
CALLFUNCTION'TEXT_CONVERT_CSV_TO_SAP'
EXPORTING
i_field_seperator = ','
i_line_header = 'X'
i_tab_raw_data = pa_file3
TABLES
i_tab_converted_data = gt_fgfile
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGEID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
I am getting Error "Type conflict when calling a function module".
Can anyone suggest how to fix the issue.
BR,
Murali