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

FH5AHI30 SAP ABAP INCLUDE - PAI Planning Table







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


Text pool values


Title: PAI Planning Table


INCLUDES used within this REPORT FH5AHI30

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_EXPORT_SHIFTPLAN_DATA CALL FUNCTION 'RH_EXPORT_SHIFTPLAN_DATA' TABLES assignments = req_assign user_cust_tab = param_tab EXCEPTIONS OTHERS = 0.

RH_SET_STATUS_VARIABLE CALL FUNCTION 'RH_SET_STATUS_VARIABLE' EXPORTING variable = 'matchup_display' cvalue = off EXCEPTIONS OTHERS = 0.

RH_SET_STATUS_VARIABLE CALL FUNCTION 'RH_SET_STATUS_VARIABLE' EXPORTING variable = 'matchup_display' cvalue = on EXCEPTIONS OTHERS = 0.

HR_SHIFTPLAN_SET_PARAMETER CALL FUNCTION 'HR_SHIFTPLAN_SET_PARAMETER' EXPORTING user_name = sy-uname parameter_id = 'PE_MATCHUP' para_value = req_status EXCEPTIONS OTHERS = 4. "#EC *

RH_CALL_ASSIGNMENT_OPTIONS CALL FUNCTION 'RH_CALL_ASSIGNMENT_OPTIONS' TABLES user_cust_tab = param_tab.

HR_TELEPHONE_CALL CALL FUNCTION 'HR_TELEPHONE_CALL' EXPORTING pernr = pdpla-pernr EXCEPTIONS OTHERS = 0.

HRSP_CHANGE_PRIO_HITLIST CALL FUNCTION 'HRSP_CHANGE_PRIO_HITLIST' EXPORTING begin_date = pfedy-begda end_date = pfedy-endda TABLES user_cust_tab = param_tab EXCEPTIONS invalid_prio = 1 OTHERS = 2. "#EC *

RH_LIST_PERSON_ASSIGNMENTS CALL FUNCTION 'RH_LIST_PERSON_ASSIGNMENTS' EXPORTING begda = pfedy-begda endda = pfedy-endda overview = on person_id = pdpla-pernr TABLES assignments = req_assign EXCEPTIONS OTHERS = 0.

RH_EXPORT_SHIFTPLAN_DATA CALL FUNCTION 'RH_EXPORT_SHIFTPLAN_DATA' TABLES assignments = req_assign user_cust_tab = param_tab EXCEPTIONS OTHERS = 0.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = space textline1 = text-ex2 textline2 = text-ex3 IMPORTING answer = answer.

HR_SHIFTPLAN_SET_PARAMETER CALL FUNCTION 'HR_SHIFTPLAN_SET_PARAMETER' EXPORTING user_name = sy-uname parameter_id = 'PE_INFOTXT' para_value = act_infotxt EXCEPTIONS OTHERS = 0.

HR_SHIFTPLAN_SET_PARAMETER * call function 'HR_SHIFTPLAN_SET_PARAMETER' * exporting * user_name = sy-uname * parameter_id = 'PE_MATCHUP' * para_value = req_status * exceptions * others = 0.

HR_SHIFTPLAN_SET_PARAMETER CALL FUNCTION 'HR_SHIFTPLAN_SET_PARAMETER' EXPORTING user_name = sy-uname parameter_id = 'PE_INFOTXT' para_value = act_infotxt EXCEPTIONS OTHERS = 0.

HR_SHIFTPLAN_SET_PARAMETER * call function 'HR_SHIFTPLAN_SET_PARAMETER' * exporting * user_name = sy-uname * parameter_id = 'PE_MATCHUP' * para_value = req_status * exceptions * others = 0.

HR_SHIFTPLAN_SET_PARAMETER CALL FUNCTION 'HR_SHIFTPLAN_SET_PARAMETER' EXPORTING user_name = sy-uname parameter_id = 'PE_INFOTXT' para_value = act_infotxt EXCEPTIONS OTHERS = 0.

HR_SHIFTPLAN_SET_PARAMETER * call function 'HR_SHIFTPLAN_SET_PARAMETER' * exporting * user_name = sy-uname * parameter_id = 'PE_MATCHUP' * para_value = req_status * exceptions * others = 0.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = text-a00 textline1 = text-a01 textline2 = text-a02 IMPORTING answer = answer.

RH_SHOW_DAY_DETAIL CALL FUNCTION 'RH_SHOW_DAY_DETAIL' EXPORTING p_pernr = d4000_soll-pernr p_date = d4000_soll-date rexists = req_flag mode = sw_mode p_pdpla = pdpla i_peins_psavp = g_peins_psavp TABLES person_timetab = person_record assignments = req_assign p_infotxt_tab = infotxt_tab.

POPUP_TO_CONFIRM_LOSS_OF_DATA





CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' "#EC * EXPORTING titel = space textline1 = text-le4 textline2 = text-le3 IMPORTING answer = answer.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING titel = space textline1 = text-le4 textline2 = text-le3 IMPORTING answer = answer.



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