SAP OIJP_INTERIM_CHECK Function Module for IS-OIL TSW - Interim Check Routine









OIJP_INTERIM_CHECK is a standard oijp interim check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-OIL TSW - Interim Check Routine 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 oijp interim check FM, simply by entering the name OIJP_INTERIM_CHECK into the relevant SAP transaction such as SE37 or SE38.

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



Function OIJP_INTERIM_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 'OIJP_INTERIM_CHECK'"IS-OIL TSW - Interim Check Routine
EXPORTING
DATE_FROM = "From Date
DATE_TO = "To Date
I_MAXINV = "Planning maximum inventory level
I_SAFEINV = "Planning safety inventory level
I_INCLOT = "Planning incremental batch (lot) size - rounding
I_MINLOT = "Planning minimum batch (lot) size
I_MININV = "Planning minimum inventory level
I_MAXLOT = "Planning maximum inventory level

CHANGING
I_MAXI = "

TABLES
INTERIM_OIJDOPL_TAB = "
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLOIJP_001 OIL-TSW: Customer exit for customer specific inventory planning
EXIT_SAPLOIJP_002 OIL-TSW: Customer exit for dynamic safety stock calculation logic

IMPORTING Parameters details for OIJP_INTERIM_CHECK

DATE_FROM - From Date

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

DATE_TO - To Date

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

I_MAXINV - Planning maximum inventory level

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

I_SAFEINV - Planning safety inventory level

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

I_INCLOT - Planning incremental batch (lot) size - rounding

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

I_MINLOT - Planning minimum batch (lot) size

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

I_MININV - Planning minimum inventory level

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

I_MAXLOT - Planning maximum inventory level

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

CHANGING Parameters details for OIJP_INTERIM_CHECK

I_MAXI -

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

TABLES Parameters details for OIJP_INTERIM_CHECK

INTERIM_OIJDOPL_TAB -

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

Copy and paste ABAP code example for OIJP_INTERIM_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_i_maxi  TYPE OIJRD-BASE, "   
lv_date_from  TYPE OIJPLCAL-PDATE, "   
lt_interim_oijdopl_tab  TYPE STANDARD TABLE OF ROIJDOPL, "   
lv_date_to  TYPE OIJPLCAL-PDATE, "   
lv_i_maxinv  TYPE OIJTSMAT-MAXINV, "   
lv_i_safeinv  TYPE OIJTSMAT-SAFETY, "   
lv_i_inclot  TYPE OIJTSMAT-INCLOT, "   
lv_i_minlot  TYPE OIJTSMAT-MINLOT, "   
lv_i_mininv  TYPE OIJTSMAT-MININV, "   
lv_i_maxlot  TYPE OIJTSMAT-MAXLOT. "   

  CALL FUNCTION 'OIJP_INTERIM_CHECK'  "IS-OIL TSW - Interim Check Routine
    EXPORTING
         DATE_FROM = lv_date_from
         DATE_TO = lv_date_to
         I_MAXINV = lv_i_maxinv
         I_SAFEINV = lv_i_safeinv
         I_INCLOT = lv_i_inclot
         I_MINLOT = lv_i_minlot
         I_MININV = lv_i_mininv
         I_MAXLOT = lv_i_maxlot
    CHANGING
         I_MAXI = lv_i_maxi
    TABLES
         INTERIM_OIJDOPL_TAB = lt_interim_oijdopl_tab
. " OIJP_INTERIM_CHECK




ABAP code using 7.40 inline data declarations to call FM OIJP_INTERIM_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 BASE FROM OIJRD INTO @DATA(ld_i_maxi).
 
"SELECT single PDATE FROM OIJPLCAL INTO @DATA(ld_date_from).
 
 
"SELECT single PDATE FROM OIJPLCAL INTO @DATA(ld_date_to).
 
"SELECT single MAXINV FROM OIJTSMAT INTO @DATA(ld_i_maxinv).
 
"SELECT single SAFETY FROM OIJTSMAT INTO @DATA(ld_i_safeinv).
 
"SELECT single INCLOT FROM OIJTSMAT INTO @DATA(ld_i_inclot).
 
"SELECT single MINLOT FROM OIJTSMAT INTO @DATA(ld_i_minlot).
 
"SELECT single MININV FROM OIJTSMAT INTO @DATA(ld_i_mininv).
 
"SELECT single MAXLOT FROM OIJTSMAT INTO @DATA(ld_i_maxlot).
 


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!