WFAI_EMPLOYEE_MAINT_ROUTINES is a standard ABAP INCLUDE 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 WFAI_EMPLOYEE_MAINT_ROUTINES 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: Include WFAI_EMPLOYEE_MAINT_ROUTINES
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
WFA_AGT_ORG_DB_ADD CALL FUNCTION 'WFA_AGT_ORG_DB_ADD' EXPORTING it_agt_org = lt_agt_org IMPORTING et_keys = lt_agt_org_keys et_return = lt_return.
WFA_AGT_ORG_DB_CHANGE CALL FUNCTION 'WFA_AGT_ORG_DB_CHANGE' EXPORTING it_agt_org = lt_agt_org IMPORTING et_keys = lt_agt_org_keys et_return = lt_return.
WFA_AGT_ORG_DB_ADD CALL FUNCTION 'WFA_AGT_ORG_DB_ADD' EXPORTING it_agt_org = lt_agt_org IMPORTING et_keys = lt_agt_org_keys et_return = lt_return.
WFA_AGT_ORG_DB_CHANGE CALL FUNCTION 'WFA_AGT_ORG_DB_CHANGE' EXPORTING it_agt_org = lt_agt_org IMPORTING et_keys = lt_agt_org_keys et_return = lt_return.
CHECK_EXIST_LIMU_FUNC CALL FUNCTION 'CHECK_EXIST_LIMU_FUNC' EXPORTING name = 'CRM_ERMS_RPT_DATA_DOWNLOAD' aggname = ' ' IMPORTING exist = lv_crm_flag.
CHECK_EXIST_LIMU_FUNC CALL FUNCTION 'CHECK_EXIST_LIMU_FUNC' EXPORTING name = 'HR_CENTRALPERSON_GET_NUMBERS' aggname = ' ' IMPORTING exist = lv_erp_flag.
RH_STRUC_GET CALL FUNCTION 'RH_STRUC_GET' EXPORTING act_otype = 'CP' act_objid = pv_person act_wegid = lv_wegid act_begda = lv_start_date act_endda = lv_end_date act_tdepth = 3 act_tflag = ' ' act_vflag = ' ' authority_check = ' ' TABLES result_struc = lt_result_struc EXCEPTIONS no_plvar_found = 1 no_entry_found = 2 OTHERS = 3.
RH_STRUC_GET CALL FUNCTION 'RH_STRUC_GET' EXPORTING act_otype = 'P' act_objid = employee act_wegid = lv_wegid act_begda = lv_start_date act_endda = lv_end_date act_tdepth = 3 act_tflag = ' ' act_vflag = ' ' authority_check = ' ' TABLES result_struc = lt_result_struc EXCEPTIONS no_plvar_found = 1 no_entry_found = 2 OTHERS = 3.
RH_STRUC_GET CALL FUNCTION 'RH_STRUC_GET' EXPORTING act_otype = 'BP' act_objid = partner act_wegid = lv_wegid act_begda = lv_start_date act_endda = lv_end_date act_tdepth = 3 act_tflag = ' ' act_vflag = ' ' authority_check = ' ' TABLES result_struc = lt_result_struc EXCEPTIONS no_plvar_found = 1 no_entry_found = 2 OTHERS = 3.
RH_STRUC_GET CALL FUNCTION 'RH_STRUC_GET' EXPORTING act_otype = 'S' act_objid =
-objid act_wegid = lv_wegid act_begda = -sbegd act_endda = -sendd authority_check = ' '
IMPORTING act_plvar = s_act_plvar TABLES result_tab = t_result_tab result_objec = t_result_objec result_struc = t_result_struc EXCEPTIONS no_plvar_found = 0 no_entry_found = 0 OTHERS = 0.
RH_STRUC_GET CALL FUNCTION 'RH_STRUC_GET' EXPORTING act_otype = s_result_tab-otype act_objid = s_result_tab-objid act_wegid = lv_wegid act_begda =
-sbegd act_endda = -sendd authority_check = ' ' IMPORTING act_plvar = s_act_plvar TABLES result_tab = torg_result_tab result_objec = torg_result_objec result_struc = torg_result_struc EXCEPTIONS no_plvar_found = 0 no_entry_found = 0 OTHERS = 0. "#EC NOTEXT
GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = temp_guid.
WFA_AGT_DB_CHANGE CALL FUNCTION 'WFA_AGT_DB_CHANGE' EXPORTING it_agt = lt_agt IMPORTING et_return = lt_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.
WFAI_EMPLOYEE_MAINT_ROUTINES - Include WFAI_EMPLOYEE_MAINT_ROUTINES WFAI_DB_UTILS - Include WFMI_DB_UTILS WFAI_DATE_TIME - Date and time routines WFAI_COMMON_SUBROUTINES - Program WFMI_POPULATE_BAPIRET2 WFAI_CDI_ROUTINES - Include WFMI_CDI_ROUTINES WFAI_BUPA_SUBROUTINES - Include WFMI_BUPA_SUBROUTINES