Google Search - Blog...........

ABAP - Sample Program On Function Module GUI_DOWNLOAD.

REPORT ZVENKATTEST0.

data: begin of itab occurs 0,
a type c,
c type c,
b type i,
end of itab.

itab-a = 'a' .
itab-c = ':'.
itab-b = 1 .
append itab .


itab-a = 'b' .
itab-c = ':'.
itab-b = 2 .
append itab .


itab-a = 'c' .
itab-c = ':'.
itab-b = 3 .
append itab .

data: file type string .

file = 'C:\Documents and Settings\venkatapp\Desktop\testing1.txt'.


CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
FILENAME = file
FILETYPE = 'ASC'
WRITE_FIELD_SEPARATOR = ':'
TABLES
DATA_TAB = itab.

No comments:

Post a Comment