Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

regarding one FM "text_convert_tex_to_sAP'

hi friends

data: begin of itab occurs 0,

itab(255) type c,

end of itab.

data: var1 type TRUXS_T_TEXT_DATA.

constants: file type RLGRAP-FILENAME value 'C:\DOCUMENTS AND SETTINGS\JANAGAR_S\DESKTOP\IDOCSTATUS.TXT' .

CALL FUNCTION 'TEXT_CONVERT_TEX_TO_SAP'

EXPORTING

  • I_FIELD_SEPERATOR =

  • I_LINE_HEADER =

i_tab_raw_data = var1

I_FILENAME = file

tables

i_tab_converted_data = itab

  • 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.

in this function module what is the use of *itab_raw_data* _ parameter

can any one give me the exact purpose of that

because documentation is not available

i am going to use this function module for uploading the contents of file

to internal table at background because my requirement is to upload a file from shared folder . and the information of the file is available is idoc

and doing program for that as it not possible to use front end services this case i am using this

pls help me in this issue

Tags:

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question