2008 Jan 10 4:36 PM
Hi ,
I have a scenerio, in which i have to upload the data from the excel sheet into internal table for further processing. As the data volume is about 40000+ records FM ALSM_EXCEL_TO_INTERNAL_TABLE and KCD_EXCEL_OLE_TO_INT_CONVERT is not of much use . Is there any other way of processing the file ?.
regards
Saravanan
2008 Jan 10 5:00 PM
hi,
try to convert the file in DAT format and use GUI_UPLOAD for uploading the data.
Using OLE integrations method are not the better way for loadings so bigger file.
bye
Marco
hi,
try to convert the file in DAT format and use GUI_UPLOAD for uploading the data.
Using OLE integrations method are not the better way for loadings so bigger file.
bye
Marco
2008 Jan 10 5:00 PM
hi,
try to convert the file in DAT format and use GUI_UPLOAD for uploading the data.
Using OLE integrations method are not the better way for loadings so bigger file.
bye
Marco
2008 Jan 10 5:28 PM
Hai,
Follow this example:
DATA: BEGIN OF i_file_data OCCURS 0,
col1 TYPE text60,
col2 TYPE text60,
col3 TYPE text60,
col4 TYPE text60,
col5 TYPE text60,
col6 TYPE text60,
END OF i_file_data.
parameter: p_local TYPE rlgrap-filename MODIF ID m2.
data: i_raw TYPE truxs_t_text_data.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
i_field_seperator = 'X'
i_tab_raw_data = i_raw
i_filename = p_local
TABLES
i_tab_converted_data = i_file_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. " sy-subrc
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |