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

How to download a report program to notepad?

Former Member
0 Likes
9,210

How to download a report program with includes to notepad?

8 REPLIES 8
Read only

Former Member
0 Likes
3,488

hi ,

use the function module gui_download

check this program

report .

data: begin of itab occurs 0,

test type i,

test1(5) type c,

end of itab.

itab-test = '1'.

itab-test1 = 'venky'.

append itab.

itab-test = '2'.

itab-test1 = 'hello'.

append itab.

itab-test = '3'.

itab-test1 = 'test'.

append itab.

data : file type string.

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

CALL FUNCTION 'GUI_DOWNLOAD'

EXPORTING

FILENAME = FILE

FILETYPE = 'ASC'

TABLES

DATA_TAB = itab.

regards,

venkat.

Read only

Former Member
0 Likes
3,488

go to tcode se38

give your report and click on display.

after this you be able to find a icon save in loval file under your program name with white icon and yellow arrow . click on this you can save it

Read only

Former Member
0 Likes
3,488

Hi,

BKD_DOWNLOAD using this standard program u can download any Zprograms....

The other way is

downloading the INCLUDEs individually.

you need to click on the include,then go to Utilities->download.

Regards,

Raj.

Read only

Former Member
0 Likes
3,488

Hi,

you can't download at a time.

Do it separately.

Regards,

Read only

Former Member
0 Likes
3,488

OPen the program in SE80.

Then download each include at a time.

This way, you wil not miss any include.

It is not possible to download all the includes in a single go.

Regards,

Ravi Kanth talagana

Read only

0 Likes
3,488

hi,

The approach for downloading to a notepad maynot be very be useful The report will have includes,function modules etc... Also it will have screens which you cannot download on notepad!!

So do one thing. Include the report with all its components : includes,screens etc..in a transport request. Do it though SE80 transaction. Once done release the transport request. This will result in creation of data file and co file.

Now at OS level you can get these files and then you can copy them on CD/DVD. Put these files i the respective folders of your target system and import the transport.

If this is Z report and has a Z development class/message class I would suggest including it also in the transports. Development class/message class availability before the report import happens is a must. So include every thing in the transport and use data files and co-files.

Please award points for useful answers.

Regards.

Anup.

Read only

ak_upadhyay
Contributor
0 Likes
3,488

Hi,

Read only

mayur_priyan
Active Participant
0 Likes
3,488

Using transaction SE38 display your program . Then goto Utilities menu -------> More Utilities -------->

Upload/Download -----------> Download. Then a pop-up window is displayed in which the filepath has to be described. Save the filename in '.txt' format.