WFM_SCHEDULE_DELETE 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 WFM_SCHEDULE_DELETE 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_LOC = D .
Title: WFM: delete schedule data
Text Symbol: 001 = Timespec
Text Symbol: 002 = Assignment
Text Symbol: 003 = Resource
Text Symbol: T01 = Delete Schedules
Text Symbol: T02 = Schedule Start / End Date
INCLUDE WFM_SH_WFM_ERMS_LOCATION.
No SAP DATABASE tables are accessed within this REPORT code!
OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = ls_admin-logsys EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2.
BUPA_NUMBERS_GET CALL FUNCTION 'BUPA_NUMBERS_GET' EXPORTING iv_partner =
-partner IMPORTING ev_partner_guid = lv_resource TABLES et_return = lt_return.
WFD_RES_DEL_TIMESPC CALL FUNCTION 'WFD_RES_DEL_TIMESPC' EXPORTING is_admin_record = ls_admin i_resource_key = lv_resource_ts i_timespec_key =
-shift_seg_id IMPORTING et_invalid_resources = lt_invalid_r et_invalid_timespecs = lt_invalid_t et_return = lt_return.
WFD_ASSIGNMENT_DELETE CALL FUNCTION 'WFD_ASSIGNMENT_DELETE' EXPORTING is_admin_record = ls_admin it_assignment_keys = lt_assignments IMPORTING et_invalid_assignment_keys = lt_invalid et_return = lt_return.
WFD_TRANSACTION_COMMIT * CALL FUNCTION 'WFD_TRANSACTION_COMMIT' * IMPORTING * et_return = lt_return * EXCEPTIONS * transaction_error = 0 * OTHERS = 0.
WFD_TRANSACTION_ROLLB * CALL FUNCTION 'WFD_TRANSACTION_ROLLB' * IMPORTING * et_return = lt_return * EXCEPTIONS * transaction_error = 1 * OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.