SAP Reports / Programs | Payroll | Germany(PY-DE) SAP PY

RPCDBGD0 SAP ABAP INCLUDE - documentation and ABAP source code







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

INCLUDE RPCDBGD1. "YSRN1794533


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_DE_BG_ZUORDNUNG CALL FUNCTION 'HR_DE_BG_ZUORDNUNG' TABLES RT = OT WPBP = WPBP C1 = C1 ZTBAU = ZTBAU IT0029 = P0029 IT0033 = P0033 V0 = V0 dbg_prot = dbg_prot "QALK065686 EXCEPTIONS NO_ENTRY_IT29 = 1 NO_ENTRY_BAUSTELLE = 2 NO_ENTRY_BAUBG = 3 NO_VERTEILUNG_APSPLIT = 4 OTHERS = 5.

HR_GET_REPORTING_COMPANY call function 'HR_GET_REPORTING_COMPANY' exporting p_molga = calcmolga p_appl = 'BG02' p_werks = is_wpbp-werks p_btrtl = is_wpbp-btrtl p_struc = ls_struc p_date = is_wpbp-endda importing werks_sum = l_werks btrtl_sum = l_btrtl exceptions rep_comp_not_found = 1 others = 2.

HR_GET_REPORTING_COMPANY_DATA call function 'HR_GET_REPORTING_COMPANY_DATA' exporting p_molga = calcmolga p_appl = 'BG02' p_werks_sum = l_werks p_btrtl_sum = l_btrtl p_date = is_wpbp-endda p_anart = 'A' importing data = ls_bgdat exceptions rep_comp_not_found = 1 others = 2.

HR_GET_VALIDITY_OF_APPLICATION call function 'HR_GET_VALIDITY_OF_APPLICATION' exporting i_molga = calcmolga i_appl = 'BGHV' i_date = is_wpbp-endda importing e_valid = l_valid.

HR_GET_VALIDITY_OF_APPLICATION call function 'HR_GET_VALIDITY_OF_APPLICATION' exporting i_molga = calcmolga i_appl = 'BGHV' i_date = aper-begda importing e_valid = l_valid.

HR_GET_VALUES_ASSIGN_WAGETYPES ** CALL FUNCTION 'HR_GET_VALUES_ASSIGN_WAGETYPES' "YCTN1278007" ** EXPORTING " " ** i_molga = calcmolga " " ** i_appl = 'BGNW' " " ** i_date = aper-endda " " ** it_lgart_table = rt[] " " ** i_table_struc = 'PC207' " " ** IMPORTING " " ** et_sumlgs = lt_sumlg " " ** EXCEPTIONS " " ** ddif_nametab_error = 1 " " ** OTHERS = 2. " "

HR_GET_VALUES_ASSIGN_WAGETYPES CALL FUNCTION 'HR_GET_VALUES_ASSIGN_WAGETYPES' EXPORTING i_molga = calcmolga i_appl = 'BGNW' i_date = aper-endda it_lgart_table = it_rt[] i_table_struc = 'PC207' IMPORTING et_sumlgs = ct_sumlg EXCEPTIONS ddif_nametab_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 RPCDBGD0 or its description.