DBPNPI01 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 DBPNPI01 into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RP_PNP_SELOPTION CALL FUNCTION 'RP_PNP_SELOPTION' EXPORTING ldb_name = 'PNP' TABLES selectt = pnpselop.
RP_PNP_MATCHCODE * CALL FUNCTION 'RP_PNP_MATCHCODE' * TABLES * selections = pnpselta * CHANGING * matchcode_id = pnpmcide * EXCEPTIONS * OTHERS = 0.
HR_PNP_SHLP_CHOOSE CALL FUNCTION 'HR_PNP_SHLP_CHOOSE' EXPORTING collective_shlp = 'PREM' CHANGING shlp_name = pnpmcide shlp_selopts = pnpselta EXCEPTIONS * internal_error = 1 OTHERS = 0.
RP_PNP_SORT CALL FUNCTION 'RP_PNP_SORT' EXPORTING pypopup = pyswitch CHANGING sortfields = pnpsort sortieroption = pnpsortt.
RP_PNP_ORGSTRUCTURE CALL FUNCTION 'RP_PNP_ORGSTRUCTURE' EXPORTING begda = pn-begps endda = pn-endps TABLES pobjid = pnpobjid.
HR_PNP_INIT_FREE_SELECTIONS CALL FUNCTION 'HR_PNP_INIT_FREE_SELECTIONS' EXPORTING select_view_name = t599c-selectview select_view_origin = t599c-origin "L9CK025119 CHANGING dyn_sel = dyn_sel selection_id = selection_id EXCEPTIONS user_cancel = 2 OTHERS = 3.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' "AHRK024110 EXPORTING "AHRK024110 tabname = 'PERNR' "AHRK024110 TABLES "AHRK024110 dfies_tab = dfies_itab "AHRK024110 EXCEPTIONS "AHRK024110 not_found = 1 "AHRK024110 internal_error = 2 "AHRK024110 OTHERS = 3. "AHRK024110
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' "#EC DOM_EQUAL EXPORTING tabname = sort_tabname fieldname = sortfield_wa-fieldname TABLES dfies_tab = dfies_itab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' "#EC DOM_EQUAL EXPORTING tabname = sort_tabname fieldname = sortfield_wa-fieldname TABLES dfies_tab = dfies_itab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.
F4IF_EXPAND_SEARCHHELP CALL FUNCTION 'F4IF_EXPAND_SEARCHHELP' "GGAHRK052167 EXPORTING "GGAHRK052167 shlp_top = shlp_top "GGAHRK052167 IMPORTING "GGAHRK052167 shlp_tab = shlp_descr_tab. "GGAHRK052167
F4_ENTER_SELECTIONS_LIGHT CALL FUNCTION 'F4_ENTER_SELECTIONS_LIGHT' EXPORTING shlp = helpstruc selstr = pnpmcstr no_dialog = 'X' no_complex = 'X' "no ranges TABLES selopt_tab = pnpselta EXCEPTIONS OTHERS = 0.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' "AHRK024110 EXPORTING "AHRK024110 tabname = 'PSHDR' "AHRK024110 TABLES "AHRK024110 dfies_tab = dfies_itab "AHRK024110 EXCEPTIONS "AHRK024110 not_found = 1 "AHRK024110 internal_error = 2 "AHRK024110 OTHERS = 3. "AHRK024110
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' "#EC DOM_EQUAL "AHRK024110 EXPORTING "AHRK024110 tabname = sort_tabname "AHRK024110 TABLES "AHRK024110 dfies_tab = dfies_itab "AHRK024110 EXCEPTIONS "AHRK024110 not_found = 1 "AHRK024110 internal_error = 2 "AHRK024110 OTHERS = 3. "AHRK024110
F4IF_EXPAND_SEARCHHELP * CALL FUNCTION 'F4IF_EXPAND_SEARCHHELP' * EXPORTING * shlp_top = shlp_top * IMPORTING * shlp_tab = shlp_descr_tab.
PA03_PERIODDATES_GET CALL FUNCTION 'PA03_PERIODDATES_GET' "XJFK000950 EXPORTING f_abkrs = pnpxabkr IMPORTING f_permo = pn-permo f_current_begda = pnpdisbd f_current_endda = pnpdised * F_ABKRS_TEXT = CHANGING f_current_period = pn-pabrp f_current_year = pn-pabrj EXCEPTIONS pcr_does_not_exist = 1 abkrs_does_not_exist = 2 period_does_not_exist = 3 OTHERS = 4.
RS_REFRESH_FROM_SELECTOPTIONS * CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' * EXPORTING * curr_report = current_report * TABLES * selection_table = loginput * EXCEPTIONS * not_found = 1 "SY-cprog not_found * no_report = 2. "sy-cprog not type 1
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
DBPNPI01 - documentation and ABAP source code DBPNPGMC - Generator for Selection Methods for Search Helps for LDB PNP and PNPCE DBPNPGMC - Generator for Selection Methods for Search Helps for LDB PNP and PNPCE DBPNPF03 - documentation and ABAP source code DBPNPF02 - documentation and ABAP source code DBPNPF01 - documentation and ABAP source code