STC_SC_UI_COMMON_CLEANUP is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Use this task to delete source system entries from the following tables: ABAP basis tables Tables
If you would like to execute this report or see the full code listing simply enter STC_SC_UI_COMMON_CLEANUP into the relevant SAP transactions such as SE38 or SE80
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: LS_TAB = Filter for Table Cleanup
Selection Text: PDC_ADDI = Additional Information
Title: System Copy: Task Manager UI for Common ABAP Table Cleanup
Text Symbol: IF1 = BAdI Info: No Customer BAdI is implemented
Text Symbol: IF2 = BAdI Info: Not able to determine BAdI implementation
Text Symbol: IF3 = Reason:
Text Symbol: P01 = Additional Information for Customer Exit
Text Symbol: P02 = Filter for Table Cleanup (Component: OTHERS)
Text Symbol: TM1 = NOTE: Execution is done with Task Manager (transaction STC01)
INCLUDE SCTC_SC_INCL_COMPONENTS.
No SAP DATABASE tables are accessed within this REPORT code!
SCTC_REFRESH_GET_DIR_COMP CALL FUNCTION 'SCTC_REFRESH_GET_DIR_COMP' EXPORTING dir_export = lv_dir_refresh component = 'CUSTOMER' IMPORTING subrc = lv_rc export_timestamp = lv_time TABLES e_tab_return = lt_return.
SCTC_REFRESH_GET_COMPONENT CALL FUNCTION 'SCTC_REFRESH_GET_COMPONENT' EXPORTING component = lv_customer IMPORTING subrc = lv_subrc.
SCTC_GET_WHITELIST CALL FUNCTION 'SCTC_GET_WHITELIST' EXPORTING i_component_name = cv_others i_action = cv_truncate io_msg_handler = lo_msg_handler iv_flg_check_auth = '-' IMPORTING e_whitelist = lt_oth_tables.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'TABNAME' dynpprog = sy-cprog dynpnr = sy-dynnr dynprofield = 'LS_TAB-LOW' value_org = 'S' TABLES value_tab = lt_value_tab return_tab = lt_return_tab EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.
SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING program = lv_program restriction = ls_restrict EXCEPTIONS too_late = 1 repeated = 2 selopt_without_options = 3 selopt_without_signs = 4 invalid_sign = 5 empty_option_list = 6 invalid_kind = 7 repeated_kind_a = 8 OTHERS = 9.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
STC_SC_UI_COMMON_CLEANUP - System Copy: Task Manager UI for Common ABAP Table Cleanup STC_SC_UI_COMMON_CLEANUP - System Copy: Task Manager UI for Common ABAP Table Cleanup STC_SC_UI_BDLS - System Copy: Task Manager UI for Conversion of BDLS STC_SC_UI_BDLS - System Copy: Task Manager UI for Conversion of BDLS STC_SC_UI_BATCH_CLEANUP - Program STC_SC_UI_BATCH_REFRESH STC_SC_UI_BATCH_CLEANUP - Program STC_SC_UI_BATCH_REFRESH