2004 Sep 26 7:03 AM
Hello All,
Is there any standard report in SAP that downloads all the Z Custom objects/reports along with the Titles of these objects or the method of going to TRDIRT and D010SINF to get the Zobject name, title and the Program Type.
Do let me know the best method or the easiest method to achieve this.
TQ
- Sravan
Hello All,
Is there any standard report in SAP that downloads all the Z Custom objects/reports along with the Titles of these objects or the method of going to TRDIRT and D010SINF to get the Zobject name, title and the Program Type.
Do let me know the best method or the easiest method to achieve this.
TQ
- Sravan
2004 Sep 26 1:04 PM
Hi Sravan
I do not know a standard report but you may utilize some functions in the function group <b>"SEUA"</b>. For example the function module <b>"RS_GET_OBJECTS_OF_DEVCLASS"</b> gives you object types and their names included in a development class. To select development classes in your namespace, you can write a query for the table <b>"TDEVC"</b>. Or if you inspect some further, you may find some more standard way.
Hope this helps...
*--Serdar
2004 Sep 27 2:14 PM
You might try Direct Download free program, which downloadable from here: http://www.dalestech.com/ .
Peter
2004 Nov 02 12:50 AM
http://www.sap.com/community/int/forums/ShowPost.aspx?PostID=63871&SearchText=download%20program
try this prog, I tested it before.
REPORT ZBAK_UP .
TABLES : TADIR,TRDIRT.
DATA: BEGIN OF ITAB OCCURS 100,
TEXT(75),
END OF 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:\'.
SELECT * FROM TADIR INTO CORRESPONDING FIELDS OF TABLE REPNAME WHERE
OBJECT = 'PROG' AND DEVCLASS = DEVCLASS.
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'.
2004 Nov 02 4:42 AM
Hi Wang,
Thanks for the posting.
I had a look into the code that was posted and in my code i used tables TRDIRT (Title texts for programs in TRDIR)and D010SINF (Information about ABAP program)
The coding was done on the same lines as urs, only the table names change. Do you think this is the right tables, do correct me if i am wrong.
Regs,
- Sravan
2004 Nov 02 5:30 AM
I had not changed the original code from sap community forum.
It works well and run fast than my imagine. You may test this piece of program. I had never found any bugs or bad impacts.
Very short program it is!
No matter what table it uses, the important is to outcome your expected result.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |