SAP Reports / Programs | Personnel Management | Personnel Administration(PA-PA) SAP PA

DBPNPF01 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_FIND_PERSONS * CALL FUNCTION 'HR_FIND_PERSONS' * EXPORTING * BEGDA = PN-BEGPS * ENDDA = PN-ENDPS * AUTH_CHECK_INFTY = 'X' * IGNORELOCKEDRECORDS = PNP-SW-IGNORELOCKEDRECORDS * DYN_SEL = DYN_SEL * TABLES * PERNR_RANGE = PNPPERNR * PERNRS = INDEX * EXCEPTIONS * OTHERS = 0.

RP_PNP_FILL_INDEX_FROM_PLOG CALL FUNCTION 'RP_PNP_FILL_INDEX_FROM_PLOG' EXPORTING begda = pn-begps endda = pn-endps plvar = plvar TABLES objid = pnpobjid pernr_range = pnppernr pernr_tab = index EXCEPTIONS OTHERS = 0.

HR_PNP_SHLP_SELECT_PERNRS CALL FUNCTION 'HR_PNP_SHLP_SELECT_PERNRS' EXPORTING shlp_name = pnpmcide shlp_selopts = pnpselta[] begda = pn-begps endda = pn-endps skip_locked_records = pnp-sw-ignorelockedrecords distinct_values = sw_select_distinct pernr_range = pnppernr[] ldb_name = 'PNP' IMPORTING pernrs = index[] EXCEPTIONS * internal_error = 1 * invalid_shlp_name = 2 OTHERS = 0.

RH_STRU_AUTHORITY_CHECK * CALL FUNCTION 'RH_STRU_AUTHORITY_CHECK' * EXPORTING * PLVAR = PLVAR * OTYPE = 'P ' * OBJID = INDEX-PERNR * EXCEPTIONS * NO_STRU_AUTHORITY = 1 * NO_STRU_AUTHORITY_HYPER = 2 * NO_STRU_AUTHORITY_AT_ALL = 3 * NO_BASE_AUTHORITY = 4 * OTHERS = 5.

RH_SET_DATE CALL FUNCTION 'RH_SET_DATE' EXPORTING beg_dat = pn-begps end_dat = pn-endps IMPORTING ret_dat = pnp_set_date_ps EXCEPTIONS intervall_negative = 1 OTHERS = 2.

HR_FILL_ITAB_FROM_LOG_INFOTYPE CALL FUNCTION 'HR_FILL_ITAB_FROM_LOG_INFOTYPE' "#EC DOM_EQUAL EXPORTING pernr = pernr-pernr begda = $rinfo$-begda "GG endda = $rinfo$-endda "GG infty = $rinfo$-number TABLES i0000 = p0000 i0001 = p0001 it_table = gi_inftab EXCEPTIONS OTHERS = 0.

HR_READ_0031_DB CALL FUNCTION 'HR_READ_0031_DB' EXPORTING pernr = pernr-pernr TABLES i0031_db = i0031_db.

HR_COST_DISTRIBUTION_GET CALL FUNCTION 'HR_COST_DISTRIBUTION_GET' EXPORTING pernr = pernr-pernr begda = $rinfo$-begda endda = $rinfo$-endda plvar = plvar authc_disable = 'X' read_p0001 = ' ' * READ_P0027_P0266 = ' ' "XYVPH9K004495 read_p0027_p0266 = read_p0266 "XYVPH9K004495 extended_checks = space "367589 ignore_p0266 = ignore_p0266 ignore_locked_records = ignore_locked TABLES p0001 = p0001 p0027 = in_p0027 p0027_out = out_p0027 EXCEPTIONS could_not_read_it0001 = 1 could_not_read_it0027 = 2 could_not_read_it0266 = 3 p0027_overflow = 4 no_active_plvar = 5 p0266_inconsistent = 6 no_authorization = 7 OTHERS = 8.

HR_COST_DISTRIBUTION_GET CALL FUNCTION 'HR_COST_DISTRIBUTION_GET' EXPORTING pernr = pernr-pernr begda = $rinfo$-begda endda = $rinfo$-endda plvar = plvar authc_disable = 'X' read_p0027_p0266 = 'X' ignore_p0266 = ' ' ignore_locked_records = ignore_locked extended_checks = space "367589 TABLES p0001 = p0001 p0266_out = out_p0266 EXCEPTIONS could_not_read_it0001 = 1 could_not_read_it0027 = 2 could_not_read_it0266 = 3 p0027_overflow = 4 no_active_plvar = 5 p0266_inconsistent = 6 no_authorization = 7 OTHERS = 8.

FREE_SELECTIONS_EX_2_RANGE * CALL FUNCTION 'FREE_SELECTIONS_EX_2_RANGE' * EXPORTING * expressions = p_pnpdynse[] * IMPORTING * field_ranges = converted_range_tab[] * EXCEPTIONS * expression_not_supported = 1 * incorrect_expression = 2 * OTHERS = 3.

HR_SELECT_PERSONS * CALL FUNCTION 'HR_SELECT_PERSONS' * EXPORTING * begda = p_begps * endda = p_endps * tclas = 'A' * authority_check = 'X' * ignorelockedrecords = p_ignorelockedrecords * TABLES * conditiontable = cond_tab[] * pernrs_found = p_index[] * EXCEPTIONS * empty_table = 1 * wrong_tablefield = 2 * only_pnp_or_pap = 3 * unsupported_condition = 4 * unsupported_fieldkind = 5 * wrong_tclas = 6 * internal_error = 7 * OTHERS = 8.



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