PYKR_SET_SW_INT_TAKE_INT 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 PYKR_SET_SW_INT_TAKE_INT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
HRPAYKR03
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'PYKR_SET_SW_INT_TAKE_INT' "Setzen loan-sw_int_per & Zinsen abziehen, falls Zinsen fällig
EXPORTING
pf_lle = " maxbt HR Payroll: Amount
ps_p0045 = " p0045 HR Master Record: Infotype 0045 (Company Loans)
* pf_dltyp = " dltyp Loan category
* pt_p0045 = " pclo_p0045 Infotyptabelle: Darlehen
IMPORTING
pf_swint = " char1 Single-character flag
TABLES
ptx_lo = " pclo_lo_tab Loan Wage Types Table
CHANGING
psx_loan = " pclo_loan_data Loan Data in Payroll
EXCEPTIONS
PFX_RCODE = 1 "
. " PYKR_SET_SW_INT_TAKE_INT
The ABAP code below is a full code listing to execute function module PYKR_SET_SW_INT_TAKE_INT 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_pf_swint | TYPE CHAR1 , |
| it_ptx_lo | TYPE STANDARD TABLE OF PCLO_LO_TAB,"TABLES PARAM |
| wa_ptx_lo | LIKE LINE OF it_ptx_lo . |
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_psx_loan | TYPE PCLO_LOAN_DATA , |
| ld_pf_swint | TYPE CHAR1 , |
| ld_pf_lle | TYPE MAXBT , |
| it_ptx_lo | TYPE STANDARD TABLE OF PCLO_LO_TAB , |
| wa_ptx_lo | LIKE LINE OF it_ptx_lo, |
| ld_ps_p0045 | TYPE P0045 , |
| ld_pf_dltyp | TYPE DLTYP , |
| ld_pt_p0045 | TYPE PCLO_P0045 . |
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 PYKR_SET_SW_INT_TAKE_INT or its description.
PYKR_SET_SW_INT_TAKE_INT - Setzen loan-sw_int_per & Zinsen abziehen, falls Zinsen fällig PYKR_CALCULATE_INTEREST - Calculate interest PYIN_ADD_CUMULATION - PY-IN: Reset CRT for Rounding off wagetypes PYIE_SET_CUMULATION - HR-IE: Cumulation of national tables PYIE_ADD_CUMULATION - HR-IE: Cumulation of national tables PYGB_SET_CUMULATION - PY-GB: Cumulation of national tables