SAP Reports / Programs | Basis Components | Use Subcomponents | Archive Information System(BC-CCM-ADK-AS) SAP BC

ASCORR02 SAP ABAP Report - Correction Program Archive Information System







ASCORR02 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 ASCORR02 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT ASCORR02. "Basic submit
SUBMIT ASCORR02 AND RETURN. "Return to original report after report execution complete
SUBMIT ASCORR02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: DETAILS = Details
Selection Text: TESTRUN = Test Run
Title: Correction Program Archive Information System
Text Symbol: 001 = Infostructure
Text Symbol: 002 = Active
Text Symbol: 003 = Generated Table
Text Symbol: 004 = Generated Program
Text Symbol: 005 = Status
Text Symbol: 006 = Incorrect
Text Symbol: 007 = OK
Text Symbol: 008 = Inconsistent Data Deleted, OK
Text Symbol: 009 = No incorrect archive info structures found with this inspection


INCLUDES used within this REPORT ASCORR02

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING wi_delete_tadir_entry = 'X' wi_test_modus = space wi_tadir_pgmid = 'R3TR' wi_tadir_object = 'ASIS' wi_tadir_obj_name = lv_tadir_obj_name.

DD_EXIST_TABLE CALL FUNCTION 'DD_EXIST_TABLE' EXPORTING tabname = im_infostruc-gentab status = lv_all IMPORTING subrc = l_subrc.

DD_TABL_DEL CALL FUNCTION 'DD_TABL_DEL' EXPORTING tabname = im_infostruc-gentab del_state = lv_all EXCEPTIONS OTHERS = 1.

TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING wi_delete_tadir_entry = lv_set wi_test_modus = lv_not_set wi_tadir_pgmid = lv_tadir_pgmid_r3tr wi_tadir_object = lv_tadir_object_tabl wi_tadir_obj_name = lv_tadir_obj_name1 EXCEPTIONS OTHERS = 0.

RSS_PROGRAM_DELETE CALL FUNCTION 'RSS_PROGRAM_DELETE' EXPORTING i_uni_idc25 = im_infostruc-progid i_program_class = 'AIND_LIST' i_no_commit = 'X' EXCEPTIONS deletion_rejected = 2.

AS_STATUS_SET CALL FUNCTION 'AS_STATUS_SET' EXPORTING i_archindex = -archindex i_archivekey = -archivekey i_status = space.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name ASCORR02 or its description.