SAP Reports / Programs | Basis Components | Installation Tools | Content for ABAP based automated TC(BC-INS-TC-CNT) SAP BC

SCTC_REORG_EXPORT SAP ABAP Report - System Copy; Reorg PCA Exports







SCTC_REORG_EXPORT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for ..see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter SCTC_REORG_EXPORT 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 SCTC_REORG_EXPORT. "Basic submit
SUBMIT SCTC_REORG_EXPORT AND RETURN. "Return to original report after report execution complete
SUBMIT SCTC_REORG_EXPORT 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: RDIR = logical PCA Directory
Selection Text: RDELEUN = Delete unused Export Dir
Selection Text: RDELEALL = Delete all Export Dir
Title: System Copy; Reorg PCA Exports
Text Symbol: TPX = To get current PCA directory, leave input field empty
Text Symbol: TPU = Delete obsolete Exports
Text Symbol: TPS = Show all Exports
Text Symbol: TPP = Post Copy Automation Reorganization
Text Symbol: TPN = Logical Directory
Text Symbol: TPH = System Copy; Reorg PCA Exports
Text Symbol: TPE = Delete Export for component
Text Symbol: TPD = Delete all Exports
Text Symbol: 092 = No
Text Symbol: 091 = Yes
Text Symbol: 025 = PCA control file
Text Symbol: 024 = Could not delete PCA control file
Text Symbol: 023 = PCA control file deleted
Text Symbol: 022 = No PCA export directories to delete
Text Symbol: 021 = PCA Exports ok
Text Symbol: 020 = It is recommended to delete obsolete PCA exports
Text Symbol: 018 = PCA snapshot directories
Text Symbol: 017 = PCA control files
Text Symbol: 016 = Enter PCA component
Text Symbol: 014 = Time
Text Symbol: 013 = Date
Text Symbol: 012 = User
Text Symbol: 011 = Post copy automation; reorganisation of exports
Text Symbol: 010 = No obsolete PCA export directories to delete
Text Symbol: 008 = PCA directory deleted
Text Symbol: 007 = Cannot delete PCA directory; return code
Text Symbol: 006 = Directory
Text Symbol: 004 = No PCA control file found
Text Symbol: 003 = No PCA export directory found
Text Symbol: 002 = PCA refresh directory
Text Symbol: 001 = Unknown selected logical PCA directory


INCLUDES used within this REPORT SCTC_REORG_EXPORT

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:

SXPG_PROFILE_PARAMETER_GET CALL FUNCTION 'SXPG_PROFILE_PARAMETER_GET' EXPORTING parameter_name = lv_param_to_check IMPORTING parameter_value = lv_param_is_value.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' "#EC FB_OLDED IMPORTING SELECT_VALUE = selected_pca TABLES FIELDS = FIELD_TBL VALUETAB = PCA_TBL EXCEPTIONS OTHERS = 99.

SCTC_GET_ALL_COMPONENTS CALL FUNCTION 'SCTC_GET_ALL_COMPONENTS' IMPORTING et_components = lt_record.

SCTC_GET_WHITELIST CALL FUNCTION 'SCTC_GET_WHITELIST' EXPORTING i_component_name = ls_record i_action = 'R' io_msg_handler = lo_msg_handler iv_flg_check_auth = '-' IMPORTING e_whitelist = lt_oth_tables.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' "#EC FB_OLDED IMPORTING SELECT_VALUE = selected_comp TABLES FIELDS = FIELD_TBL VALUETAB = pca EXCEPTIONS OTHERS = 99.

SCTC_GET_ALL_COMPONENTS CALL FUNCTION 'SCTC_GET_ALL_COMPONENTS' IMPORTING et_components = lt_record.

SCTC_GET_WHITELIST CALL FUNCTION 'SCTC_GET_WHITELIST' EXPORTING i_component_name = ls_record i_action = 'R' io_msg_handler = lo_msg_handler iv_flg_check_auth = '-' IMPORTING e_whitelist = lt_oth_tables.

SXPG_PROFILE_PARAMETER_GET CALL FUNCTION 'SXPG_PROFILE_PARAMETER_GET' EXPORTING parameter_name = lv_param_to_check IMPORTING parameter_value = lv_param_is_value.

SXPG_PROFILE_PARAMETER_GET CALL FUNCTION 'SXPG_PROFILE_PARAMETER_GET' EXPORTING parameter_name = lv_param_to_check IMPORTING parameter_value = lv_param_is_value.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = text-tph DIAGNOSE_OBJECT = ' ' TEXT_QUESTION = popup2confirm_text TEXT_BUTTON_1 = 'Yes'(091) ICON_BUTTON_1 = ' ' TEXT_BUTTON_2 = 'No'(092) ICON_BUTTON_2 = ' ' DEFAULT_BUTTON = '2' DISPLAY_CANCEL_BUTTON = space USERDEFINED_F1_HELP = ' ' START_COLUMN = 25 START_ROW = 6 IMPORTING ANSWER = l_answer EXCEPTIONS TEXT_NOT_FOUND = 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 SCTC_REORG_EXPORT or its description.