SAP OIJ_NOM_DEFAULTING Function Module for TSW Nomination Defaulting









OIJ_NOM_DEFAULTING is a standard oij nom defaulting SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for TSW Nomination Defaulting 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 defaulting FM, simply by entering the name OIJ_NOM_DEFAULTING into the relevant SAP transaction such as SE37 or SE38.

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



Function OIJ_NOM_DEFAULTING 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_DEFAULTING'"TSW Nomination Defaulting
EXPORTING
* IV_NOMTK = "Nomination (technical) Key
* IT_NOM_STAGES_OLD = "TSW (&TD) STages IO
* IT_NOM_SUBITEM_OLD = "TSW: Table type for Nomination sub-items communication
* IS_NOM_HEADER = "TSW Nomination Header Communication Structure
* IT_NOM_HEADER = "Nomination Header Communcation Table Type
* IS_NOM_ITEM = "TSW Nomination Item Communication Structure
* IT_NOM_ITEM = "Nomination Item Communication
* IS_NOM_EVENTS = "Nomination Events Communication Structure
* IT_NOM_EVENTS = "Nomination Events Communication Table
* IS_NOM_STAGES = "TSW (&TD) STages IO
* IT_NOM_STAGES = "TSW (&TD) STages IO
* IV_NOMIT = "Nomination Key Item
* IS_NOM_SUBITEM = "Nomination sub-items communication Structure
* IT_NOM_SUBITEM = "TSW: Table type for Nomination sub-items communication
* IV_NOM_CALL = "Call by RFC = R
* GEN_BPD = "Generate BPD Process through RFC
* IV_EVENT_NR = "TD - event number
* IV_STAGES_ID = "Stages ID
* IV_TSNUM = "Stage of transport number
* IV_SUBITEM = "Nomination sub-item
* IT_NOM_HEADER_OLD = "Nomination Header Communcation Table Type
* IT_NOM_ITEM_OLD = "TSW Nomination Items OLD
* IT_NOM_EVENTS_OLD = "Nomination Events Communication Table

IMPORTING
ES_NOM_HEADER = "TSW Nomination Header Communication Structure
ET_NOM_SUBITEM = "TSW: Table type for Nomination sub-items communication
ET_NOM_HEADER = "TSW Nomination Header
ES_NOM_ITEM = "TSW Nomination Item Communication Structure
ET_NOM_ITEM = "TSW Nomination Items
ES_NOM_EVENTS = "Nomination Events Communication Structure
ET_NOM_EVENTS = "Nomination Events Communication Table
ES_NOM_STAGES = "TSW (&TD) STages IO
ET_NOM_STAGES = "TSW (&TD) STages IO
ES_NOM_SUBITEM = "Nomination sub-items communication Structure

EXCEPTIONS
DEFAULTING_ERROR = 1 NO_RECORDS_PASSED = 2
.



IMPORTING Parameters details for OIJ_NOM_DEFAULTING

IV_NOMTK - Nomination (technical) Key

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

IT_NOM_STAGES_OLD - TSW (&TD) STages IO

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

IT_NOM_SUBITEM_OLD - TSW: Table type for Nomination sub-items communication

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

IS_NOM_HEADER - TSW Nomination Header Communication Structure

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

IT_NOM_HEADER - Nomination Header Communcation Table Type

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

IS_NOM_ITEM - TSW Nomination Item Communication Structure

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

IT_NOM_ITEM - Nomination Item Communication

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

IS_NOM_EVENTS - Nomination Events Communication Structure

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

IT_NOM_EVENTS - Nomination Events Communication Table

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

IS_NOM_STAGES - TSW (&TD) STages IO

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

IT_NOM_STAGES - TSW (&TD) STages IO

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

IV_NOMIT - Nomination Key Item

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

IS_NOM_SUBITEM - Nomination sub-items communication Structure

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

IT_NOM_SUBITEM - TSW: Table type for Nomination sub-items communication

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

IV_NOM_CALL - Call by RFC = R

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

GEN_BPD - Generate BPD Process through RFC

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

IV_EVENT_NR - TD - event number

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

IV_STAGES_ID - Stages ID

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

IV_TSNUM - Stage of transport number

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

IV_SUBITEM - Nomination sub-item

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

IT_NOM_HEADER_OLD - Nomination Header Communcation Table Type

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

IT_NOM_ITEM_OLD - TSW Nomination Items OLD

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

IT_NOM_EVENTS_OLD - Nomination Events Communication Table

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

EXPORTING Parameters details for OIJ_NOM_DEFAULTING

ES_NOM_HEADER - TSW Nomination Header Communication Structure

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

ET_NOM_SUBITEM - TSW: Table type for Nomination sub-items communication

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

ET_NOM_HEADER - TSW Nomination Header

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

ES_NOM_ITEM - TSW Nomination Item Communication Structure

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

ET_NOM_ITEM - TSW Nomination Items

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

ES_NOM_EVENTS - Nomination Events Communication Structure

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

ET_NOM_EVENTS - Nomination Events Communication Table

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

ES_NOM_STAGES - TSW (&TD) STages IO

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

ET_NOM_STAGES - TSW (&TD) STages IO

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

ES_NOM_SUBITEM - Nomination sub-items communication Structure

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

EXCEPTIONS details

