SAP HR_FR_GET_CAISSE Function Module for









HR_FR_GET_CAISSE is a standard hr fr get caisse 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 caisse FM, simply by entering the name HR_FR_GET_CAISSE 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_CAISSE 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_CAISSE'"
EXPORTING
IM_CATEG = "
* IM_PERNR = "
IM_DATE = "
* IM_WERKS = "
* IV_BTRTL = "
* IM_P0064 = "
* IM_SV = "

IMPORTING
EX_CAISSE = "
EX_RETURNCODE = "

CHANGING
* CH_TAB_ERROR = "

TABLES
* SV = "
* WPBP = "
* P0064 = "
* P0001 = "
.



IMPORTING Parameters details for HR_FR_GET_CAISSE

IM_CATEG -

Data type: T5F1A-CATEG
Optional: No
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_WERKS -

Data type: T5F1P-WERKS
Optional: Yes
Call by Reference: Yes

IV_BTRTL -

Data type: T5F1P-BTRTL
Optional: Yes
Call by Reference: Yes

IM_P0064 -

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

IM_SV -

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

EXPORTING Parameters details for HR_FR_GET_CAISSE

EX_CAISSE -

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

EX_RETURNCODE -

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

CHANGING Parameters details for HR_FR_GET_CAISSE

CH_TAB_ERROR -

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

TABLES Parameters details for HR_FR_GET_CAISSE

SV -

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

WPBP -

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

P0064 -

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

P0001 -

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

Copy and paste ABAP code example for HR_FR_GET_CAISSE 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_sv  TYPE STANDARD TABLE OF PFRU0_TAB_SV, "   
lv_im_categ  TYPE T5F1A-CATEG, "   
lv_ex_caisse  TYPE PFRS0_CAISSE, "   
lv_ch_tab_error  TYPE P99SF_TAB_ERROR, "   
lt_wpbp  TYPE STANDARD TABLE OF P99SG_TAB_WPBP, "   
lv_im_pernr  TYPE PERNR-PERNR, "   
lv_ex_returncode  TYPE SY-SUBRC, "   
lt_p0064  TYPE STANDARD TABLE OF P0064, "   
lv_im_date  TYPE D, "   
lt_p0001  TYPE STANDARD TABLE OF P0001, "   
lv_im_werks  TYPE T5F1P-WERKS, "   
lv_iv_btrtl  TYPE T5F1P-BTRTL, "   
lv_im_p0064  TYPE P0064, "   
lv_im_sv  TYPE PC223. "   

  CALL FUNCTION 'HR_FR_GET_CAISSE'  "
    EXPORTING
         IM_CATEG = lv_im_categ
         IM_PERNR = lv_im_pernr
         IM_DATE = lv_im_date
         IM_WERKS = lv_im_werks
         IV_BTRTL = lv_iv_btrtl
         IM_P0064 = lv_im_p0064
         IM_SV = lv_im_sv
    IMPORTING
         EX_CAISSE = lv_ex_caisse
         EX_RETURNCODE = lv_ex_returncode
    CHANGING
         CH_TAB_ERROR = lv_ch_tab_error
    TABLES
         SV = lt_sv
         WPBP = lt_wpbp
         P0064 = lt_p0064
         P0001 = lt_p0001
. " HR_FR_GET_CAISSE




ABAP code using 7.40 inline data declarations to call FM HR_FR_GET_CAISSE

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 CATEG FROM T5F1A INTO @DATA(ld_im_categ).
 
 
 
 
"SELECT single PERNR FROM PERNR INTO @DATA(ld_im_pernr).
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_ex_returncode).
 
 
 
 
"SELECT single WERKS FROM T5F1P INTO @DATA(ld_im_werks).
 
"SELECT single BTRTL FROM T5F1P INTO @DATA(ld_iv_btrtl).
 
 
 


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!