HR_PL_PY_GET_FEP_FACTOR 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_PL_PY_GET_FEP_FACTOR into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
HRPAYPLEVAL
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'HR_PL_PY_GET_FEP_FACTOR' "
EXPORTING
pernr = " persno
aper = " pc2aper
class81 = " char2
* tmunit = " c
TABLES
p0516 = " p0516
* rt = " pc207
* wpbp = " pc205
CHANGING
source = " pc207
fact_data = " pplpl_fact_data
EXCEPTIONS
RT_MISSING = 1 "
WPBP_MISSING = 2 "
OTHER_ERROR = 3 "
. " HR_PL_PY_GET_FEP_FACTOR
The ABAP code below is a full code listing to execute function module HR_PL_PY_GET_FEP_FACTOR 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).
| it_p0516 | TYPE STANDARD TABLE OF P0516,"TABLES PARAM |
| wa_p0516 | LIKE LINE OF it_p0516 , |
| it_rt | TYPE STANDARD TABLE OF PC207,"TABLES PARAM |
| wa_rt | LIKE LINE OF it_rt , |
| it_wpbp | TYPE STANDARD TABLE OF PC205,"TABLES PARAM |
| wa_wpbp | LIKE LINE OF it_wpbp . |
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_source | TYPE PC207 , |
| ld_pernr | TYPE PERSNO , |
| it_p0516 | TYPE STANDARD TABLE OF P0516 , |
| wa_p0516 | LIKE LINE OF it_p0516, |
| ld_fact_data | TYPE PPLPL_FACT_DATA , |
| ld_aper | TYPE PC2APER , |
| it_rt | TYPE STANDARD TABLE OF PC207 , |
| wa_rt | LIKE LINE OF it_rt, |
| ld_class81 | TYPE CHAR2 , |
| it_wpbp | TYPE STANDARD TABLE OF PC205 , |
| wa_wpbp | LIKE LINE OF it_wpbp, |
| ld_tmunit | TYPE C . |
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_PL_PY_GET_FEP_FACTOR or its description.