SAP Reports / Programs

WFM_SCHEDULE_DELETE SAP ABAP Report - WFM: delete schedule data







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


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 WFM_SCHEDULE_DELETE. "Basic submit
SUBMIT WFM_SCHEDULE_DELETE AND RETURN. "Return to original report after report execution complete
SUBMIT WFM_SCHEDULE_DELETE 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: 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


INCLUDES used within this REPORT WFM_SCHEDULE_DELETE

INCLUDE WFM_SH_WFM_ERMS_LOCATION.


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:

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.



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