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 copy programs!

Former Member
0 Likes
769

We are deleting some programs..from our SAP system. However we got instructions to copy those programs into common folder.

How can I copy ?

Is word is suggestable ?

Incase of module pool programs... how can I copy them ( screen...etc )

Experts, could you please suggest me ?

Regards,

5 REPLIES 5
Read only

Former Member
0 Likes
646

Open the editor, then Utilities > More Utilties > Upload/Download > Download.

Unfortuanately, you would have to do this for each of the includes.

For the screens, maybe you could take a screen shot and store the same?

Hope this helps.

Sudha

Read only

Former Member
0 Likes
646

Hi,

Just right click anywhere in the program. There u will get one option as "Save as local file". Click on that and give name to file. and save.

U can open this file in any of the editor. e.g notepad, word, etc

Rgds,

Prakash

Read only

Former Member
0 Likes
646

Hi,

U can use the program REPTRAN to download the programs and Function Modules to the disk. Module Pool Programs can also be easily downloaded using this.

Regards,

Himanshu

Read only

Former Member
0 Likes
646

In screens also, there is menu option to download.

Utilities->More Utilities->Download

Regards,

Ravi

Read only

Former Member
0 Likes
646

Hello,

I have the program which will download all the program of the particular user in text format.

Following is the report.

REPORT ZTNEEL_DOWNLOAD_PROG .

TABLES : tadir,trdirt.

DATA: BEGIN OF itab OCCURS 100,

text(75),

END OF itab.

data:progname type itab.

DATA: BEGIN OF repname OCCURS 10,

obj_name LIKE tadir-obj_name,

END OF repname.

PARAMETERS : devclass LIKE tadir-devclass,

dirname(50) DEFAULT 'C:\',

author like tadir-author.

insert progname into repname.

modify repname.

DATA name LIKE rlgrap-filename.

LOOP AT repname.

READ REPORT repname-obj_name INTO itab.

****Get report title

SELECT SINGLE * FROM trdirt WHERE name EQ repname-obj_name

AND sprsl = 'E'.

CONCATENATE '*' trdirt-text INTO trdirt-text.

INSERT trdirt-text INTO itab INDEX 1.

CONCATENATE dirname '\' repname-obj_name '.txt'

INTO name.

*exit.

CALL FUNCTION 'WS_DOWNLOAD'

EXPORTING

filename = name

TABLES

data_tab = itab

EXCEPTIONS

file_open_error = 1

file_write_error = 2

invalid_filesize = 3

invalid_table_width = 4

invalid_type = 5

no_batch = 6

unknown_error = 7

gui_refuse_filetransfer = 8

OTHERS = 9.

ENDLOOP.

MESSAGE i002(sy) WITH 'All the reports transfered Succefully'.

in selection screen you have to pass Userid and the path in which you want to download the programs.

Regards,

Neelambari.