SAP Reports / Programs

PUCROSTER_CHANGESIN4 SAP ABAP INCLUDE - Include PUCROSTER_CHANGESIN4







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


INCLUDES used within this REPORT PUCROSTER_CHANGESIN4

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:

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = g_dyname dynumb = g_dynumb translate_to_upper = abap_true TABLES dynpfields = lt_dynpread EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 stepl_not_found = 10 OTHERS = 11.

RH_OBJID_REQUEST CALL FUNCTION 'RH_OBJID_REQUEST' EXPORTING plvar = g_plnver otype = g_otype orgbeg = sy-datum orgend = sy-datum IMPORTING sel_object = gs_object TABLES otype_table = gt_otype_table condition = gt_condition base_objects = gt_base_objects marked_objects = gt_sel_objects sel_objects = gt_sel_objects sel_hrobject_tab = gt_sel_hrobject_tab sel_hrsobid_tab = gt_sel_hrsobid_tab EXCEPTIONS cancelled = 1 wrong_condition = 2 nothing_found = 3 internal_error = 4 illegal_mode = 5 OTHERS = 6.

RH_GET_ORGUNIT_OF_COAREA CALL FUNCTION 'RH_GET_ORGUNIT_OF_COAREA' EXPORTING otype = v_otype objid = lv_objid begda = v_frdate endda = v_todate plvar = c_plvar TABLES related_orgunits = gt_orgunits EXCEPTIONS nothing_found = 1 OTHERS = 2.

RH_STRUC_GET CALL FUNCTION 'RH_STRUC_GET' EXPORTING act_otype = gs_orgunits-otype act_objid = gs_orgunits-objid act_wegid = l_path act_begda = v_frdate act_endda = v_todate TABLES result_tab = gt_result_tab result_objec = gt_result_objec result_struc = gt_result_struc EXCEPTIONS no_plvar_found = 1 no_entry_found = 2 OTHERS = 3.

RH_GET_COMPANY_CODE CALL FUNCTION 'RH_GET_COMPANY_CODE' EXPORTING plvar = c_plvar otype = c_o objid = l_orgunit IMPORTING bukrs = l_bukrs EXCEPTIONS root_not_found = 1 evaluation_error = 2 no_bukrs_found = 3 OTHERS = 4.

RH_STRUC_GET CALL FUNCTION 'RH_STRUC_GET' EXPORTING act_otype = v_otype act_objid = ls_objid act_wegid = l_path act_begda = v_frdate act_endda = v_todate TABLES result_tab = gt_result_tab result_objec = gt_result_objec result_struc = gt_result_struc EXCEPTIONS no_plvar_found = 1 no_entry_found = 2 OTHERS = 3.

RH_READ_INFTY_1001 CALL FUNCTION 'RH_READ_INFTY_1001' TABLES i1001 = lt_1001 OBJECTS = lt_hrobject EXCEPTIONS nothing_found = 1 wrong_condition = 2 OTHERS = 3.

RH_GET_COMPANY_CODE CALL FUNCTION 'RH_GET_COMPANY_CODE' EXPORTING plvar = c_plvar otype = c_o objid = l_orgunit IMPORTING bukrs = l_bukrs EXCEPTIONS root_not_found = 1 evaluation_error = 2 no_bukrs_found = 3 OTHERS = 4.

RH_STRUC_GET CALL FUNCTION 'RH_STRUC_GET' EXPORTING act_otype = v_otype act_objid = lv_objid act_wegid = l_path act_begda = v_frdate act_endda = v_todate TABLES result_tab = gt_result_tab result_objec = gt_result_objec result_struc = gt_result_struc EXCEPTIONS no_plvar_found = 1 no_entry_found = 2 OTHERS = 3.

FILE_GET_NAME * CALL FUNCTION 'FILE_GET_NAME' * EXPORTING * client = sy-mandt * logical_filename = lv_logicalpath * operating_system = sy-opsys * IMPORTING * file_name = phy_flname * EXCEPTIONS * file_not_found = 1 * OTHERS = 2.

RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING infty = c_1072 TABLES innnn = gt_rsvcat_rp OBJECTS = gt_rosterpts EXCEPTIONS all_infty_with_subty = 1 nothing_found = 2 no_objects = 3 wrong_condition = 4 wrong_parameters = 5 OTHERS = 6.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = gs_employee-objid infty = c_0002 begda = v_frdate endda = v_todate TABLES infty_tab = gt_0002 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING tclas = c_tclas pernr = gs_employee-objid infty = c_0004 begda = v_frdate endda = v_todate TABLES infty_tab = lt_0004 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING tclas = c_tclas pernr = gs_employee-objid infty = c_0077 begda = v_frdate endda = v_todate TABLES infty_tab = lt_0077 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING tclas = c_tclas pernr = gs_employee-objid infty = c_0974 begda = v_frdate endda = v_todate TABLES infty_tab = lt_0974 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING infty = c_1001 begda = v_frdate endda = v_todate TABLES innnn = gt_1001 OBJECTS = gt_employee EXCEPTIONS all_infty_with_subty = 1 nothing_found = 2 no_objects = 3 wrong_condition = 4 wrong_parameters = 5 OTHERS = 6.

RH_STRUC_GET CALL FUNCTION 'RH_STRUC_GET' EXPORTING act_otype = c_r act_objid = l_objid act_wegid = l_path act_begda = v_frdate act_endda = v_todate TABLES result_tab = gt_result_tab result_objec = gt_result_objec result_struc = gt_result_struc EXCEPTIONS no_plvar_found = 1 no_entry_found = 2 OTHERS = 3.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_s_log IMPORTING e_log_handle = g_log_handle EXCEPTIONS OTHERS = 1.

HR_IN_ADD_MSG_TO_LOG





CALL FUNCTION 'HR_IN_ADD_MSG_TO_LOG' EXPORTING msg_type = p_msgtype msg_var1 = p_message log_handle = p_log_handle EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 OTHERS = 3.

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = gt_restrict EXCEPTIONS too_late = 1 repeated = 2 selopt_without_options = 5 selopt_without_signs = 6 invalid_sign = 7 empty_option_list = 9 invalid_kind = 10 repeated_kind_a = 11 OTHERS = 12.

RH_READ_HRP_OBJECT_TEXT CALL FUNCTION 'RH_READ_HRP_OBJECT_TEXT' EXPORTING act_langu = sy-langu act_otype = c_o act_objid = p_ounit act_plvar = c_plvar act_begda = c_lowdate act_endda = c_highdate act_state = c_istat TABLES act_p1000 = lt_p1000 EXCEPTIONS no_data_found = 1 no_valid_object = 2 OTHERS = 3.

MESSAGE_TEXTS_READ CALL FUNCTION 'MESSAGE_TEXTS_READ' EXPORTING msg_log_imp = g_s_msg IMPORTING msg_text_exp = l_msg_text.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING client = sy-mandt logical_filename = l_logicalpath operating_system = sy-opsys IMPORTING file_name = l_phy_flname EXCEPTIONS file_not_found = 1 OTHERS = 2.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = l_logicalpath CHANGING physical_filename = l_phy_flname EXCEPTIONS logical_filename_not_found = 1 validation_failed = 2 OTHERS = 3.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING client = sy-mandt logical_filename = l_logicalpath operating_system = sy-opsys IMPORTING file_name = l_phy_flname EXCEPTIONS file_not_found = 1 OTHERS = 2.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = l_logicalpath CHANGING physical_filename = l_phy_flname EXCEPTIONS logical_filename_not_found = 1 validation_failed = 2 OTHERS = 3.

AUTHORITY_CHECK_DATASET CALL FUNCTION 'AUTHORITY_CHECK_DATASET' EXPORTING program = g_repid activity = c_write filename = p_phy_flname EXCEPTIONS no_authority = 1 activity_unknown = 2 OTHERS = 3.

RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING infty = c_1001 begda = v_frdate endda = v_todate TABLES innnn = lt_1001 OBJECTS = lt_rosterpoint EXCEPTIONS all_infty_with_subty = 1 nothing_found = 2 no_objects = 3 wrong_condition = 4 wrong_parameters = 5 OTHERS = 6.



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