SAP FI_CHECK_DATE Function Module for









FI_CHECK_DATE is a standard fi check date 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 fi check date FM, simply by entering the name FI_CHECK_DATE into the relevant SAP transaction such as SE37 or SE38.

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



Function FI_CHECK_DATE 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 'FI_CHECK_DATE'"
EXPORTING
I_BUKRS = "
* I_APPLK = 'FI-FI' "
I_USER = "
I_PROGRAM = "
* I_FROM_DATE = "
* I_TO_DATE = "
* I_FROM_PER = "
* I_TO_PER = "
* I_FROM_YEAR = "
* I_TO_YEAR = "

IMPORTING
E_RETURN = "

EXCEPTIONS
NO_AUTHORITY_PROG = 1 NO_AUTHORITY_DATE = 2 WRONG_PARAMETER = 3
.



IMPORTING Parameters details for FI_CHECK_DATE

I_BUKRS -

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

I_APPLK -

Data type: APPLK_BF
Default: 'FI-FI'
Optional: Yes
Call by Reference: Yes

I_USER -

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

I_PROGRAM -

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

I_FROM_DATE -

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

I_TO_DATE -

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

I_FROM_PER -

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

I_TO_PER -

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

I_FROM_YEAR -

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

I_TO_YEAR -

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

EXPORTING Parameters details for FI_CHECK_DATE

E_RETURN -

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

EXCEPTIONS details

NO_AUTHORITY_PROG -

Data type:
Optional: No
Call by Reference: Yes

NO_AUTHORITY_DATE -

Data type:
Optional: No
Call by Reference: Yes

WRONG_PARAMETER -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FI_CHECK_DATE 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_i_bukrs  TYPE BUKRS, "   
lv_e_return  TYPE CHAR1, "   
lv_no_authority_prog  TYPE CHAR1, "   
lv_i_applk  TYPE APPLK_BF, "   'FI-FI'
lv_i_user  TYPE USNAM, "   
lv_no_authority_date  TYPE USNAM, "   
lv_i_program  TYPE PROGNAME, "   
lv_wrong_parameter  TYPE PROGNAME, "   
lv_i_from_date  TYPE DATS, "   
lv_i_to_date  TYPE DATS, "   
lv_i_from_per  TYPE ABPER_RFBI, "   
lv_i_to_per  TYPE ABPER_RFBI, "   
lv_i_from_year  TYPE GJAHR, "   
lv_i_to_year  TYPE GJAHR. "   

  CALL FUNCTION 'FI_CHECK_DATE'  "
    EXPORTING
         I_BUKRS = lv_i_bukrs
         I_APPLK = lv_i_applk
         I_USER = lv_i_user
         I_PROGRAM = lv_i_program
         I_FROM_DATE = lv_i_from_date
         I_TO_DATE = lv_i_to_date
         I_FROM_PER = lv_i_from_per
         I_TO_PER = lv_i_to_per
         I_FROM_YEAR = lv_i_from_year
         I_TO_YEAR = lv_i_to_year
    IMPORTING
         E_RETURN = lv_e_return
    EXCEPTIONS
        NO_AUTHORITY_PROG = 1
        NO_AUTHORITY_DATE = 2
        WRONG_PARAMETER = 3
. " FI_CHECK_DATE




ABAP code using 7.40 inline data declarations to call FM FI_CHECK_DATE

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.

 
 
 
DATA(ld_i_applk) = 'FI-FI'.
 
 
 
 
 
 
 
 
 
 
 


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!