WFA_EMPL_ORG_SYNC 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 WFA_EMPL_ORG_SYNC 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.
Title: WFM Employee and Organization Synchronization
Text Symbol: S05 = Organizational Unit
Text Symbol: S04 = No employee found for the selection criteria
Text Symbol: S03 = Shared employees cannot be adjusted
Text Symbol: S02 = Synchronize employees and adjust database
Text Symbol: S01 = Employee Number :
Text Symbol: M07 = Invalid segments exist for this employee (can be fixed)
Text Symbol: M06 = Invalid shift segments have been deleted
Text Symbol: M05 = Inconsistencies fixed successfully
Text Symbol: M04 = Inconsistencies detected, but can be fixed
Text Symbol: M03 = No problems detected
Text Symbol: M02 = Org Management needs to be maintained correctly
Text Symbol: M01 = Org Management: Assignment start date is greater then end date
Text Symbol: F01 = Selection
Text Symbol: A05 = Organizational Assignments
Text Symbol: A04 = Message
Text Symbol: A03 = Organization
Text Symbol: A02 = Partner
Text Symbol: A01 = Status
Text Symbol: 005 = Employee is not assigned to a WFM organization, data removed from WFM
Text Symbol: 004 = Employee is not assigned to a WFM organization, data will be removed from WFM
Text Symbol: 003 = Employee:
Text Symbol: 002 = Error while getting employee relationships for partner
Text Symbol: 001 = Error while getting central person for partner
INCLUDE WFA_EMPL_ORG_SYNC_TOP.
No SAP DATABASE tables are accessed within this REPORT code!
CHECK_EXIST_LIMU_FUNC CALL FUNCTION 'CHECK_EXIST_LIMU_FUNC' EXPORTING name = 'CRM_ERMS_RPT_DATA_DOWNLOAD' aggname = ' ' IMPORTING exist = lv_crm_flag.
WFA_AGT_DB_CLEANUP CALL FUNCTION 'WFA_AGT_DB_CLEANUP' EXPORTING iv_partner =
-partner iv_org_objid = lv_init_org "always initial..only one partner at a time.
WFA_SHIFT_DELETE CALL FUNCTION 'WFA_SHIFT_DELETE' EXPORTING io_org = lo_org iv_partner =
-partner iv_start_date = ls_seg-charge_date iv_end_date = lv_date.
WFA_SHIFT_DELETE CALL FUNCTION 'WFA_SHIFT_DELETE' EXPORTING io_org = lo_org iv_partner =
-partner iv_start_date = ls_seg-charge_date iv_end_date = lv_date.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING is_layout = ls_layout it_fieldcat = lt_fieldcat TABLES t_outtab = lt_alv EXCEPTIONS program_error = 0 OTHERS = 0.
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_EMPL_ORG_SYNC - WFM Employee and Organization Synchronization WFA_EMPL_ORG_SYNC - WFM Employee and Organization Synchronization WFA_EMPLOYEE_QUALIFICATION_GETFT - WFAEMPLOYEEQUALIFICATIONGETFT WFA_DOWNLOAD_TOR - Download time-off requests from the HCM system WFA_DOWNLOAD_TOR - Download time-off requests from the HCM system WFA_DEBUG_MACRO - Include WFM_DEBUG_MACRO