Skip to Content

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

Problems with GUI_UPLOAD

Hallo,

i use the GUI_UPLOAD like this

*

...

DATA: BEGIN OF ITAB OCCURS 100,

MATNR LIKE MARA-MATNR,

GROES LIKE MARA-GROES,

BRGEW LIKE MARA-BRGEW,

NTGEW LIKE MARA-NTGEW,

GEWEI LIKE MARA-GEWEI,

END OF ITAB.

...

CALL FUNCTION 'GUI_UPLOAD'

EXPORTING

FILENAME = X_FILE

HAS_FIELD_SEPARATOR = 'X'

TABLES

DATA_TAB = ITAB

EXCEPTIONS

FILE_OPEN_ERROR = 1

FILE_READ_ERROR = 2

UNKNOWN_DP_ERROR = 3.

*

the (external) X_FILE has the Content (Example):

10832 25x80 0,065 0,065 KG

I get allways an Error with 0,065. When i use 0.065

it works correkt.

Is there any Parameter in GUI_UPLOAD where i can use 0,065 (perhaps DAT_MODE).

Thanks for help.

Regards, Dieter

Tags:
replied

Hi,

It is preferred/Better to have all the fields of input internal table of type char with suitable length while using FM <b>GUI_DOWNLOAD</b> and once it is filled then you can move to relevant fields for populating...

Regards,

Raj

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question