SAP Reports / Programs | Basis Components | Use Subcomponents | Monitoring(BC-CCM-MON) SAP BC

RSPFDB_REORG SAP ABAP Report - Program RSPFDB_REORG







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


Text pool values


Title: Program RSPFDB_REORG


INCLUDES used within this REPORT RSPFDB_REORG

INCLUDE RSALPFDB.
INCLUDE RSALEXTI.


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:

SALP_SM_GET_OBJECT_TID CALL FUNCTION 'SALP_SM_GET_OBJECT_TID' EXPORTING sm_object = 'HC' "#EC NOTEXT IMPORTING OBJECT_TID = hc_tid EXCEPTIONS NO_SELFMON_NODE = 1 NO_CPH_NODE = 2 NO_COLLECTION_NODE = 3 NO_OBJECT = 4 ILLEGAL_INPUT = 5 OTHERS = 6.

SALP_SM_GET_OBJECT_TID CALL FUNCTION 'SALP_SM_GET_OBJECT_TID' EXPORTING sm_object = 'RE' "#EC NOTEXT IMPORTING OBJECT_TID = re_tid EXCEPTIONS NO_SELFMON_NODE = 1 NO_CPH_NODE = 2 NO_COLLECTION_NODE = 3 NO_OBJECT = 4 ILLEGAL_INPUT = 5 OTHERS = 6.

SALP_GET_REORG_SCHEMA_FROM_DB CALL FUNCTION 'SALP_GET_REORG_SCHEMA_FROM_DB' EXPORTING policyid = reorg_wa_old-POLICYID IMPORTING SCHEMA = reorg_wa EXCEPTIONS NOT_FOUND = 1 OTHER_ERROR = 2 OTHERS = 3 .

SALP_OPTIMIZE_REORG_SCHEME * CALL FUNCTION 'SALP_OPTIMIZE_REORG_SCHEME' * CHANGING scheme = .

SALP_GET_REORG_SCHEMA_FROM_DB CALL FUNCTION 'SALP_GET_REORG_SCHEMA_FROM_DB' EXPORTING policyid = 'SAP_DEFAULTSCHEMA' IMPORTING SCHEMA = defaultschema EXCEPTIONS NOT_FOUND = 1 OTHER_ERROR = 2 OTHERS = 3 .

SALP_READ_ALPFASSIGN CALL FUNCTION 'SALP_READ_ALPFASSIGN' EXPORTING READ_OLD_ASSIGNM = 'X' IMPORTING CRAT = crat .

SALP_GET_COLLREORG_SCHEME CALL FUNCTION 'SALP_GET_COLLREORG_SCHEME' EXPORTING sysid = ALPERFOB_WA-MTSYSID mcname = ALPERFOB_WA-MTMCNAME numrange = ALPERFOB_WA-MTNUMRANGE uid = ALPERFOB_WA-MTUID class = ALPERFOB_WA-MTCLASS mteclass = ALPERFOB_WA-MTECLASS parent_uid = ALPERFOB_WA-P_MTUID parent_mteclass = ALPERFOB_WA-PARENTCL crat = CRAT USE_PRIO = 'X' IMPORTING ASSIGNTAB = result EXCEPTIONS NO_ASSIGNMENT_FOR_TID = 1 OTHERS = 2 .

SALP_AGGREG_CHECK_AND_DO CALL FUNCTION 'SALP_AGGREG_CHECK_AND_DO' EXPORTING in_object = ALPERFDB_WA reorgschema = reorg_wa LOADTABLE = ' ' IMPORTING OLDENOUGH = oldenough " 'N' -> not all wanted aggregations done !! Don't set Del-Flag in this case ! tables perfdb_data = ALPERFDB_ITAB .

SALP_CREATE_COLL_TABLE CALL FUNCTION 'SALP_CREATE_COLL_TABLE' EXPORTING sysid = '*' * TEST_OBJECT_TIDS = 'X' * CHECK_BATCH_JOBS = 'X' * REFRESH = ' ' SYSID_SRC = sytar EXCEPTIONS BATCH_JOB_ERROR = 1 TABLE_IN_USE = 2 OTHERS = 3 .

