HR_FR_N4DS_GET_AT_RATES 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 HR_FR_N4DS_GET_AT_RATES into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
HRPAYFR_N4DS
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'HR_FR_N4DS_GET_AT_RATES' "
EXPORTING
io_empl = " cl_hrpayfr_n4ds_employee
iv_begda = " begda
iv_endda = " endda
IMPORTING
et_value = " p99sd_tab_value
et_at_attributes = " pfrds_at_attribute_tab
ev_returncode = " sy-subrc
. " HR_FR_N4DS_GET_AT_RATES
The ABAP code below is a full code listing to execute function module HR_FR_N4DS_GET_AT_RATES 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_et_value | TYPE P99SD_TAB_VALUE , |
| ld_et_at_attributes | TYPE PFRDS_AT_ATTRIBUTE_TAB , |
| ld_ev_returncode | TYPE SY-SUBRC . |
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_et_value | TYPE P99SD_TAB_VALUE , |
| ld_io_empl | TYPE CL_HRPAYFR_N4DS_EMPLOYEE , |
| ld_et_at_attributes | TYPE PFRDS_AT_ATTRIBUTE_TAB , |
| ld_iv_begda | TYPE BEGDA , |
| ld_ev_returncode | TYPE SY-SUBRC , |
| ld_iv_endda | TYPE ENDDA . |
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 HR_FR_N4DS_GET_AT_RATES or its description.