SAP OIJ_MAINTAIN_NOMINATION Function Module for TSW: Maintain nomination









OIJ_MAINTAIN_NOMINATION is a standard oij maintain nomination 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: Maintain nomination 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 maintain nomination FM, simply by entering the name OIJ_MAINTAIN_NOMINATION into the relevant SAP transaction such as SE37 or SE38.

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



Function OIJ_MAINTAIN_NOMINATION 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_MAINTAIN_NOMINATION'"TSW: Maintain nomination
EXPORTING
* IT_OIJNOMH_KEY = "Nomination Key List
* IV_DISPLAY_MODE = ' ' "Display Mode only
* IV_SUPPRESS_SELTREE = ' ' "Suppress left hand selection tree for Create Mode
* IV_NO_COMMIT = ' ' "boolean variable (X=true, -=false, space=unknown)
* IT_NOM_HEADER = "Nomination Header Communcation Table Type
* IT_NOM_ITEM = "Nomination Item Communication
* IT_NOM_STAGES = "TSW (&TD) STages IO
* IT_SCHED_NOM_ID_MAP = "table type for structure ROIJ_SCHED_NOM_ID_MAP
* IT_CUA_EXCLUDE = "Function code list

IMPORTING
ET_SCHED_NOM_ID_MAP_UPD = "table type for structure ROIJ_SCHED_NOM_ID_MAP_UPD
ET_NOM_HEADER = "Nomination Header Communcation Table Type
ET_NOM_ITEM = "Nomination Item Communication
ET_NOM_EVENT = "Nomination Events Communication Table
ET_NOM_STAGES = "TSW (&TD) STages IO
.




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_SAPLOIJ_NOM_GUI_001 PBO processing
EXIT_SAPLOIJ_NOM_GUI_002 PAI processing
EXIT_SAPLOIJ_NOM_GUI_003 FCode SAVE
EXIT_SAPLOIJ_NOM_GUI_004 Activate customer tabstrip with text

IMPORTING Parameters details for OIJ_MAINTAIN_NOMINATION

IT_OIJNOMH_KEY - Nomination Key List

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

IV_DISPLAY_MODE - Display Mode only

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

IV_SUPPRESS_SELTREE - Suppress left hand selection tree for Create Mode

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

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

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

IT_NOM_HEADER - Nomination Header Communcation Table Type

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

IT_NOM_ITEM - Nomination Item Communication

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

IT_NOM_STAGES - TSW (&TD) STages IO

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

IT_SCHED_NOM_ID_MAP - table type for structure ROIJ_SCHED_NOM_ID_MAP

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

IT_CUA_EXCLUDE - Function code list

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

EXPORTING Parameters details for OIJ_MAINTAIN_NOMINATION

ET_SCHED_NOM_ID_MAP_UPD - table type for structure ROIJ_SCHED_NOM_ID_MAP_UPD

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

ET_NOM_HEADER - Nomination Header Communcation Table Type

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

ET_NOM_ITEM - Nomination Item Communication

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

ET_NOM_EVENT - Nomination Events Communication Table

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

ET_NOM_STAGES - TSW (&TD) STages IO

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

Copy and paste ABAP code example for OIJ_MAINTAIN_NOMINATION 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_it_oijnomh_key  TYPE ROIJNOMH_KEY_T, "   
lv_et_sched_nom_id_map_upd  TYPE ROIJ_SCHED_NOM_ID_MAP_UPD_T, "   
lv_et_nom_header  TYPE ROIJNOMHIO_T, "   
lv_iv_display_mode  TYPE C, "   SPACE
lv_et_nom_item  TYPE ROIJNOMIIO_T, "   
lv_iv_suppress_seltree  TYPE BOOLEAN, "   SPACE
lv_et_nom_event  TYPE ROIJNEIO_T, "   
lv_iv_no_commit  TYPE BOOLEAN, "   SPACE
lv_et_nom_stages  TYPE ROIJ_STAGESIO_T, "   
lv_it_nom_header  TYPE ROIJNOMHIO_T, "   
lv_it_nom_item  TYPE ROIJNOMIIO_T, "   
lv_it_nom_stages  TYPE ROIJ_STAGESIO_T, "   
lv_it_sched_nom_id_map  TYPE ROIJ_SCHED_NOM_ID_MAP_T, "   
lv_it_cua_exclude  TYPE ROIJ_FCODE_T. "   

  CALL FUNCTION 'OIJ_MAINTAIN_NOMINATION'  "TSW: Maintain nomination
    EXPORTING
         IT_OIJNOMH_KEY = lv_it_oijnomh_key
         IV_DISPLAY_MODE = lv_iv_display_mode
         IV_SUPPRESS_SELTREE = lv_iv_suppress_seltree
         IV_NO_COMMIT = lv_iv_no_commit
         IT_NOM_HEADER = lv_it_nom_header
         IT_NOM_ITEM = lv_it_nom_item
         IT_NOM_STAGES = lv_it_nom_stages
         IT_SCHED_NOM_ID_MAP = lv_it_sched_nom_id_map
         IT_CUA_EXCLUDE = lv_it_cua_exclude
    IMPORTING
         ET_SCHED_NOM_ID_MAP_UPD = lv_et_sched_nom_id_map_upd
         ET_NOM_HEADER = lv_et_nom_header
         ET_NOM_ITEM = lv_et_nom_item
         ET_NOM_EVENT = lv_et_nom_event
         ET_NOM_STAGES = lv_et_nom_stages
. " OIJ_MAINTAIN_NOMINATION




ABAP code using 7.40 inline data declarations to call FM OIJ_MAINTAIN_NOMINATION

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.

 
 
 
DATA(ld_iv_display_mode) = ' '.
 
 
DATA(ld_iv_suppress_seltree) = ' '.
 
 
DATA(ld_iv_no_commit) = ' '.
 
 
 
 
 
 
 


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!