RUSH12RD is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter RUSH12RD into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
SU87 - Read Authorization Change Documents
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: ARCHIVE = SAP Archive Key
Selection Text: AUTH = D .
Selection Text: MODDA = D .
Selection Text: OBJCT = D .
Title: Read Archive File with Documents for Authorizations
Text Symbol: 700 = Cl.
Text Symbol: 701 = Object
Text Symbol: 702 = Authorization
Text Symbol: 703 = Date
Text Symbol: 704 = Time
Text Symbol: 705 = Changed By
Text Symbol: 706 = Field
Text Symbol: 707 = From (value)
Text Symbol: 708 = To (value)
Text Symbol: 730 = Created
Text Symbol: 731 = Modified
Text Symbol: 732 = Deleted
INCLUDE MS01CTCO.
No SAP DATABASE tables are accessed within this REPORT code!
AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'SU87' EXCEPTIONS ok = 0 not_ok = 1 OTHERS = 2.
ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING object = gc_arc_obj IMPORTING archive_handle = handle EXCEPTIONS others = 1 .
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = handle EXCEPTIONS END_OF_FILE = 01 FILE_IO_ERROR = 02 INTERNAL_ERROR = 03 OPEN_ERROR = 04 wrong_access_to_archive = 05.
ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING archive_handle = handle IMPORTING record = ls_ush12 EXCEPTIONS end_of_object = 01 INTERNAL_ERROR = 02 wrong_access_to_archive = 03.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = handle EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RUSH12RD - Read Archive File with Documents for Authorizations RUSH12RD - Read Archive File with Documents for Authorizations RUSH12DE - Archive Documents for Authorizations from Table USH12: Deletion Prog. RUSH12DE - Archive Documents for Authorizations from Table USH12: Deletion Prog. RUSH12AC - Archive Change Documents for Authorizations RUSH12AC - Archive Change Documents for Authorizations