SAP Reports / Programs

RPUBRCD0 SAP ABAP Report - documentation and ABAP source code







RPUBRCD0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Test report to check the Customizing for the construction industry, for leave assignment (T5DBF) and company account number (T5DDE)...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RPUBRCD0 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M01_RPUBRCD0 - Customizing: Construction Industry


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


Text pool values


Selection Text: STICHTAG = Key Date
Selection Text: PER = Personnel Number
Title: Auxiliary Report: Customizing - Construction Industry
Text Symbol: T40 = not maintained
Text Symbol: T39 = Minimum Age for Leave Entitlement
Text Symbol: T38 = Company Acct. No. Assignment (T5DDE)
Text Symbol: T35 = -> Age
Text Symbol: T34 = Company Account No.
Text Symbol: T33 = Leave Fund
Text Symbol: T32 = CoType
Text Symbol: T31 = Personnel Subarea
Text Symbol: T30 = Personnel Area
Text Symbol: T29 = Validity Start
Text Symbol: T28 = To
Text Symbol: T27 = Challenge Group for Leave Entitlement
Text Symbol: T26 = Minimum Length of Service for Leave Entitlement
Text Symbol: T25 = ES Subgrouping for Construction Leave
Text Symbol: T24 = ES Grouping for Construction Pay
Text Symbol: T23 = Pay Scale Area for Leave in Constr. Industry
Text Symbol: T22 = Group Personnel Subareas for Leave Types
Text Symbol: T21 = Leave Rule Assignment (T5DBF)
Text Symbol: T20 = 0192 or Change ConsType 5 -> 4
Text Symbol: T19 = -> Employee Subgroup Subgrouping Constr. (bautu)
Text Symbol: T18 = -> Override Seniority
Text Symbol: T17 = 0041: Entry Date Type
Text Symbol: T16 = -> Pay Scale Area Group Type (T5D0U-TRFG)
Text Symbol: T15 = PS Area
Text Symbol: T14 = 0008: PS Type
Text Symbol: T13 = 0002: Birth Date
Text Symbol: T12 = -> Construction Type (T5D03-BAUTY)
Text Symbol: T11 = EE Subgroup
Text Symbol: T10 = 0001: Employee Group
Text Symbol: T09 = -> Grouping PSA Leave Type (T001P-MOURA)
Text Symbol: T08 = Personnel Subarea
Text Symbol: T07 = 0001: Personnel Area
Text Symbol: T06 = -> Seniority
Text Symbol: T05 = MasterData
Text Symbol: T04 = Key Date





Text Symbol: T02 = Personnel No.
Text Symbol: R01 = Exception frm RP_BAU_URLAUBSREGELUNG:
Text Symbol: L02 = 0001, 0041:


INCLUDES used within this REPORT RPUBRCD0

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:

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = per infty = '0000' begda = stichtag endda = stichtag IMPORTING subrc = fb_subrc TABLES infty_tab = p0000 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = per infty = '0001' begda = stichtag endda = stichtag IMPORTING subrc = fb_subrc TABLES infty_tab = p0001 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = per infty = '0002' begda = stichtag endda = stichtag IMPORTING subrc = fb_subrc TABLES infty_tab = p0002 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING day_in = stichtag IMPORTING last_day_of_month = last_of_month EXCEPTIONS day_in_no_date = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = per infty = '0004' * {YMOH783956 delete / insert * begda = stichtag * endda = stichtag begda = first_of_month endda = last_of_month * YMOH783956} IMPORTING subrc = fb_subrc TABLES infty_tab = p0004 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = per infty = '0008' begda = stichtag endda = stichtag IMPORTING subrc = fb_subrc TABLES infty_tab = p0008 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = per infty = '0041' begda = stichtag endda = stichtag IMPORTING subrc = fb_subrc TABLES infty_tab = p0041 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

RP_BAU_URLAUBSREGELUNG CALL FUNCTION 'RP_BAU_URLAUBSREGELUNG' EXPORTING stichtag = stichtag IMPORTING entry_t5dbf = t5dbf TABLES it0000 = p0000 it0001 = p0001 it0002 = p0002 it0004 = p0004 it0008 = p0008 it0041 = p0041 EXCEPTIONS no_entry_found_it0000 = 1 no_entry_found_it0001 = 2 no_entry_found_it0002 = 3 no_entry_found_it0008 = 4 no_entry_found_t001p_t5d0p = 5 no_entry_found_t5d03 = 6 no_entry_found_t5d0u = 7 no_entry_found_t5dbf = 8 OTHERS = 9.

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING i_msgid = 'RP' * I_MSGTY = 'E' i_msgno = '016' i_msgv1 = sy-msgv1 * I_MSGV2 = * I_MSGV3 = * I_MSGV4 = EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING i_msgid = sy-msgid i_msgty = sy-msgty i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = c_stamm_id i_structure_name = c_alv_struc i_save = c_a is_variant = disvariant i_default = c_x EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = c_root i_node_txt = text-t05 * I_NODE_LABEL = * I_LABEL_IS_QINFO = * I_ICON = * I_QUICKINFO = i_categ_id = c_stamm_id * I_SORT_CONTEXT = * I_HEADER_NODES = i_expand = c_x IMPORTING e_node_key = node_key EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = c_urlaub_id i_structure_name = c_alv_struc i_save = c_a is_variant = disvariant i_default = c_x EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = c_root i_node_txt = text-t21 * I_NODE_LABEL = * I_LABEL_IS_QINFO = * I_ICON = * I_QUICKINFO = i_categ_id = c_urlaub_id * I_SORT_CONTEXT = * I_HEADER_NODES = i_expand = c_x IMPORTING e_node_key = node_key EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = c_bnrsk_id i_structure_name = c_alv_struc i_save = c_a is_variant = disvariant i_default = c_x EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = c_root i_node_txt = text-t38 * I_NODE_LABEL = * I_LABEL_IS_QINFO = * I_ICON = * I_QUICKINFO = i_categ_id = c_bnrsk_id * I_SORT_CONTEXT = * I_HEADER_NODES = i_expand = c_x IMPORTING e_node_key = node_key EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_LOG_DISPLAY





CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING i_s_display_profile = display_profile * I_S_FLAT_PROFILE = EXCEPTIONS program_error = 1 no_logs = 2 OTHERS = 3.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = p_node_key i_row_data = l_row_data EXCEPTIONS program_error = 1 OTHERS = 2.



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