10-21-2008 9:40 AM
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
10-21-2008 9:47 AM
Hi..,
RAWDATA is the mandatory parameter of that function module, where you have to pass the variable with character type 4096 length.
For this define this variable in your program:
data: variable(4096).
But why, we are passing this parameter?
Hope this is for some where internal arrangement of data.
[Find discussion on this rawdata in this thread|;
Thanks,
Naveen.I
10-21-2008 9:47 AM
Hi..,
RAWDATA is the mandatory parameter of that function module, where you have to pass the variable with character type 4096 length.
For this define this variable in your program:
data: variable(4096).
But why, we are passing this parameter?
Hope this is for some where internal arrangement of data.
[Find discussion on this rawdata in this thread|;
Thanks,
Naveen.I
10-21-2008 9:48 AM
10-23-2008 9:52 AM