Skip to Content
0
Former Member
Mar 03, 2007 at 04:22 PM

OPEN/READ DATSET not working correct under ECC6.0.

18 Views

hi,

we are upgrading vom R/3 4.6.c to mySAP ERP 2005 (ECC 6.0).

i am on with testing all Z-ABAPS now and i have the following problem:

i have the following coding:

OPEN DATASET p-filenm FOR INPUT IN TEXT MODE

DO.

READ DATASET p-filenm INTO inprec.

IF sy-subrc EQ 0.

APPEND inprec TO gt_inp.

ELSE.

EXIT.

ENDIF.

ENDDO.

when i look to inprec or later in gt_inp-table i got an '#' at the

end of the string. WHY DOES THIS OCCUR. I got a big problem,

because when i have a field at the end and i am moving it to

a table. so it contains now the value 'EUR#'..........it is the currency-code

for invoices.

Any ideas ? The problem ONLY occurs under ECC 6.0, NOT under 4.6.c.

regards, Martin