RPCGNPRI 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 RPCGNPRI 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.
Title: Subroutines for GNP
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_DISPLAY_BASIC_LIST call function 'HR_DISPLAY_BASIC_LIST' exporting BASIC_LIST_TITLE = Text-028 file_name = myreport importing return_code = return_code tables data_tab = int_GNP fieldname_tab = int_fieldnames exceptions download_problem = 1 no_data_tab_entries = 2 table_mismatch = 3 print_problems = 4 others = 5.
HR_DISPLAY_ERROR_LIST call function 'HR_DISPLAY_ERROR_LIST' exporting no_popup = 'X' no_print = space exceptions invalid_linesize = 1 others = 2.
HR_APPEND_ERROR_LIST call function 'HR_APPEND_ERROR_LIST' exporting pernr = $pernr arbgb = $arbgb "7R msgty = $type msgno = $msgno msgv1 = $msgv1 msgv2 = $msgv2 msgv3 = $msgv3 msgv4 = $msgv4 exceptions others = 1.
BDC_OPEN_GROUP call function 'BDC_OPEN_GROUP' exporting group = bat_mode user = sy-uname.
BDC_INSERT call function 'BDC_INSERT' exporting tcode = 'PA30' tables dynprotab = bdcdata.
HELP_VALUES_GET_WITH_TABLE call function 'HELP_VALUES_GET_WITH_TABLE' exporting fieldname = fnam tabname = tnam titel = title importing select_value = chd_gnpcode tables fields = int_ihelp valuetab = int_helptab exceptions field_not_in_ddic = 01 more_then_one_selectfield = 02 no_selectfield = 03.
RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING BEG = PN-BEGDA END = PN-ENDDA IMPORTING FIRE_DATE = fire_dt HIRE_DATE = hire_date TABLES PPHIFI = P0000 PP0000 = P0001 PP0001 = PHIFI.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.