OIJ_NOM_UPDATEPREPARE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name OIJ_NOM_UPDATEPREPARE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
OIJ_NOM_CORE
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'OIJ_NOM_UPDATEPREPARE' "Prepare nomination fields for DB update
* EXPORTING
* iv_add_to_log = " boolean boolean variable (X=true, -=false, space=unknown)
IMPORTING
ev_error = " boolean boolean variable (X=true, -=false, space=unknown)
TABLES
et_roijnomc = " roijnomc TSW Nomination OIJNOMC update Structure
* et_roijnomm = " roijnommvb Nomination Material Balance
* ct_return = " bapiret2 Return parameter
CHANGING
cs_nom_header = " roijnomhio TSW Nomination Header Communication Structure
ct_nom_item = " roijnomiio_t Nomination Item Communication
* ct_nom_event = " roijneio_t Nomination Events Communication Table
ct_nom_stages = " roij_stagesio_t TSW (&TD) STages IO
* ct_nom_subitem = " roijnomsubitemsio_t Nomination sub-items communication table
* ct_nom_hatchload = " roijnomhatloadio_t Hatch load sequence communication table
* ct_nom_hatchplan = " roijnomhatplanio_t Table type for the hatch plan communication structure
ct_nom_ref = " roijnomrio_t Nomination Reference Documents Update Table Type
* ct_subitem_events = " roijsubitemeventsvb_t Table type for update structure for subitems events
. " OIJ_NOM_UPDATEPREPARE
The ABAP code below is a full code listing to execute function module OIJ_NOM_UPDATEPREPARE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_ev_error | TYPE BOOLEAN , |
| it_et_roijnomc | TYPE STANDARD TABLE OF ROIJNOMC,"TABLES PARAM |
| wa_et_roijnomc | LIKE LINE OF it_et_roijnomc , |
| it_et_roijnomm | TYPE STANDARD TABLE OF ROIJNOMMVB,"TABLES PARAM |
| wa_et_roijnomm | LIKE LINE OF it_et_roijnomm , |
| it_ct_return | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_ct_return | LIKE LINE OF it_ct_return . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_cs_nom_header | TYPE ROIJNOMHIO , |
| ld_ev_error | TYPE BOOLEAN , |
| ld_iv_add_to_log | TYPE BOOLEAN , |
| it_et_roijnomc | TYPE STANDARD TABLE OF ROIJNOMC , |
| wa_et_roijnomc | LIKE LINE OF it_et_roijnomc, |
| ld_ct_nom_item | TYPE ROIJNOMIIO_T , |
| it_et_roijnomm | TYPE STANDARD TABLE OF ROIJNOMMVB , |
| wa_et_roijnomm | LIKE LINE OF it_et_roijnomm, |
| ld_ct_nom_event | TYPE ROIJNEIO_T , |
| it_ct_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_ct_return | LIKE LINE OF it_ct_return, |
| ld_ct_nom_stages | TYPE ROIJ_STAGESIO_T , |
| ld_ct_nom_subitem | TYPE ROIJNOMSUBITEMSIO_T , |
| ld_ct_nom_hatchload | TYPE ROIJNOMHATLOADIO_T , |
| ld_ct_nom_hatchplan | TYPE ROIJNOMHATPLANIO_T , |
| ld_ct_nom_ref | TYPE ROIJNOMRIO_T , |
| ld_ct_subitem_events | TYPE ROIJSUBITEMEVENTSVB_T . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name OIJ_NOM_UPDATEPREPARE or its description.
OIJ_NOM_UPDATEPREPARE - Prepare nomination fields for DB update OIJ_NOM_UPDATE - Nomination Database Update module OIJ_NOM_TICKETRETRIEVAL - TSW Nomination Ticket look-up OIJ_NOM_TEMP_NOMTK_GET_NEXT - Returns next temporary NOMTK OIJ_NOM_TC_RETREIVE - Retrieve Nomination for TC in GTM docuement flow. OIJ_NOM_TC_REL_DOC_QUANT - Derive the scheduled quantity for TC in nomination