SAP Reports / Programs | Cross-Application Components | General Application Functions | Workforce Management Application(CA-GTF-WFA) SAP CA

WFAI_EMPLOYEE_MAINT_ROUTINES SAP ABAP INCLUDE - Include WFAI_EMPLOYEE_MAINT_ROUTINES







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


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 WFAI_EMPLOYEE_MAINT_ROUTINES. "Basic submit
SUBMIT WFAI_EMPLOYEE_MAINT_ROUTINES AND RETURN. "Return to original report after report execution complete
SUBMIT WFAI_EMPLOYEE_MAINT_ROUTINES VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include WFAI_EMPLOYEE_MAINT_ROUTINES


INCLUDES used within this REPORT WFAI_EMPLOYEE_MAINT_ROUTINES

No INCLUDES are used within this REPORT code!


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:

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.



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