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

WFAI_ORGTREE_SUBROUTINES SAP ABAP INCLUDE - Include WFMI_ORGTREE_SUBROUTINES







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


INCLUDES used within this REPORT WFAI_ORGTREE_SUBROUTINES

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:

RH_READ_INFTY_1001 CALL FUNCTION 'RH_READ_INFTY_1001' EXPORTING authority = 'DISP' with_stru_auth = 'X' plvar = lv_plan_version otype = lv_org_otype objid = lv_org_objid * ISTAT = ' ' extend = 'X' subty = 'A002' begda = lv_start_date endda = lv_end_date sort = 'X' TABLES i1001 = lt_table EXCEPTIONS nothing_found = 1 wrong_condition = 2 wrong_parameters = 3 OTHERS = 4.

WFA_BUPA_GET_NAME CALL FUNCTION 'WFA_BUPA_GET_NAME' EXPORTING iv_partner = lv_partner IMPORTING ev_partner_name = -ltext EXCEPTIONS invalid_bupa = 0 OTHERS = 0.

RH_READ_INFTY_1001 CALL FUNCTION 'RH_READ_INFTY_1001' EXPORTING authority = 'DISP' with_stru_auth = 'X' plvar = lv_plan_version otype = lv_org_otype objid = lv_org_objid * istat = 'X' extend = 'X' subty = 'B207' begda = lv_start_date endda = lv_end_date sort = 'X' TABLES i1001 = lt_table EXCEPTIONS nothing_found = 1 wrong_condition = 2 wrong_parameters = 3 OTHERS = 4.

RH_READ_INFTY_1001 CALL FUNCTION 'RH_READ_INFTY_1001' EXPORTING authority = 'DISP' with_stru_auth = 'X' plvar = lv_plan_version otype = lv_org_otype objid = lv_org_objid * istat = ' ' extend = 'X' begda = lv_start_date endda = lv_end_date sort = 'X' TABLES i1001 = lt_table EXCEPTIONS nothing_found = 1 wrong_condition = 2 wrong_parameters = 3 OTHERS = 4.

WFA_BUPA_GET_NAME CALL FUNCTION 'WFA_BUPA_GET_NAME' EXPORTING iv_partner = lv_partner IMPORTING ev_partner_name = ls_composite_org-ltext EXCEPTIONS invalid_bupa = 1 OTHERS = 2.

RH_READ_INFTY_1000 CALL FUNCTION 'RH_READ_INFTY_1000' EXPORTING authority = 'DISP' with_stru_auth = 'X' plvar = lv_plan_version otype = ls_composite_org-org_otype objid = ls_composite_org-org_objid * istat = 'X' extend = 'X' begda = ls_composite_org-begda endda = ls_composite_org-endda sort = 'X' TABLES i1000 = lt_table EXCEPTIONS nothing_found = 1 wrong_condition = 2 wrong_parameters = 3 OTHERS = 4.

WFA_ORG_GETDETAILS CALL FUNCTION 'WFA_ORG_GETDETAILS' EXPORTING iv_org_objid = ls_workarea-org_objid iv_org_otype = ls_workarea-org_otype iv_effdate = lv_effdate IMPORTING es_org = ls_wfm_org.

WFA_ORG_NODES_GETLIST CALL FUNCTION 'WFA_ORG_NODES_GETLIST' EXPORTING iv_objid = lv_objid iv_org_otype = ls_composite_org-org_otype iv_start_date = lv_start_date iv_end_date = lv_end_date iv_display_crm_bp = lv_display_crm_bp iv_display_teams = lv_display_teams IMPORTING et_org = lt_temp_org es_return = ls_return.

RH_READ_INFTY_1000 CALL FUNCTION 'RH_READ_INFTY_1000' EXPORTING authority = 'DISP' with_stru_auth = 'X' plvar = lv_plan_version otype = ls_composite_org-org_otype objid = ls_composite_org-org_objid begda = lv_effdate sort = 'X' TABLES i1000 = lt_table EXCEPTIONS nothing_found = 1 wrong_condition = 2 wrong_parameters = 3 OTHERS = 4.

WFA_ORG_LOCATION_TYPE_GET CALL FUNCTION 'WFA_ORG_LOCATION_TYPE_GET' EXPORTING iv_org_objid = ls_composite_org-org_objid IMPORTING ev_location_type = ls_composite_org-location_type es_return = ls_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_ORGTREE_SUBROUTINES or its description.