FOPC_SCHEDULE_REORG is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for After you have reorganized cases and workflows, you can use this program to delete the corresponding scheduling as well...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 FOPC_SCHEDULE_REORG 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: P_TASK = Task
Selection Text: P_TF = D .
Selection Text: P_YEAR = D .
Selection Text: S_OUNIT = D .
Title: Clear Scheduling
Text Symbol: 001 = Task
Text Symbol: 002 = Timeframe
Text Symbol: 003 = Organizational Unit
Text Symbol: 010 = Yes
Text Symbol: 011 = No
Text Symbol: 012 = Executing could produce inconsistent data. Do you still want to continue?
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'p_task' values = gt_task.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = l_report_name i_callback_user_command = 'CALL_UCOMM_WILIST' i_callback_pf_status_set = 'CALL_STATUS' is_layout = is_layout it_fieldcat = field_lst it_sort = it_sort i_buffer_active = 'X' i_bypassing_buffer = '' it_events = lt_events[] TABLES t_outtab = lt_schedule_alv EXCEPTIONS OTHERS = 1.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = structure_name i_buffer_active = 'X' i_bypassing_buffer = '' CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = 'Delete?'(012) text_button_1 = 'Ja'(010) icon_button_1 = 'ICON_DELETE' text_button_2 = 'Nein'(011) default_button = '2' display_cancel_button = ' ' IMPORTING answer = l_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = rt_events.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.
RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = l_repid TABLES selection_table = lt_selection_table.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
FOPC_SCHEDULE_REORG - Clear Scheduling FOPC_SCHEDULE_REORG - Clear Scheduling FOPC_SCHEDULE_COPY - Copy Central Scheduling Settings for New Organizational Units FOPC_SCHEDULE_COPY - Copy Central Scheduling Settings for New Organizational Units FOPC_RHDEL_PD_TABLES - Delete HR Table Entries Delivered by Mistake FOPC_RHDEL_PD_TABLES - Delete HR Table Entries Delivered by Mistake