Ansicht
Dokumentation

EXIT_RPUUSSG0_DAT - Customer Exit For USS Contributions Interfaces DATA

EXIT_RPUUSSG0_DAT - Customer Exit For USS Contributions Interfaces DATA

CL_GUI_FRONTEND_SERVICES - Frontend Services   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This Customer Exit allows customer specific amendments to be made to the extract for each Personnel Number that HAS ALREADY been selected using the standard processing;

Example

Perhaps certain employees in a specific employee group MUST have their Pension Contributions reduced by a specific amount. Then this could be coded here as a "override" even though the standard processing has created the record.

Notes

This routine is called after all amounts have been derived from ALL related PERNRs and totalled. Any amendments here will be directly reflected in the interface file.

If the Contributions, AVCs or Continued AVCs values are changed in this exit then they will be formatted and totalled for the reconciliation record correctly.

It is NOT possible to create a record. Adjustment of the figures is allowed, but not creation of the whole record!

To provide as much information as possible;

IF an ERROR or WARNING is raised and the system fields SY-MSGID, SY-MSGTY, SY-MSGNO, SY-MSGV1, SY-MSGV2, SY-MSGV3 & SY-MSGV4 have been filled, then these will be reported.

In both these cases, if the system fields have NOT been filled then following standard messages will be used; E057(HRPSGB_HER) & W058(HRPSGB_HER) respectively.

Further information

If a specific employee's amounts must be changed, then following code could be used.
*
DATA: INPUT_CURRENCY TYPE WAERS VALUE 'GBP'
*
CASE P_BEGDA(4). "Return Year
*
WHEN '2000'.
*
CASE P_PERNR "Personnel Number to change
*
WHEN '00000001'.
MOVE '1234.56' TO P_PEN_TOT. "Change Contributions
*
* The following currency conversion is ONLY necessary if you
* are entering HARD-CODED values in one currency (GBP) and the
* interface amounts are being returned in a different currency
* (EURO). This may never be an issue but you should be aware
* of the currency issues involved!
*
IF P_CURRENCY NE INPUT_CURRENCY.
CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
EXPORTING
DATE = P_ENDDA
FOREIGN_AMOUNT = P_PEN_TOT
FOREIGN_CURENCY = INPUT_CURRENCY
LOCAL_CURRENCY = P_CURRENCY
IMPORTING
LOCAL_AMOUNT = P_PEN_TOT
ENDIF.
*

ENDCASE. "Personnel Number to change

*
ENDCASE. "Return Year





Parameters

P_AVC_TOT
P_BEGDA
P_CARE
P_CARE_AVCS_TOT
P_CARE_NSNC_TOT
P_CARE_SSNC_TOT
P_CARE_VTE_AVCS_TOT
P_CARE_VTE_NSNC_TOT
P_CARE_VTE_SSNC_TOT
P_CON_TOT
P_CURRENCY
P_ENDDA
P_MONTHLY
P_MONTHLY_AVCS_TOT
P_MONTHLY_ENHP_TOT
P_MONTHLY_ILLH_TOT
P_MONTHLY_NSNC_TOT
P_MONTHLY_SSNC_TOT
P_MONTHLY_VTE_AVCS_TOT
P_MONTHLY_VTE_ILLH_TOT
P_MONTHLY_VTE_NSNC_TOT
P_MONTHLY_VTE_SSNC_TOT
P_PEN_TOT
P_PERNR
P_VTE

Exceptions

ERROR
WARNING

Function Group

XP08P1USS

CL_GUI_FRONTEND_SERVICES - Frontend Services   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 3403 Date: 20240523 Time: 081409     sap01-206 ( 50 ms )