SAP Reports / Programs | Payroll | United Kingdom(PY-GB) SAP PY

RPCNICG0 SAP ABAP INCLUDE - National Insurance calculation







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

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_GB_NI_AGE_CHK CALL FUNCTION 'HR_GB_NI_AGE_CHK' EXPORTING P_PERNR = pernr-pernr P_BEGDA = aper-begda P_ENDDA = aper-endda P_CHKDT = aper-chkdt P0069 = l_p0069 READ_INFOTYPE = 'X' TABLES NI_ERR = ni_err EXCEPTIONS err_general = 1.

HR_GB_NI_CALC_FULL call function 'HR_GB_NI_CALC_FULL' EXPORTING calc_date = aper-chkdt payroll_call = 'X' late_leaver = late_leaver apps_flag = apps_flag active = l_active "note 1269852 leave_date = leave_date sw_prot = sw_prot p_pernr = pernr-pernr l_period = l_period g_exit_instance = g_exit_instance g_exit_implemented = g_exit_implemented g_wearn = g_wearn[] nyear = sw_first_payroll_in_year g_called_from_grsup = g_called_from_grsup p_mpt_type = g_mpt_type p_mpt_nipay = g_mpt_nipay[] p_mpt_nic = g_mpt_nic[] grsup_call = grsup_call ****** TinA Changes ******* p_me_ni_active_period = g_me_ni_active_period ***************************** TABLES p_0069 = p0069 it = it aper = aper g_nipay = g_nipay excep = excep nipay = nipay nic = nic cnic = cnic nira = nira onipay = onipay onic = onic ocnic = ocnic onira = onira lnic = lnic lcnic = lcnic lnira = lnira p_text = ptext ni_err = ni_err ****** TinA Changes ******* p_me_ta_results = g_me_ta_results p_me_ta_ni_pernrtab = g_me_ta_ni_pernrtab p_me_ta_ni_employments = g_me_ta_ni_employments *************************** pae = pae EXCEPTIONS no_rates_found = 1 CAT_NOT_ALLOWED = 2 err_general = 3.

HR_GB_COMPS_NI_CHECK CALL FUNCTION 'HR_GB_COMPS_NI_CHECK' EXPORTING SW_PROT = sw_prot ACTIVE = l_active "note 1269852 G_EXIT_INSTANCE = g_exit_instance G_EXIT_IMPLEMENTED = g_exit_implemented P_PERNR = pernr-pernr NIC = nic[] ORT = ort[] ONIC = onic[] PENS = pens[] OPENS = opens[] NIPAY = nipay[] TABLES APER = aper CHANGING P_TEXT = ptext[] IT = it[] EXCEP = excep[] NI_ERR = ni_ERR[] RT = rt[] EXCEPTIONS CAT_NOT_ALLOWED = 1 T511K_NOT_FOUND = 2 T5G_NICPCT_NOT_FOUND = 3 T5G30_NOT_FOUND = 4 T5G37_NOT_FOUND = 5 MIN_PAY_VIOLATION = 6 PUBLIC_SECTOR_ERROR = 7 FEATURE_READ_ERROR = 8.

CD_READ call function 'CD_READ' EXPORTING in_seqnr = aper-seqnr IMPORTING out_seqnr = out_seqnr TABLES new_rgdir = new_rgdir EXCEPTIONS no_record_found = 1 others = 2.

RP_HIRE_FIRE call function 'RP_HIRE_FIRE' EXPORTING beg = '18000101' end = aper-chkdt IMPORTING fire_date = leave_date TABLES pphifi = phifi pp0000 = p0000 pp0001 = p0001.

HR_GET_BUSINESS_ADD_IN call function 'HR_GET_BUSINESS_ADD_IN' exporting exit_name = 'HRPAY_GB_ME_NI' * FLT_VAL = MOLGA importing is_implemented = g_exit_implemented changing instance = g_exit_instance.

HR_GB_NI_DATA_TAKE_ON call function 'HR_GB_NI_DATA_TAKE_ON' EXPORTING adjust_nic = 'X' p_pernr = pernr-pernr sw_prot = sw_prot TABLES nic = nic cnic = cnic aper = aper ni_err = ni_err p_text = ptext it = it p0874 = p0874 EXCEPTIONS err_general = 1.



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