DEFAULTING_ERROR - General Defaulting Error occured

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

NO_RECORDS_PASSED - No Records passed to default

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

Copy and paste ABAP code example for OIJ_NOM_DEFAULTING 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_nomtk  TYPE OIJ_NOMTK, "   
lv_es_nom_header  TYPE ROIJNOMHIO, "   
lv_defaulting_error  TYPE ROIJNOMHIO, "   
lv_et_nom_subitem  TYPE ROIJNOMSUBITEMSIO_T, "   
lv_it_nom_stages_old  TYPE ROIJ_STAGESIO_T, "   
lv_it_nom_subitem_old  TYPE ROIJNOMSUBITEMSIO_T, "   
lv_is_nom_header  TYPE ROIJNOMHIO, "   
lv_it_nom_header  TYPE ROIJNOMHIO_T, "   
lv_is_nom_item  TYPE ROIJNOMIIO, "   
lv_it_nom_item  TYPE ROIJNOMIIO_T, "   
lv_is_nom_events  TYPE ROIJNEIO, "   
lv_it_nom_events  TYPE ROIJNEIO_T, "   
lv_is_nom_stages  TYPE ROIJ_STAGESIO, "   
lv_it_nom_stages  TYPE ROIJ_STAGESIO_T, "   
lv_iv_nomit  TYPE OIJ_ITEM, "   
lv_et_nom_header  TYPE ROIJNOMHIO_T, "   
lv_no_records_passed  TYPE ROIJNOMHIO_T, "   
lv_is_nom_subitem  TYPE ROIJNOMSUBITEMS_IO, "   
lv_it_nom_subitem  TYPE ROIJNOMSUBITEMSIO_T, "   
lv_iv_nom_call  TYPE CHAR1, "   
lv_gen_bpd  TYPE CHAR1, "   
lv_es_nom_item  TYPE ROIJNOMIIO, "   
lv_iv_event_nr  TYPE OIG_EVNR, "   
lv_et_nom_item  TYPE ROIJNOMIIO_T, "   
lv_iv_stages_id  TYPE OIJ_STAGES_ID, "   
lv_iv_tsnum  TYPE TSNUM, "   
lv_es_nom_events  TYPE ROIJNEIO, "   
lv_iv_subitem  TYPE OIJ_SUBITEM, "   
lv_et_nom_events  TYPE ROIJNEIO_T, "   
lv_es_nom_stages  TYPE ROIJ_STAGESIO, "   
lv_it_nom_header_old  TYPE ROIJNOMHIO_T, "   
lv_et_nom_stages  TYPE ROIJ_STAGESIO_T, "   
lv_it_nom_item_old  TYPE ROIJNOMIIO_T, "   
lv_es_nom_subitem  TYPE ROIJNOMSUBITEMS_IO, "   
lv_it_nom_events_old  TYPE ROIJNEIO_T. "   

  CALL FUNCTION 'OIJ_NOM_DEFAULTING'  "TSW Nomination Defaulting
    EXPORTING
         IV_NOMTK = lv_iv_nomtk
         IT_NOM_STAGES_OLD = lv_it_nom_stages_old
         IT_NOM_SUBITEM_OLD = lv_it_nom_subitem_old
         IS_NOM_HEADER = lv_is_nom_header
         IT_NOM_HEADER = lv_it_nom_header
         IS_NOM_ITEM = lv_is_nom_item
         IT_NOM_ITEM = lv_it_nom_item
         IS_NOM_EVENTS = lv_is_nom_events
         IT_NOM_EVENTS = lv_it_nom_events
         IS_NOM_STAGES = lv_is_nom_stages
         IT_NOM_STAGES = lv_it_nom_stages
         IV_NOMIT = lv_iv_nomit
         IS_NOM_SUBITEM = lv_is_nom_subitem
         IT_NOM_SUBITEM = lv_it_nom_subitem
         IV_NOM_CALL = lv_iv_nom_call
         GEN_BPD = lv_gen_bpd
         IV_EVENT_NR = lv_iv_event_nr
         IV_STAGES_ID = lv_iv_stages_id
         IV_TSNUM = lv_iv_tsnum
         IV_SUBITEM = lv_iv_subitem
         IT_NOM_HEADER_OLD = lv_it_nom_header_old
         IT_NOM_ITEM_OLD = lv_it_nom_item_old
         IT_NOM_EVENTS_OLD = lv_it_nom_events_old
    IMPORTING
         ES_NOM_HEADER = lv_es_nom_header
         ET_NOM_SUBITEM = lv_et_nom_subitem
         ET_NOM_HEADER = lv_et_nom_header
         ES_NOM_ITEM = lv_es_nom_item
         ET_NOM_ITEM = lv_et_nom_item
         ES_NOM_EVENTS = lv_es_nom_events
         ET_NOM_EVENTS = lv_et_nom_events
         ES_NOM_STAGES = lv_es_nom_stages
         ET_NOM_STAGES = lv_et_nom_stages
         ES_NOM_SUBITEM = lv_es_nom_subitem
    EXCEPTIONS
        DEFAULTING_ERROR = 1
        NO_RECORDS_PASSED = 2
. " OIJ_NOM_DEFAULTING




ABAP code using 7.40 inline data declarations to call FM OIJ_NOM_DEFAULTING

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!