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

FH5AHF34 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_GET_BUFFER_PLOG_TAB CALL FUNCTION 'RH_GET_BUFFER_PLOG_TAB' TABLES buffer_tab = save_buffer_tab buffo_tab = save_buffo_tab plog_tab_tab = save_plog_tab.

RH_READ_PERSONS_ASSIGNMENTS CALL FUNCTION 'RH_READ_PERSONS_ASSIGNMENTS' EXPORTING begda = pernr_orgeh_tab-datum endda = pernr_orgeh_tab-datum TABLES personen = persons assignments_tab = db_req_assign_tab EXCEPTIONS nothing_found = 1 OTHERS = 2.

RH_GET_FREE_TIME_INTERVALS CALL FUNCTION 'RH_GET_FREE_TIME_INTERVALS' EXPORTING person_id = save_plog_tab-objid new_req_objid = sr_objid req_datum = save_plog_tab-begda req_begzt = paduz-begin_time req_endzt = paduz-end_time req_shift = req_assign-shift pers_begzt = paduz-begin_time pers_endzt = paduz-end_time no_split1 = 'X' no_split2 = space * STNBY_FLAG = addwork = req_assign-addwork chg_daytime = space IMPORTING changed = dummy TABLES assignments_tab = db_req_assign_tab * ASSIGNED_INTERVALS = free_intervals = tim_intervals * person_timeinfo = person_record "Note 441647 EXCEPTIONS no_chg_daytime = 1 no_overlap = 2 no_free_interval = 3 no_stnby_found = 4 OTHERS = 5 .

RH_MODIFY_REQUEST_ASSIGNMENT CALL FUNCTION 'RH_MODIFY_REQUEST_ASSIGNMENT' EXPORTING func = 'D' begda = save_plog_tab-begda endda = save_plog_tab-endda begzt = paduz-begin_time endzt = paduz-end_time plvar = pfedy-plvar persnr = save_plog_tab-objid objid_req = sr_objid seqnr = save_plog_tab-seqnr * NEW_BEGZT = * NEW_ENDZT = * IMPORTING * NEW_SEQNR = EXCEPTIONS error_occured = 1 func_unknown = 2 OTHERS = 3 .

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'SHOW_TEMP_ASSIGN' * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING ct_fieldcat = alv_fieldcat * EXCEPTIONS * INCONSISTENT_INTERFACE = 1 * PROGRAM_ERROR = 2 * OTHERS = 3 .

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = lb_id values = lb_values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2. "#EC *

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = lb_employee_id values = lb_employee_values[] EXCEPTIONS id_illegal_name = 1 OTHERS = 2. "#EC *

RH_MODIFY_REQUEST_ASSIGNMENT CALL FUNCTION 'RH_MODIFY_REQUEST_ASSIGNMENT' EXPORTING func = 'D' begda = wa_req_assign-datum endda = wa_req_assign-datum begzt = wa_persons-begzt endzt = wa_persons-endzt plvar = pfedy-plvar persnr = pernr objid_req = wa_req_assign-req_objid seqnr = wa_persons-seqnr IMPORTING new_seqnr = wa_persons-seqnr EXCEPTIONS error_occured = 1 func_unknown = 2 OTHERS = 3.

RH_READ_INFTY_1001 CALL FUNCTION 'RH_READ_INFTY_1001' EXPORTING * AUTHORITY = 'DISP' with_stru_auth = ' ' istat = '1' * EXTEND = 'X' subty = lv_subty begda = iv_date endda = iv_date * CONDITION = '00000' sort = ' ' * WITH_EV = ' ' * ADATA = 'X' * AUTH_SOBID = ' ' TABLES i1001 = lt_p1001 OBJECTS = lt_hrobject 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 FH5AHF34 or its description.