SAP Reports / Programs

WFM_SCHEDULE_MIGRATION SAP ABAP Report - migrate schedule







WFM_SCHEDULE_MIGRATION 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_MIGRATION 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_MIGRATION. "Basic submit
SUBMIT WFM_SCHEDULE_MIGRATION AND RETURN. "Return to original report after report execution complete
SUBMIT WFM_SCHEDULE_MIGRATION 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_DATE = Schedule Start Date
Selection Text: P_LOC = Location Profile
Title: migrate schedule
Text Symbol: T01 = Range for Start Date of the Schedule


INCLUDES used within this REPORT WFM_SCHEDULE_MIGRATION

INCLUDE WFM_SCHEDULE_MIGRATION_TOP.
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 = ls_seg2-partner IMPORTING ev_partner_guid = lv_partner_guid.

WFD_RES_ADD_TIMESPEC CALL FUNCTION 'WFD_RES_ADD_TIMESPEC' EXPORTING is_admin_record = ls_admin i_resource_key = lv_resource is_timespec_data = ls_timespec_data IMPORTING et_return = lt_return.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = lv_assignment_id.

WFD_ASSIGNMENT_CREATE CALL FUNCTION 'WFD_ASSIGNMENT_CREATE' EXPORTING is_admin_record = ls_admin is_assignment_data = ls_assignment IMPORTING et_invalid_resource = lt_resource et_return = lt_return.

WFD_TRANSACTION_COMMIT CALL FUNCTION 'WFD_TRANSACTION_COMMIT' IMPORTING et_return = lt_return EXCEPTIONS transaction_error = 1 OTHERS = 2.

WFD_TRANSACTION_ROLLB CALL FUNCTION 'WFD_TRANSACTION_ROLLB' 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 = 0 OTHERS = 0.



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