EXIT_RPUUSSG0_DAT is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name EXIT_RPUUSSG0_DAT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
XP08P1USS
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'EXIT_RPUUSSG0_DAT' "Customer Exit For USS Contributions Interfaces DATA
EXPORTING
p_pernr = " p_pernr Personnel Number
p_begda = " sydatum Return Year Start Date
p_endda = " sydatum Return Year End Date
p_currency = " waers Currency key
p_care = " xfeld Checkbox
p_vte = " xfeld Checkbox
p_monthly = " xfeld Checkbox
* CHANGING
* p_pen_tot = " maxbt HR Payroll: Amount
* p_avc_tot = " maxbt HR Payroll: Amount
* p_con_tot = " maxbt HR Payroll: Amount
* p_care_nsnc_tot = " maxbt HR Payroll: Amount
* p_care_ssnc_tot = " maxbt HR Payroll: Amount
* p_care_avcs_tot = " maxbt HR Payroll: Amount
* p_care_vte_nsnc_tot = " maxbt HR Payroll: Amount
* p_care_vte_ssnc_tot = " maxbt HR Payroll: Amount
* p_care_vte_avcs_tot = " maxbt HR Payroll: Amount
* p_monthly_nsnc_tot = " maxbt HR Payroll: Amount
* p_monthly_ssnc_tot = " maxbt HR Payroll: Amount
* p_monthly_avcs_tot = " maxbt HR Payroll: Amount
* p_monthly_illh_tot = " maxbt HR Payroll: Amount
* p_monthly_enhp_tot = " maxbt HR Payroll: Amount
* p_monthly_vte_nsnc_tot = " maxbt HR Payroll: Amount
* p_monthly_vte_ssnc_tot = " maxbt HR Payroll: Amount
* p_monthly_vte_avcs_tot = " maxbt HR Payroll: Amount
* p_monthly_vte_illh_tot = " maxbt HR Payroll: Amount
EXCEPTIONS
ERROR = 1 " Error occurred during data processing
WARNING = 2 " Warning occurred during data processing
. " EXIT_RPUUSSG0_DAT
The ABAP code below is a full code listing to execute function module EXIT_RPUUSSG0_DAT including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
DATA(ld_p_pen_tot) = 'Check type of data required'.
DATA(ld_p_avc_tot) = 'Check type of data required'.
DATA(ld_p_con_tot) = 'Check type of data required'.
DATA(ld_p_care_nsnc_tot) = 'Check type of data required'.
DATA(ld_p_care_ssnc_tot) = 'Check type of data required'.
DATA(ld_p_care_avcs_tot) = 'Check type of data required'.
DATA(ld_p_care_vte_nsnc_tot) = 'Check type of data required'.
DATA(ld_p_care_vte_ssnc_tot) = 'Check type of data required'.
DATA(ld_p_care_vte_avcs_tot) = 'Check type of data required'.
DATA(ld_p_monthly_nsnc_tot) = 'Check type of data required'.
DATA(ld_p_monthly_ssnc_tot) = 'Check type of data required'.
DATA(ld_p_monthly_avcs_tot) = 'Check type of data required'.
DATA(ld_p_monthly_illh_tot) = 'Check type of data required'.
DATA(ld_p_monthly_enhp_tot) = 'Check type of data required'.
DATA(ld_p_monthly_vte_nsnc_tot) = 'Check type of data required'.
DATA(ld_p_monthly_vte_ssnc_tot) = 'Check type of data required'.
DATA(ld_p_monthly_vte_avcs_tot) = 'Check type of data required'.
DATA(ld_p_monthly_vte_illh_tot) = 'Check type of data required'.
DATA(ld_p_pernr) = 'Check type of data required'.
DATA(ld_p_begda) = '20210129'.
DATA(ld_p_endda) = '20210129'.
DATA(ld_p_currency) = '20210129'.
DATA(ld_p_care) = '20210129'.
DATA(ld_p_vte) = '20210129'.
DATA(ld_p_monthly) = '20210129'. . CALL FUNCTION 'EXIT_RPUUSSG0_DAT' EXPORTING p_pernr = ld_p_pernr p_begda = ld_p_begda p_endda = ld_p_endda p_currency = ld_p_currency p_care = ld_p_care p_vte = ld_p_vte p_monthly = ld_p_monthly * CHANGING * p_pen_tot = ld_p_pen_tot * p_avc_tot = ld_p_avc_tot * p_con_tot = ld_p_con_tot * p_care_nsnc_tot = ld_p_care_nsnc_tot * p_care_ssnc_tot = ld_p_care_ssnc_tot * p_care_avcs_tot = ld_p_care_avcs_tot * p_care_vte_nsnc_tot = ld_p_care_vte_nsnc_tot * p_care_vte_ssnc_tot = ld_p_care_vte_ssnc_tot * p_care_vte_avcs_tot = ld_p_care_vte_avcs_tot * p_monthly_nsnc_tot = ld_p_monthly_nsnc_tot * p_monthly_ssnc_tot = ld_p_monthly_ssnc_tot * p_monthly_avcs_tot = ld_p_monthly_avcs_tot * p_monthly_illh_tot = ld_p_monthly_illh_tot * p_monthly_enhp_tot = ld_p_monthly_enhp_tot * p_monthly_vte_nsnc_tot = ld_p_monthly_vte_nsnc_tot * p_monthly_vte_ssnc_tot = ld_p_monthly_vte_ssnc_tot * p_monthly_vte_avcs_tot = ld_p_monthly_vte_avcs_tot * p_monthly_vte_illh_tot = ld_p_monthly_vte_illh_tot EXCEPTIONS ERROR = 1 WARNING = 2 . " EXIT_RPUUSSG0_DAT
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ENDIF.
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_p_pen_tot | TYPE MAXBT , |
| ld_p_pernr | TYPE P_PERNR , |
| ld_p_avc_tot | TYPE MAXBT , |
| ld_p_begda | TYPE SYDATUM , |
| ld_p_con_tot | TYPE MAXBT , |
| ld_p_endda | TYPE SYDATUM , |
| ld_p_care_nsnc_tot | TYPE MAXBT , |
| ld_p_currency | TYPE WAERS , |
| ld_p_care_ssnc_tot | TYPE MAXBT , |
| ld_p_care | TYPE XFELD , |
| ld_p_care_avcs_tot | TYPE MAXBT , |
| ld_p_vte | TYPE XFELD , |
| ld_p_care_vte_nsnc_tot | TYPE MAXBT , |
| ld_p_monthly | TYPE XFELD , |
| ld_p_care_vte_ssnc_tot | TYPE MAXBT , |
| ld_p_care_vte_avcs_tot | TYPE MAXBT , |
| ld_p_monthly_nsnc_tot | TYPE MAXBT , |
| ld_p_monthly_ssnc_tot | TYPE MAXBT , |
| ld_p_monthly_avcs_tot | TYPE MAXBT , |
| ld_p_monthly_illh_tot | TYPE MAXBT , |
| ld_p_monthly_enhp_tot | TYPE MAXBT , |
| ld_p_monthly_vte_nsnc_tot | TYPE MAXBT , |
| ld_p_monthly_vte_ssnc_tot | TYPE MAXBT , |
| ld_p_monthly_vte_avcs_tot | TYPE MAXBT , |
| ld_p_monthly_vte_illh_tot | TYPE MAXBT . |
This Customer Exit allows customer specific amendments to be made to
the extract for each Personnel Number that HAS ALREADY been selected
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name EXIT_RPUUSSG0_DAT or its description.
EXIT_RPUUSSG0_DAT - Customer Exit For USS Contributions Interfaces DATA EXIT_RPUUSSG0_CHK - Customer Exit For USS Contributions Interfaces CHECK EXIT_RPUREFG0_001 - HR PS GB User exit for creating ref.pers. EXIT_RPUCOB02_003 - Function Exit In Form CLOSE_CURRENT_SPOOL_JOB EXIT_RPUCOB02_002 - Function Exit in Form GENERATE_EVENT_LETTER EXIT_RPUCOB02_001 - Function Exit In Form CLOSE_CURRENT_SPOOL_JOB