SAP Reports / Programs | Basis Components | Upgrade - General(BC-UPG) SAP BC

RDDPURI2 SAP ABAP Report - Repository Switch: Tool Report for Cleaning Up







RDDPURI2 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 RDDPURI2 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 RDDPURI2. "Basic submit
SUBMIT RDDPURI2 AND RETURN. "Return to original report after report execution complete
SUBMIT RDDPURI2 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Repository Switch: Tool Report for Cleaning Up


INCLUDES used within this REPORT RDDPURI2

INCLUDE RSUGSINC.


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:

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING l_level = l_level l_severity = severity l_msag = ag l_msgnr = msgnr l_v1 = l_var1 l_v2 = l_var2 l_v3 = l_var3 l_v4 = l_var4 TABLES p_tab = gt_protocol.

STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING dirtype = lc_acttype filename = gv_logfile subdir = gc_subprot IMPORTING file = gv_protfile EXCEPTIONS wrong_call = 1 OTHERS = 2.

SUBST_WRITE_PROTOCOL CALL FUNCTION 'SUBST_WRITE_PROTOCOL' EXPORTING acttype = gc_acttype ifname = gv_protfile IMPORTING efname = gv_protfile TABLES p_tab = gt_protocol EXCEPTIONS write_failed = 01 OTHERS = 02.

UPG_GET_UPGRADE_INFO CALL FUNCTION 'UPG_GET_UPGRADE_INFO' EXPORTING iv_component = '*' "lv_component iv_newrelease = ' ' iv_upgtype = '*' iv_readmode = gc_readmode_last * iv_comp_select = 'A' iv_buffered = ' ' IMPORTING ev_upgcnt = lv_nactup TABLES tt_upginfo = gt_uvers EXCEPTIONS readmode_unknown = 1 component_not_active = 2 ambigious_entries = 3 no_upgrade_active = 4 OTHERS = 5.

UPG_GET_SINGLE_PARAMETER CALL FUNCTION 'UPG_GET_SINGLE_PARAMETER' EXPORTING name = 'EHP_INSTALLER' IMPORTING ev_value = lv_ehpinstaller EXCEPTIONS OTHERS = 0.

DB_EXISTS_TABLE CALL FUNCTION 'DB_EXISTS_TABLE' EXPORTING tabname = 'CLU4' IMPORTING subrc = lv_subrc.

DB_DROP_TABLE CALL FUNCTION 'DB_DROP_TABLE' EXPORTING tabname = 'CLU4' EXCEPTIONS OTHERS = 0.

DB_EXISTS_TABLE CALL FUNCTION 'DB_EXISTS_TABLE' EXPORTING tabname = 'VER_CLUSTR' IMPORTING subrc = lv_subrc.

DB_DROP_TABLE CALL FUNCTION 'DB_DROP_TABLE' EXPORTING tabname = 'VER_CLUSTR' EXCEPTIONS OTHERS = 0.

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = 'MEMGMT_DEPLOYMNT' state = 'A' TABLES dd12v_tab = dd12v_tab EXCEPTIONS OTHERS = 1.

DD_INDX_DEL CALL FUNCTION 'DD_INDX_DEL' EXPORTING sqltab = 'MEMGMT_DEPLOYMNT' indexname = '001' del_state = 'A' IMPORTING rc = ld_rc.

SPDA_GET_EXTENDED_UPG_INFO CALL FUNCTION 'SPDA_GET_EXTENDED_UPG_INFO' EXPORTING get_all = 'X' IMPORTING ev_rc = ld_rc TABLES et_compinfo = lt_compinfo.

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = 'DESTLOG' state = 'M' TABLES dd12v_tab = dd12v_tab EXCEPTIONS OTHERS = 1.

DD_INDX_DEL CALL FUNCTION 'DD_INDX_DEL' EXPORTING sqltab = 'DESTLOG' indexname = '1' del_state = 'N' IMPORTING rc = ld_rc.

UPG_GET_SINGLE_PARAMETER CALL FUNCTION 'UPG_GET_SINGLE_PARAMETER' EXPORTING name = 'ITERATIVE_UPGRADE' IMPORTING ev_value = lv_iterative_upgrade EXCEPTIONS OTHERS = 0.

DROP_UPG_TRIGGER CALL FUNCTION 'DROP_UPG_TRIGGER' IMPORTING et_dropped_triggers = lt_dropped_trigger EXCEPTIONS implemention_missing = 1 OTHERS = 2.

DROP_CRR_LOGTABS CALL FUNCTION 'DROP_CRR_LOGTABS' IMPORTING et_dropped_tables = lt_dropped_logtabs et_not_dropped_tables = lt_not_dropped_logtabs. "##ARG_OK

DB_TRUNCATE_TABLE CALL FUNCTION 'DB_TRUNCATE_TABLE' EXPORTING tabname = lv_tabname.

DELIVERY_CHCK_ACTIVE_COMPONENT





CALL FUNCTION 'DELIVERY_CHCK_ACTIVE_COMPONENT' EXPORTING iv_compname = 'SAP_BASIS' iv_sub_compname = 'MOBILE' IMPORTING ev_active = lv_active EXCEPTIONS comp_not_found = 1 OTHERS = 2.

DD_TABL_DEL CALL FUNCTION 'DD_TABL_DEL' EXPORTING tabname = 'ZDOESR_FLD_R000' del_state = 'M'.



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 RDDPURI2 or its description.