2007 Apr 18 9:18 AM
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,
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.
2007 Apr 18 9:21 AM
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
2007 Apr 18 9:23 AM
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
2007 Apr 18 9:24 AM
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
2007 Apr 18 9:28 AM
In screens also, there is menu option to download.
Utilities->More Utilities->Download
Regards,
Ravi
2007 Apr 18 9:29 AM
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.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |