SAP OIJ_NOM_REFDOC_UPD_READ Function Module for Read customizing settings: TOIJ_REFDOC_BADI/TOIJ_REF_DOC_UPD









OIJ_NOM_REFDOC_UPD_READ is a standard oij nom refdoc upd read 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 customizing settings: TOIJ_REFDOC_BADI/TOIJ_REF_DOC_UPD 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 oij nom refdoc upd read FM, simply by entering the name OIJ_NOM_REFDOC_UPD_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function OIJ_NOM_REFDOC_UPD_READ 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 'OIJ_NOM_REFDOC_UPD_READ'"Read customizing settings: TOIJ_REFDOC_BADI/TOIJ_REF_DOC_UPD
EXPORTING
IV_DOCIND = "Reference document indicator (PSX)
* IV_NOMTYP = "Nomination type
* IV_SITYP = "Schedule type

IMPORTING
ES_OIJ_REFDOC_BADI = "Table type for structure ROIJ_REFDOC_BADI
ET_OIJ_REF_DOC_UPD = "Structure type for table TOIJ_REF_DOC_UPD
EC_FILTER = "Nomination update sched.line BADI
EC_ACTIVE = "boolean variable (X=true, -=false, space=unknown)
.



IMPORTING Parameters details for OIJ_NOM_REFDOC_UPD_READ

IV_DOCIND - Reference document indicator (PSX)

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

IV_NOMTYP - Nomination type

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

IV_SITYP - Schedule type

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

EXPORTING Parameters details for OIJ_NOM_REFDOC_UPD_READ

ES_OIJ_REFDOC_BADI - Table type for structure ROIJ_REFDOC_BADI

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

ET_OIJ_REF_DOC_UPD - Structure type for table TOIJ_REF_DOC_UPD

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

EC_FILTER - Nomination update sched.line BADI

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

EC_ACTIVE - boolean variable (X=true, -=false, space=unknown)

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

Copy and paste ABAP code example for OIJ_NOM_REFDOC_UPD_READ 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_docind  TYPE OIJ_DOCIND, "   
lv_es_oij_refdoc_badi  TYPE ROIJ_REFDOC_BADI, "   
lv_iv_nomtyp  TYPE OIJ_NOMTYP, "   
lv_et_oij_ref_doc_upd  TYPE ROIJ_REF_DOC_UPD_T, "   
lv_iv_sityp  TYPE OIJ_SITYP, "   
lv_ec_filter  TYPE OIJ_NOM_UPD_SCHEDLN, "   
lv_ec_active  TYPE BOOLEAN. "   

  CALL FUNCTION 'OIJ_NOM_REFDOC_UPD_READ'  "Read customizing settings: TOIJ_REFDOC_BADI/TOIJ_REF_DOC_UPD
    EXPORTING
         IV_DOCIND = lv_iv_docind
         IV_NOMTYP = lv_iv_nomtyp
         IV_SITYP = lv_iv_sityp
    IMPORTING
         ES_OIJ_REFDOC_BADI = lv_es_oij_refdoc_badi
         ET_OIJ_REF_DOC_UPD = lv_et_oij_ref_doc_upd
         EC_FILTER = lv_ec_filter
         EC_ACTIVE = lv_ec_active
. " OIJ_NOM_REFDOC_UPD_READ




ABAP code using 7.40 inline data declarations to call FM OIJ_NOM_REFDOC_UPD_READ

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.

 
 
 
 
 
 
 


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!