SAP OIJU_READ_OIJRDIB_ARRAY_NOMTK Function Module for Read OIJRDIB from DB for range of Noms / buffered









OIJU_READ_OIJRDIB_ARRAY_NOMTK is a standard oiju read oijrdib array nomtk SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read OIJRDIB from DB for range of Noms / buffered 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 oiju read oijrdib array nomtk FM, simply by entering the name OIJU_READ_OIJRDIB_ARRAY_NOMTK into the relevant SAP transaction such as SE37 or SE38.

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



Function OIJU_READ_OIJRDIB_ARRAY_NOMTK 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 'OIJU_READ_OIJRDIB_ARRAY_NOMTK'"Read OIJRDIB from DB for range of Noms / buffered
EXPORTING
* IV_LOCID = "Location ID
* IV_TSYST = "Transport system
* IV_MATNR = "Material number
* IV_CHARG = "OIL-TSW: Batch number
* IV_DATE = "Date and time, current (application server) date
* IV_DATE_HI = "Date and time, current (application server) date
* IV_BYPASS_BUFFER = "Single-character flag

TABLES
IT_OIJNOMI = "Nomination Item
* CT_OIJRDIB = "OIL-TSW: Rundown issued table
* CT_OIJBRDIB = "Rundown issued batches table / ONLY USED AS STRUCTURE
IT_RANGE_DATE = "Ranges structure for selections

EXCEPTIONS
NO_DATA_FOUND = 1
.




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_SAPLOIJU_001 OIL-TSW: Customer exit for editing rundown plant book inventory
EXIT_SAPLOIJU_002 OIL-TSW: Customer exit for editing rundown plant SOP data
EXIT_SAPLOIJU_003 OIL-TSW: Customer exit for editing rundown plant statistical movement data

IMPORTING Parameters details for OIJU_READ_OIJRDIB_ARRAY_NOMTK

IV_LOCID - Location ID

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

IV_TSYST - Transport system

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

IV_MATNR - Material number

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

IV_CHARG - OIL-TSW: Batch number

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

IV_DATE - Date and time, current (application server) date

Data type: SY-DATUM
Optional: Yes
Call by Reference: Yes

IV_DATE_HI - Date and time, current (application server) date

Data type: SY-DATUM
Optional: Yes
Call by Reference: Yes

IV_BYPASS_BUFFER - Single-character flag

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

TABLES Parameters details for OIJU_READ_OIJRDIB_ARRAY_NOMTK

IT_OIJNOMI - Nomination Item

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

CT_OIJRDIB - OIL-TSW: Rundown issued table

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

CT_OIJBRDIB - Rundown issued batches table / ONLY USED AS STRUCTURE

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

IT_RANGE_DATE - Ranges structure for selections

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

EXCEPTIONS details

NO_DATA_FOUND - No data found

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for OIJU_READ_OIJRDIB_ARRAY_NOMTK 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_iv_locid  TYPE OIJ_LOCID, "   
lt_it_oijnomi  TYPE STANDARD TABLE OF OIJNOMI, "   
lv_no_data_found  TYPE OIJNOMI, "   
lv_iv_tsyst  TYPE OIJ_TSYST, "   
lt_ct_oijrdib  TYPE STANDARD TABLE OF OIJRDIB, "   
lv_iv_matnr  TYPE MATNR, "   
lt_ct_oijbrdib  TYPE STANDARD TABLE OF ROIJBRDIB, "   
lv_iv_charg  TYPE OIJ_CHARG, "   
lt_it_range_date  TYPE STANDARD TABLE OF OIJ_EL_RANGE, "   
lv_iv_date  TYPE SY-DATUM, "   
lv_iv_date_hi  TYPE SY-DATUM, "   
lv_iv_bypass_buffer  TYPE CHAR1. "   

  CALL FUNCTION 'OIJU_READ_OIJRDIB_ARRAY_NOMTK'  "Read OIJRDIB from DB for range of Noms / buffered
    EXPORTING
         IV_LOCID = lv_iv_locid
         IV_TSYST = lv_iv_tsyst
         IV_MATNR = lv_iv_matnr
         IV_CHARG = lv_iv_charg
         IV_DATE = lv_iv_date
         IV_DATE_HI = lv_iv_date_hi
         IV_BYPASS_BUFFER = lv_iv_bypass_buffer
    TABLES
         IT_OIJNOMI = lt_it_oijnomi
         CT_OIJRDIB = lt_ct_oijrdib
         CT_OIJBRDIB = lt_ct_oijbrdib
         IT_RANGE_DATE = lt_it_range_date
    EXCEPTIONS
        NO_DATA_FOUND = 1
. " OIJU_READ_OIJRDIB_ARRAY_NOMTK




ABAP code using 7.40 inline data declarations to call FM OIJU_READ_OIJRDIB_ARRAY_NOMTK

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_iv_date).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_iv_date_hi).
 
 


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!