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

RPPCUPG0_UPD SAP ABAP Report - Batch Update Of Infotype 0071 with contribution rates and band levels







RPPCUPG0_UPD is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report updates the Pension Funds GB infotype (0071) with the changed or updated pension details from the following tables: Pension Contribution Calculation Rule Bands table (T5G33) Pension Contribution Calculation Rule - Flat Rates table (T5G34) Pension Contribution Calculation Rule - Percentages table (T5G35) Pension Contribution Calculation Rule - Mix table (T5G36) The report updates those infotype records where the EE specific record indicator is deselected...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RPPCUPG0_UPD into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M08_PCTAB_UPD - Update the infotype 0071 with contri
PC00_M08_RPPCUPG0_UP - Update the infotype 0071 with contri


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


Text pool values


Selection Text: SCHID = Pension scheme ID
Selection Text: PERDATE = Effective rule change date
Selection Text: MOD5 = Create new entry only
Selection Text: MOD4 = Don't update pension band lvls
Selection Text: MOD3 = Update pension band levels
Selection Text: MOD2 = Don't update contrib. rates
Selection Text: MOD1 = Update contribution rates
Selection Text: MAPNAME = Batch session name
Title: Batch Update Of Infotype 0071 with contribution rates and band levels
Text Symbol: 032 = Percent
Text Symbol: 033 = Mixed
Text Symbol: 034 = Rate
Text Symbol: 035 = Flat
Text Symbol: 036 = Pcnt
Text Symbol: 037 = Old Val
Text Symbol: 038 = New Val
Text Symbol: 039 = Low
Text Symbol: 040 = Med
Text Symbol: 041 = High
Text Symbol: 042 = Page
Text Symbol: 043 = Contribution Rate/Rule Changes
Text Symbol: 044 = Band Level Changes
Text Symbol: 045 = Batch Input
Text Symbol: 046 = Display List
Text Symbol: 047 = Total number of employees
Text Symbol: 090 = Pension schemes
Text Symbol: 091 = Unable to calculate currency conversion:
Text Symbol: 097 = The "Create new entry only " cannot be selected
Text Symbol: 098 = with update contribution rates or band levels
Text Symbol: 099 = Date Delimitation Only
Text Symbol: 001 = Pension scheme
Text Symbol: 002 = Update Options
Text Symbol: 003 = Conversion period
Text Symbol: 004 = Batch session information
Text Symbol: 005 = Contribution rates
Text Symbol: 006 = Band levels
Text Symbol: 007 = Update
Text Symbol: 008 = Simulation





Text Symbol: 009 = Band Lvs
Text Symbol: 010 = Flat Cont Rt
Text Symbol: 011 = Pcnt Cont Rt
Text Symbol: 012 = Mixd Cont Rt
Text Symbol: 013 = Valid
Text Symbol: 014 = to
Text Symbol: 015 = Display options
Text Symbol: 016 = Emplyee
Text Symbol: 017 = Emplyer
Text Symbol: 018 = Upd/Sim
Text Symbol: 019 = Update type
Text Symbol: 020 = Old lw lv
Text Symbol: 021 = New Lw Lv
Text Symbol: 022 = Old Hg Lv
Text Symbol: 023 = New Hg Lv
Text Symbol: 025 = Old
Text Symbol: 026 = New
Text Symbol: 027 = High
Text Symbol: 028 = Low
Text Symbol: 029 = Band
Text Symbol: 030 = Level
Text Symbol: 031 = Flat


INCLUDES used within this REPORT RPPCUPG0_UPD

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_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'GBCHG' struc_content = l_pmegc IMPORTING back = l_date_char10 EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6.

RP_SET_NAME_FORMAT CALL FUNCTION 'RP_SET_NAME_FORMAT' EXPORTING REPID = sy-repid IMPORTING FORMAT = format_gb.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING PERNR = PERNR-PERNR ARBGB = '5G' MSGTY = 'E' MSGNO = '602' MSGV1 = SPACE MSGV2 = SPACE MSGV3 = SPACE MSGV4 = SPACE.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

HR_GB_RE5G30 call function 'HR_GB_RE5G30' exporting SCHID = P0071-SUBTY(3) PDATE = P0071-BEGDA WITH_NAME = 'X' importing h_t5G30 = h_t5G30 " Pension Schemes h_t5G3t = h_t5G3t " Pension Scheme Names exceptions scheme_id_not_found = 1 others = 2.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING PERNR = PERNR-PERNR arbgb = '5G' MSGTY = 'E' MSGNO = '603' MSGV1 = P0071-SCREF msgv2 = 'T5G30' MSGV3 = SPACE MSGV4 = SPACE.

HR_GB_RE5G33 call function 'HR_GB_RE5G33' exporting SCHID = P0071-SUBTY(3) PDATE = P0071-BEGDA importing h_t5G31 = h_t5G31 tables i_t5G33 = i_t5G33 i_t5G34 = i_t5G34 i_t5G35 = i_t5G35 i_t5G36 = i_t5G36 exceptions scheme_id_not_found = 1 pension_band_not_found = 2 pension_band_values_not_found = 3 others = 4.






HR_APPEND_ERROR_LIST call function 'HR_APPEND_ERROR_LIST' exporting pernr = pernr-pernr arbgb = '5G' msgty = 'E' msgno = '603' MSGV1 = P0071-SUBTY msgv2 = 'T5G33' MSGV3 = SPACE msgv4 = space.

HR_APPEND_ERROR_LIST call function 'HR_APPEND_ERROR_LIST' exporting pernr = pernr-pernr arbgb = '5G' msgty = 'E' MSGNO = '604' MSGV1 = P0071-SUBTY MSGV2 = SPACE MSGV3 = SPACE msgv4 = space.

TRANSFER_NAMES_TO_FIELDS CALL FUNCTION 'TRANSFER_NAMES_TO_FIELDS' EXPORTING SELECTFIELD = FIELDNAME TABLES FIELDS = FIELDS NAMELIST = LIST_OF_FIELDS EXCEPTIONS WRONG_FORMAT_GIVEN = 1 OTHERS = 2.

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING SELECTFIELD = FIELDNAME TITEL = TITLE IMPORTING IND = IND TABLES FIELDS = FIELDS FULL_TABLE = INTTAB EXCEPTIONS FULL_TABLE_EMPTY = 1 NO_TABLESTRUCTURE_GIVEN = 2 NO_TABLEFIELDS_IN_DICTIONARY = 3 MORE_THEN_ONE_SELECTFIELD = 4 NO_SELECTFIELD = 5 OTHERS = 6.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING DATE = PERDATE-LOW FOREIGN_CURRENCY = P0071-WAERS LOCAL_AMOUNT = $AMOUNT LOCAL_CURRENCY = T500C-WAERS IMPORTING FOREIGN_AMOUNT = $AMOUNT EXCEPTIONS NO_RATE_FOUND = 1 OVERFLOW = 2 NO_FACTORS_FOUND = 3 NO_SPREAD_FOUND = 4 DERIVED_2_TIMES = 5 OTHERS = 6.

HR_PAL_STATS_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_stcnt = emp_count i_msgid = 'BL' * i_msgty = 'S' i_msgno = '001' i_msgv1 = text-047 EXCEPTIONS OTHERS = 99.



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