SAP HR_NL_SV_FILL_CUM_DATA_2 Function Module for Cumulatieve SV tabel vullen
HR_NL_SV_FILL_CUM_DATA_2 is a standard hr nl sv fill cum data 2 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Cumulatieve SV tabel vullen processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for hr nl sv fill cum data 2 FM, simply by entering the name HR_NL_SV_FILL_CUM_DATA_2 into the relevant SAP transaction such as SE37 or SE38.
Function Group: RPNL_SV
Program Name: SAPLRPNL_SV
Main Program: SAPLRPNL_SV
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function HR_NL_SV_FILL_CUM_DATA_2 pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'HR_NL_SV_FILL_CUM_DATA_2'"Cumulatieve SV tabel vullen.
EXPORTING
IMP_SV = "Afrekeningsresultaten: sociale verzekering (NL)
IMP_WA_SV = "Afrekeningsresultaten: sociale verzekering (NL)
IMP_DATUM = "Datum
CHANGING
CH_OBM_FILLED = "OBM gevuld
CH_ZVW_FILLED = "ZVW gevuld
CH_GAM_FILLED = "GAM gevuld
TABLES
TAB_SV_DATA = "SV gegevens voor lezen data
TAB_CUM_SV_DATA = "Cumulatieve SV gegevens
TAB_ORT = "Afrekeningsresultaat: resultaattabel
TAB_OSV = "Afrekeningsresultaten: sociale verzekering (NL)
TAB_I5N1L = "Premiegegevens sociale verzekeringen
IMPORTING Parameters details for HR_NL_SV_FILL_CUM_DATA_2
IMP_SV - Afrekeningsresultaten: sociale verzekering (NL)
Data type: PC227Optional: No
Call by Reference: Yes
IMP_WA_SV - Afrekeningsresultaten: sociale verzekering (NL)
Data type: P05_SV_GEGEVENSOptional: No
Call by Reference: Yes
IMP_DATUM - Datum
Data type: DATUMOptional: No
Call by Reference: Yes
CHANGING Parameters details for HR_NL_SV_FILL_CUM_DATA_2
CH_OBM_FILLED - OBM gevuld
Data type: CHAR1Optional: No
Call by Reference: No ( called with pass by value option)
CH_ZVW_FILLED - ZVW gevuld
Data type: CHAR1Optional: No
Call by Reference: No ( called with pass by value option)
CH_GAM_FILLED - GAM gevuld
Data type: CHAR1Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for HR_NL_SV_FILL_CUM_DATA_2
TAB_SV_DATA - SV gegevens voor lezen data
Data type: P05_SV_DATAOptional: No
Call by Reference: Yes
TAB_CUM_SV_DATA - Cumulatieve SV gegevens
Data type: P05_CUM_SV_DATAOptional: No
Call by Reference: Yes
TAB_ORT - Afrekeningsresultaat: resultaattabel
Data type: PC207Optional: No
Call by Reference: Yes
TAB_OSV - Afrekeningsresultaten: sociale verzekering (NL)
Data type: PC227Optional: No
Call by Reference: Yes
TAB_I5N1L - Premiegegevens sociale verzekeringen
Data type: T5N1LOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for HR_NL_SV_FILL_CUM_DATA_2 Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.DATA: | ||||
lv_imp_sv | TYPE PC227, " | |||
lt_tab_sv_data | TYPE STANDARD TABLE OF P05_SV_DATA, " | |||
lv_ch_obm_filled | TYPE CHAR1, " | |||
lv_imp_wa_sv | TYPE P05_SV_GEGEVENS, " | |||
lv_ch_zvw_filled | TYPE CHAR1, " | |||
lt_tab_cum_sv_data | TYPE STANDARD TABLE OF P05_CUM_SV_DATA, " | |||
lt_tab_ort | TYPE STANDARD TABLE OF PC207, " | |||
lv_imp_datum | TYPE DATUM, " | |||
lv_ch_gam_filled | TYPE CHAR1, " | |||
lt_tab_osv | TYPE STANDARD TABLE OF PC227, " | |||
lt_tab_i5n1l | TYPE STANDARD TABLE OF T5N1L. " |
  CALL FUNCTION 'HR_NL_SV_FILL_CUM_DATA_2' "Cumulatieve SV tabel vullen |
EXPORTING | ||
IMP_SV | = lv_imp_sv | |
IMP_WA_SV | = lv_imp_wa_sv | |
IMP_DATUM | = lv_imp_datum | |
CHANGING | ||
CH_OBM_FILLED | = lv_ch_obm_filled | |
CH_ZVW_FILLED | = lv_ch_zvw_filled | |
CH_GAM_FILLED | = lv_ch_gam_filled | |
TABLES | ||
TAB_SV_DATA | = lt_tab_sv_data | |
TAB_CUM_SV_DATA | = lt_tab_cum_sv_data | |
TAB_ORT | = lt_tab_ort | |
TAB_OSV | = lt_tab_osv | |
TAB_I5N1L | = lt_tab_i5n1l | |
. " HR_NL_SV_FILL_CUM_DATA_2 |
ABAP code using 7.40 inline data declarations to call FM HR_NL_SV_FILL_CUM_DATA_2
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects