WFA_31_MIGRATION is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Describes the migration program used when upgrading from WFM 3...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 WFA_31_MIGRATION 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: B_NONED = Workrule Template Readonly
Selection Text: B_RMROT = Remove Employees' Rotations
Title: Program WFA_31_MIGRATION
Text Symbol: 001 = Contact SAP before executing this program
Text Symbol: 002 = Some of WFM data in the current client might be overwritten !!!
Text Symbol: 003 = You need SAP_ALL authorization to be able to execute this program
Text Symbol: F01 = ATTENTION
Text Symbol: F02 = Selection
Text Symbol: P01 = Data in current client might be overwritten
Text Symbol: P02 = Do you really want to execute the migration program
Text Symbol: P03 = Yes
Text Symbol: P04 = No
Text Symbol: SNM = Open End
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SUSR_USER_PROFS_PROFILES_GET CALL FUNCTION 'SUSR_USER_PROFS_PROFILES_GET' EXPORTING user_name = sy-uname TABLES user_profiles = lt_profile EXCEPTIONS user_name_not_exist = 1 OTHERS = 2.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-p01 text_question = text-p02 text_button_1 = text-p03 text_button_2 = text-p04 default_button = '2' display_cancel_button = ' ' start_column = 20 start_row = 10 IMPORTING answer = lv_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = lv_string i_processed = lv_objects_processed i_total = lv_total_of_objects IMPORTING e_progress_sent = lv_progress_send.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'. "otherwise message will not appear in the job-log
WFA_SCHED_RULES_GET_PERM CALL FUNCTION 'WFA_SCHED_RULES_GET_PERM' EXPORTING io_partner = lo_emp IMPORTING es_rotation_set = ls_rot_set et_rotation = lt_rotation es_return = ls_return.
WFA_SCHED_RULES_DB_GET CALL FUNCTION 'WFA_SCHED_RULES_DB_GET' EXPORTING io_emp = lo_emp iv_effective_date = ls_rotation-effective_on iv_workrule_set_id = ls_rotation-workrule_set_id iv_avail_id = '' iv_set_shift_id = '' iv_pref_id = '' iv_load_workrules = 'X' iv_temp_data = '' iv_wkrl_temp_id = ls_rotation-wrkrl_tmpl_id IMPORTING et_workrules = lt_workrules es_return = ls_return.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
WFA_31_MIGRATION - Program WFA_31_MIGRATION WFA_31_MIGRATION - Program WFA_31_MIGRATION WFAV_WKRL_DEF_MAINTAIN - Program WFMV_WKRL_DEF_MAINTAIN WFAV_WKRL_DEF_MAINTAIN - Program WFMV_WKRL_DEF_MAINTAIN WFATM_TEMP_SCHEDRULE_GET======FT - WFATMTEMPSCHEDRULEGET======FT WFATM_SRESS_EE_GETLIST========FT - WFATMSRESSEEGETLIST========FT