SAP Reports / Programs | Payroll | Singapore | Public Sector(PY-SG-PS) SAP PY

RPCGNPRI SAP ABAP INCLUDE - Subroutines for GNP







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


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


Text pool values


Title: Subroutines for GNP


INCLUDES used within this REPORT RPCGNPRI

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_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.



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