EXIT_RPCALCB0_001 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_RPCALCB0_001 into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
PA12
Released Date:
08.10.1996
Processing type: Normal fucntion module
CALL FUNCTION 'EXIT_RPCALCB0_001' "Usage of additional fields in payroll daydetails
EXPORTING
pernr = " prel-pernr
rules = "
att = "
abs = "
IMPORTING
subrc = " sy-subrc
TABLES
ce_daydet = " pc286
ce_psp = " pc2ba
ce_ab = " pc20i
ce_zl = " pc2bf
ce_rt = " pc207
ce_c0 = " pc20a
ce_c1 = " pc25x
. " EXIT_RPCALCB0_001
The ABAP code below is a full code listing to execute function module EXIT_RPCALCB0_001 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).
| ld_subrc | TYPE SY-SUBRC , |
| it_ce_daydet | TYPE STANDARD TABLE OF PC286,"TABLES PARAM |
| wa_ce_daydet | LIKE LINE OF it_ce_daydet , |
| it_ce_psp | TYPE STANDARD TABLE OF PC2BA,"TABLES PARAM |
| wa_ce_psp | LIKE LINE OF it_ce_psp , |
| it_ce_ab | TYPE STANDARD TABLE OF PC20I,"TABLES PARAM |
| wa_ce_ab | LIKE LINE OF it_ce_ab , |
| it_ce_zl | TYPE STANDARD TABLE OF PC2BF,"TABLES PARAM |
| wa_ce_zl | LIKE LINE OF it_ce_zl , |
| it_ce_rt | TYPE STANDARD TABLE OF PC207,"TABLES PARAM |
| wa_ce_rt | LIKE LINE OF it_ce_rt , |
| it_ce_c0 | TYPE STANDARD TABLE OF PC20A,"TABLES PARAM |
| wa_ce_c0 | LIKE LINE OF it_ce_c0 , |
| it_ce_c1 | TYPE STANDARD TABLE OF PC25X,"TABLES PARAM |
| wa_ce_c1 | LIKE LINE OF it_ce_c1 . |
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_subrc | TYPE SY-SUBRC , |
| ld_pernr | TYPE PREL-PERNR , |
| it_ce_daydet | TYPE STANDARD TABLE OF PC286 , |
| wa_ce_daydet | LIKE LINE OF it_ce_daydet, |
| ld_rules | TYPE STRING , |
| it_ce_psp | TYPE STANDARD TABLE OF PC2BA , |
| wa_ce_psp | LIKE LINE OF it_ce_psp, |
| ld_att | TYPE STRING , |
| it_ce_ab | TYPE STANDARD TABLE OF PC20I , |
| wa_ce_ab | LIKE LINE OF it_ce_ab, |
| ld_abs | TYPE STRING , |
| it_ce_zl | TYPE STANDARD TABLE OF PC2BF , |
| wa_ce_zl | LIKE LINE OF it_ce_zl, |
| it_ce_rt | TYPE STANDARD TABLE OF PC207 , |
| wa_ce_rt | LIKE LINE OF it_ce_rt, |
| it_ce_c0 | TYPE STANDARD TABLE OF PC20A , |
| wa_ce_c0 | LIKE LINE OF it_ce_c0, |
| it_ce_c1 | TYPE STANDARD TABLE OF PC25X , |
| wa_ce_c1 | LIKE LINE OF it_ce_c1. |
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_RPCALCB0_001 or its description.