Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding upload

Former Member
0 Likes
723

Hi Guruji,

In ECC 4.6 we are using funtion module 'Upload' for upload the data from files to internal table.

But In ECC 6.0 what is the function module we are using to upload the the data from files to internal table in place of 'upload'.

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
690

Hi

Try with function module GUI_UPLOAD.

Regards

Sripal

6 REPLIES 6
Read only

Former Member
0 Likes
691

Hi

Try with function module GUI_UPLOAD.

Regards

Sripal

Read only

Former Member
0 Likes
690

GUI_UPLOAD.

Read only

Former Member
0 Likes
690

Hi,

By using "GUI_UPLOAD", "TEXT_CONVERT_XLS_TO_SAP" to upload the data from flat file .Also applicable for UPLOAD ,WS_UPLOAD in ECC 6.0

you have to pass the values like your reference

CALL FUNCTION 'GUI_UPLOAD'

EXPORTING

FILENAME = UP_FILE

FILETYPE = 'ASC'

HAS_FIELD_SEPARATOR = 'X'

DAT_MODE = 'D'

TABLES

DATA_TAB = ITAB.

if you are move from excel means,

DATA: IT_RAW TYPE TRUXS_T_TEXT_DATA.

CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'

EXPORTING

I_FIELD_SEPERATOR = 'X'

  • i_line_header = 'X'

I_TAB_RAW_DATA = IT_RAW

I_FILENAME = W_FILE

TABLES

I_TAB_CONVERTED_DATA = IT_DATA

I hope,it will help you

<=<< Sharing Knowledge is a way to Innovative >>=>

By,

Yoga

Read only

Former Member
0 Likes
690

ws_upload/upload --> gui_upload

ws_download --> gui_download

Read only

Former Member
0 Likes
690

HI,

check the below mentioned link will help you to upload data from file to internal table.

http://diocio.wordpress.com/2007/02/12/sap-upload-tab-delimited-file-from-pc-into-internal-table/

OR

Use FM "u2018TEXT_CONVERT_XLS_TO_SAPu2019 to convert the excel file into internal table.

Regards,

Sunil

Read only

Former Member
0 Likes
690

Hi,

Make use of FM GUI_UPLOAD or the method GUI_UPLOAD of class CL_GUI_FRONTEND_SERVICES.

Regards,

Ankur Parab