SAP ISH_FI_PERIOD_CHECK Function Module for









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

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



Function ISH_FI_PERIOD_CHECK 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 'ISH_FI_PERIOD_CHECK'"
EXPORTING
BUDAT = "Posting date for which period is checked
* CHECK_PERIOD = 'X' "Check period?
EINRICHTUNG = "Institution
* I_KOART = '+' "Account Type
* I_KONTO = ' ' "
* I_CUSTOMER = ' ' "FI Customer
* I_UMSKZ = ' ' "Special G/L Indicator

IMPORTING
E_GJAHR = "Fiscal year determined from posting date
E_MONAT = "Period determined from posting date
E_PERIOD_CLOSED = "

EXCEPTIONS
ERROR_PERIOD = 1 CUSTOMER_NOT_FOUND = 2
.



IMPORTING Parameters details for ISH_FI_PERIOD_CHECK

BUDAT - Posting date for which period is checked

Data type: SY-DATUM
Optional: No
Call by Reference: No ( called with pass by value option)

CHECK_PERIOD - Check period?

Data type:
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EINRICHTUNG - Institution

Data type: TN01-EINRI
Optional: No
Call by Reference: No ( called with pass by value option)

I_KOART - Account Type

Data type:
Default: '+'
Optional: Yes
Call by Reference: Yes

I_KONTO -

Data type:
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_CUSTOMER - FI Customer

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_UMSKZ - Special G/L Indicator

Data type: BSEG-UMSKZ
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ISH_FI_PERIOD_CHECK

E_GJAHR - Fiscal year determined from posting date

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

E_MONAT - Period determined from posting date

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

E_PERIOD_CLOSED -

Data type: ISH_ON_OFF
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

ERROR_PERIOD - Period not opened -->F2

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

CUSTOMER_NOT_FOUND - Customer not found

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISH_FI_PERIOD_CHECK 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_budat  TYPE SY-DATUM, "   
lv_e_gjahr  TYPE SY, "   
lv_error_period  TYPE SY, "   
lv_e_monat  TYPE SY, "   
lv_check_period  TYPE SY, "   'X'
lv_customer_not_found  TYPE SY, "   
lv_einrichtung  TYPE TN01-EINRI, "   
lv_e_period_closed  TYPE ISH_ON_OFF, "   
lv_i_koart  TYPE ISH_ON_OFF, "   '+'
lv_i_konto  TYPE ISH_ON_OFF, "   SPACE
lv_i_customer  TYPE ISH_ON_OFF, "   SPACE
lv_i_umskz  TYPE BSEG-UMSKZ. "   SPACE

  CALL FUNCTION 'ISH_FI_PERIOD_CHECK'  "
    EXPORTING
         BUDAT = lv_budat
         CHECK_PERIOD = lv_check_period
         EINRICHTUNG = lv_einrichtung
         I_KOART = lv_i_koart
         I_KONTO = lv_i_konto
         I_CUSTOMER = lv_i_customer
         I_UMSKZ = lv_i_umskz
    IMPORTING
         E_GJAHR = lv_e_gjahr
         E_MONAT = lv_e_monat
         E_PERIOD_CLOSED = lv_e_period_closed
    EXCEPTIONS
        ERROR_PERIOD = 1
        CUSTOMER_NOT_FOUND = 2
. " ISH_FI_PERIOD_CHECK




ABAP code using 7.40 inline data declarations to call FM ISH_FI_PERIOD_CHECK

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 DATUM FROM SY INTO @DATA(ld_budat).
 
 
 
 
DATA(ld_check_period) = 'X'.
 
 
"SELECT single EINRI FROM TN01 INTO @DATA(ld_einrichtung).
 
 
DATA(ld_i_koart) = '+'.
 
DATA(ld_i_konto) = ' '.
 
DATA(ld_i_customer) = ' '.
 
"SELECT single UMSKZ FROM BSEG INTO @DATA(ld_i_umskz).
DATA(ld_i_umskz) = ' '.
 


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!