SAP Reports / Programs | Personnel Time Management | Shift Planning(PT-SP) SAP PT

FH5AHF20 SAP ABAP INCLUDE - documentation and ABAP source code







FH5AHF20 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 FH5AHF20 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 FH5AHF20. "Basic submit
SUBMIT FH5AHF20 AND RETURN. "Return to original report after report execution complete
SUBMIT FH5AHF20 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 FH5AHF20

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_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = pfedy-plvar otype = -org_otype objid = -org_objid istat = '1' begda = -datum endda = -datum IMPORTING short = pdreq-orgeh_short stext = pdreq-orgeh_stext EXCEPTIONS not_found = 1 OTHERS = 2.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = pfedy-plvar otype = $class objid = -job_objid istat = '1' begda = -datum endda = -datum IMPORTING short = pdreq-job_short stext = pdreq-job_stext EXCEPTIONS not_found = 1 OTHERS = 2.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = 'SAPFH5AH' dynumb = sy-dynnr TABLES dynpfields = dynprofelder EXCEPTIONS OTHERS = 1. "#EC *

RH_OBJID_REQUEST CALL FUNCTION 'RH_OBJID_REQUEST' EXPORTING plvar = pfedy-plvar otype = $pernr seark = hrsp_pool-manager_seark seark_begda = sy-datum seark_endda = sy-datum dynpro_repid = 'SAPFH5AH' dynpro_dynnr = '2000' dynpro_searkfield = 'HRSP_POOL-MANAGER_SEARK' TABLES sel_objects = lt_object EXCEPTIONS cancelled = 1 wrong_condition = 2 nothing_found = 3 internal_error = 4 illegal_mode = 5 OTHERS = 6.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING ddic_structure = 'HRS_OBJEC' retfield = 'SHORT' dynpprog = 'SAPFH5AH' dynpnr = '2000' dynprofield = 'HRSP_POOL-TARGET_SEARK' window_title = pdpla-orgehbez value = 'HRSP_POOL-TARGET_SEARK' value_org = 'S' display = 'F' TABLES value_tab = lt_objects return_tab = lt_selected dynpfld_mapping = lt_dynpfld_mapping EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

RH_MACO CALL FUNCTION 'RH_MACO' EXPORTING seark = hrsp_pool-manager_seark plvar = pfedy-plvar otype = $pernr TABLES sel_objects = lt_object EXCEPTIONS f15 = 1 wrong_condition = 2 nothing_found = 3 OTHERS = 4.

RH_MACO CALL FUNCTION 'RH_MACO' EXPORTING seark = hrsp_pool-target_seark plvar = pfedy-plvar otype = pdsp_prfl-otype TABLES base_objects = lt_base sel_objects = lt_object EXCEPTIONS f15 = 1 wrong_condition = 2 nothing_found = 3 OTHERS = 4.

RH_READ_INFTY_1001_EXT CALL FUNCTION 'RH_READ_INFTY_1001_EXT' EXPORTING * AUTHORITY = 'DISP' with_stru_auth = ' ' istat = '1' * EXTEND = 'X' subty = 'B208' begda = sy-datum endda = sy-datum * CONDITION = '00000' * SORT = 'X' with_ev_for_int = 'X' with_ev_for_ext = ' ' adata = ' ' * KEEP_VARYF = ' ' * AUTH_SOBID = ' ' TABLES i1001 = lt_1001 OBJECTS = lt_hrsobid EXCEPTIONS nothing_found = 1 wrong_condition = 2 OTHERS = 3.

RH_READ_INFTY_1001_EXT CALL FUNCTION 'RH_READ_INFTY_1001_EXT' EXPORTING * AUTHORITY = 'DISP' with_stru_auth = ' ' istat = '1' * EXTEND = 'X' subty = 'A208' begda = sy-datum endda = sy-datum * CONDITION = '00000' * SORT = 'X' * with_ev_for_int = ' ' * with_ev_for_ext = 'X' adata = ' ' * KEEP_VARYF = ' ' * AUTH_SOBID = ' ' TABLES i1001 = lt_1001 OBJECTS = lt_hrsobid EXCEPTIONS nothing_found = 1 wrong_condition = 2 OTHERS = 3.



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