SALP_SM_MESSAGE CALL FUNCTION 'SALP_SM_MESSAGE' EXPORTING msg_to_send = ' ' MSG_NO = '100' "#EC NOTEXT COLOR = 'Y' TYP = 'R' parent_tid = hc_tid EXCEPTIONS WRONG_TYP = 1 REPORT_MESSAGE_ERROR = 2 NO_ATTRIB = 3 OTHERS = 4.

SALP_SM_DATE_TIME_MSG CALL FUNCTION 'SALP_SM_DATE_TIME_MSG' EXPORTING sm_object = 'RE' "#EC NOTEXT parent_tid = re_tid start_date = da_s start_time = ti_s end_date = da_e end_time = ti_e EXCEPTIONS REPORT_MESSAGE_ERROR = 1 NO_ATTRIB = 2 ILLEGAL_INPUT = 3 OTHERS = 4.

SALP_SM_CALC_TIME_DIFFERENCE CALL FUNCTION 'SALP_SM_CALC_TIME_DIFFERENCE' EXPORTING date_1 = da_s time_1 = ti_s date_2 = da_e time_2 = ti_e IMPORTING SECONDS = summe.

SALP_SM_PERF_RUNTIME CALL FUNCTION 'SALP_SM_PERF_RUNTIME' EXPORTING sm_object = 'RE' "#EC NOTEXT * SYSID_OR_APPLSRV = parent_tid = re_tid runtime_value = summe EXCEPTIONS NO_ATTRIB = 1 EMPTY_INPUT = 2 ILLEGAL_INPUT = 3 ERROR_REPORTING_VALUE = 4 OTHERS = 5.

SALP_SM_PERF_COUNT CALL FUNCTION 'SALP_SM_PERF_COUNT' EXPORTING sm_object = 'RE' "#EC NOTEXT * SYSID_OR_APPLSRV = parent_tid = re_tid count_value = summe EXCEPTIONS EMPTY_INPUT = 1 NO_ATTRIB = 2 ERROR_REPORTING_VALUE = 3 ILLEGAL_INPUT = 4 OTHERS = 5.

SALP_SM_PERF_COUNT CALL FUNCTION 'SALP_SM_PERF_COUNT' EXPORTING sm_object = 'RD' "#EC NOTEXT * SYSID_OR_APPLSRV = parent_tid = re_tid count_value = summe EXCEPTIONS EMPTY_INPUT = 1 NO_ATTRIB = 2 ERROR_REPORTING_VALUE = 3 ILLEGAL_INPUT = 4 OTHERS = 5.

SALP_SM_SET_DATASUPPLIER CALL FUNCTION 'SALP_SM_SET_DATASUPPLIER' * IMPORTING * TID = EXCEPTIONS NO_ATTRIB = 1 NO_OBJECT = 2 OTHERS = 3.

SALP_CALC_DATE CALL FUNCTION 'SALP_CALC_DATE' EXPORTING in_rectype = rectype in_nbr_dwxmqy = nbr in_date = in_date IMPORTING OUT_DATE = killdate * EXCEPTIONS * OTHER_ERROR = 1 * OTHERS = 2 .

SALP_CALC_DATE CALL FUNCTION 'SALP_CALC_DATE' EXPORTING in_rectype = rectype in_nbr_dwxmqy = nbr in_date = in_date IMPORTING OUT_DATE = deldate * EXCEPTIONS * OTHER_ERROR = 1 * OTHERS = 2 .

SALP_ENTRY_FILL_GAPS





CALL FUNCTION 'SALP_ENTRY_FILL_GAPS' EXPORTING in_tid = tid in_object = obj rectype = rectype COLL_TIMEZONE = reorg_wa-coll_timezone * TO_DATE = '00000000' * TO_TIME = '000000' EXCEPTIONS DB_ERROR = 1 OTHERS = 2 .



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