Skip to Content
0
Former Member
Sep 05, 2006 at 05:24 PM

unix write

15 Views

I am trnasfer the data from internal table to unix.

PARAMETERS: p_ufile LIKE rlgrap-filename NO-DISPLAY.

DATA:BEGIN OF int_input OCCURS 0,

year(4) TYPE c,

period(2) TYPE c,

amount(1) TYPE c,

coco(4) TYPE c,

prtcen(10) TYPE c,

ctryco(2) TYPE c,

paycust(9) TYPE c,

endbal TYPE p DECIMALS 2,

monrev TYPE p DECIMALS 2,

END OF int_input.

OPEN DATASET p_ufile FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.

IF sy-subrc <> 0.

MESSAGE e004 WITH text-046 p_ufile.

ENDIF.

LOOP AT int_input.

TRANSFER int_input TO p_ufile .

ENDLOOP.

CLOSE DATASET p_ufile.

dump is coming please help on this.