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

Re:gui_upload

Former Member
0 Likes
405

Hi All,

what are the values of import parameter 'file type' in the function modules gui_upload and download.

when we use ascii ? and when we use dat?

and

what are the other values for file type?

what scenario we will use perticular value?

can any one explain it asap.

best answers will be rewarded

2 REPLIES 2
Read only

franois_henrotte
Active Contributor
0 Likes
386

basically you use ASC for ascii file (plain text or CSV) and BIN for binary file (xls,doc,...)

Read only

Former Member
0 Likes
386

Hi Rahul,

File Type (ASC or BIN)

Description

Describes how the upload file is read.

Value range

o 'BIN'.

The system reads a binary representation of the internal table from the

file. The data is neither converted nor interpreted in this case.

Usually, reasonable results are obtained only if the internal table

consists of a single column of type 'X'.

o 'DAT'

The components of the internal table are filled from the file. If the

table contains several columns, the entries in the file must be

separated by tabs. No conversion exits are performed.

The following applies for the different data types:

- I or N or P or F

The numbers must be formatted according to the decimal representation

defined in the user settings.

- D

The date must be formatted according to the date format defined in

the

user settings.

- T

The time must be formatted as hh:mm:ss.

o 'ASC'.

The components of the internal table are filled from the file. Only

data types with fixed length are allowed. The data must be contained

in the file in its full length.

Default

ASC

These function module have self-documentation. check it in SE37.

Regards,

Boobalan Suburaj