SAP HR_FR_GET_DATE_EFFECT_COTIS Function Module for









HR_FR_GET_DATE_EFFECT_COTIS is a standard hr fr get date effect cotis SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 fr get date effect cotis FM, simply by entering the name HR_FR_GET_DATE_EFFECT_COTIS into the relevant SAP transaction such as SE37 or SE38.

Function Group: 36CS
Program Name: SAPL36CS
Main Program: SAPL36CS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function HR_FR_GET_DATE_EFFECT_COTIS 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_FR_GET_DATE_EFFECT_COTIS'"
EXPORTING
* IM_ORGAN = "
* IM_MODEC = "
* IM_PERNR = "
IM_DATE = "
* IM_WPBP = "

IMPORTING
EX_INDEC = "
EX_TAB_DECAL = "
EX_RETURNCODE = "

TABLES
* T0000 = "
* T0001 = "
.



IMPORTING Parameters details for HR_FR_GET_DATE_EFFECT_COTIS

IM_ORGAN -

Data type: T5F1A-ORGAN
Optional: Yes
Call by Reference: Yes

IM_MODEC -

Data type: T5F1AC-MODEC
Optional: Yes
Call by Reference: Yes

IM_PERNR -

Data type: PERNR-PERNR
Optional: Yes
Call by Reference: Yes

IM_DATE -

Data type: D
Optional: No
Call by Reference: Yes

IM_WPBP -

Data type: P99SG_TAB_WPBP
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for HR_FR_GET_DATE_EFFECT_COTIS

EX_INDEC -

Data type: T5F1AC-INDEC
Optional: No
Call by Reference: Yes

EX_TAB_DECAL -

Data type: PFRS0_TAB_DECAL
Optional: No
Call by Reference: Yes

EX_RETURNCODE -

Data type: SY-SUBRC
Optional: No
Call by Reference: Yes

TABLES Parameters details for HR_FR_GET_DATE_EFFECT_COTIS

T0000 -

Data type: P0000
Optional: Yes
Call by Reference: Yes

T0001 -

Data type: P0001
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for HR_FR_GET_DATE_EFFECT_COTIS 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:
lt_t0000  TYPE STANDARD TABLE OF P0000, "   
lv_ex_indec  TYPE T5F1AC-INDEC, "   
lv_im_organ  TYPE T5F1A-ORGAN, "   
lt_t0001  TYPE STANDARD TABLE OF P0001, "   
lv_im_modec  TYPE T5F1AC-MODEC, "   
lv_ex_tab_decal  TYPE PFRS0_TAB_DECAL, "   
lv_im_pernr  TYPE PERNR-PERNR, "   
lv_ex_returncode  TYPE SY-SUBRC, "   
lv_im_date  TYPE D, "   
lv_im_wpbp  TYPE P99SG_TAB_WPBP. "   

  CALL FUNCTION 'HR_FR_GET_DATE_EFFECT_COTIS'  "
    EXPORTING
         IM_ORGAN = lv_im_organ
         IM_MODEC = lv_im_modec
         IM_PERNR = lv_im_pernr
         IM_DATE = lv_im_date
         IM_WPBP = lv_im_wpbp
    IMPORTING
         EX_INDEC = lv_ex_indec
         EX_TAB_DECAL = lv_ex_tab_decal
         EX_RETURNCODE = lv_ex_returncode
    TABLES
         T0000 = lt_t0000
         T0001 = lt_t0001
. " HR_FR_GET_DATE_EFFECT_COTIS




ABAP code using 7.40 inline data declarations to call FM HR_FR_GET_DATE_EFFECT_COTIS

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.

 
"SELECT single INDEC FROM T5F1AC INTO @DATA(ld_ex_indec).
 
"SELECT single ORGAN FROM T5F1A INTO @DATA(ld_im_organ).
 
 
"SELECT single MODEC FROM T5F1AC INTO @DATA(ld_im_modec).
 
 
"SELECT single PERNR FROM PERNR INTO @DATA(ld_im_pernr).
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_ex_returncode).
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!