SAP OIJ_NOM_LOG_MSG_ADD_REF_DOC Function Module for TSW add ref doc update message to nomination application log
OIJ_NOM_LOG_MSG_ADD_REF_DOC is a standard oij nom log msg add ref doc 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 add ref doc update message to nomination application log 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 log msg add ref doc FM, simply by entering the name OIJ_NOM_LOG_MSG_ADD_REF_DOC into the relevant SAP transaction such as SE37 or SE38.
Function Group: OIJ_NOM_LOG
Program Name: SAPLOIJ_NOM_LOG
Main Program: SAPLOIJ_NOM_LOG
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function OIJ_NOM_LOG_MSG_ADD_REF_DOC 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_LOG_MSG_ADD_REF_DOC'"TSW add ref doc update message to nomination application log.
EXPORTING
IV_NOMTK = "Nomination technical key
* IV_MSGV3 = "Messages, message variables
* IV_MSGV4 = "Messages, message variables
* IV_PROBCLASS = "Application log: Message problem class
* IV_CHECK_ROUTINE = "TSW check routine for Application log
* IV_INCOMPLETE_FLAG = "Incompletion Flag
* IS_CALLBACK = "Application Log: Return routine definition
IV_NOMIT = "Nomination item number
IV_TSRFO = "Stage of transport sequence
IV_FIELD = "Field name of internal table field
IV_MSGTY = "Messages, message type
IV_MSGID = "Messages, message class
IV_MSGNO = "Messages, message number
* IV_MSGV1 = "Messages, message variables
* IV_MSGV2 = "Messages, message variables
IMPORTING Parameters details for OIJ_NOM_LOG_MSG_ADD_REF_DOC
IV_NOMTK - Nomination technical key
Data type: OIJNOMH-NOMTKOptional: No
Call by Reference: No ( called with pass by value option)
IV_MSGV3 - Messages, message variables
Data type: SYMSGVOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_MSGV4 - Messages, message variables
Data type: SYMSGVOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_PROBCLASS - Application log: Message problem class
Data type: BALPROBCLOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_CHECK_ROUTINE - TSW check routine for Application log
Data type: OIJ_CHECK_ROUTINEOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_INCOMPLETE_FLAG - Incompletion Flag
Data type: OIJ_INCOMPLETE_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_CALLBACK - Application Log: Return routine definition
Data type: BAL_S_CLBKOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_NOMIT - Nomination item number
Data type: OIJNOMI-NOMITOptional: No
Call by Reference: No ( called with pass by value option)
IV_TSRFO - Stage of transport sequence
Data type: OIJ_STAGES-TSRFOOptional: No
Call by Reference: No ( called with pass by value option)
IV_FIELD - Field name of internal table field
Data type: LVC_FNAMEOptional: No
Call by Reference: No ( called with pass by value option)
IV_MSGTY - Messages, message type
Data type: SYMSGTYOptional: No
Call by Reference: No ( called with pass by value option)
IV_MSGID - Messages, message class
Data type: SYMSGIDOptional: No
Call by Reference: No ( called with pass by value option)
IV_MSGNO - Messages, message number
Data type: SYMSGNOOptional: No
Call by Reference: No ( called with pass by value option)
IV_MSGV1 - Messages, message variables
Data type: SYMSGVOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_MSGV2 - Messages, message variables
Data type: SYMSGVOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for OIJ_NOM_LOG_MSG_ADD_REF_DOC 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 OIJNOMH-NOMTK, " | |||
| lv_iv_msgv3 | TYPE SYMSGV, " | |||
| lv_iv_msgv4 | TYPE SYMSGV, " | |||
| lv_iv_probclass | TYPE BALPROBCL, " | |||
| lv_iv_check_routine | TYPE OIJ_CHECK_ROUTINE, " | |||
| lv_iv_incomplete_flag | TYPE OIJ_INCOMPLETE_FLAG, " | |||
| lv_is_callback | TYPE BAL_S_CLBK, " | |||
| lv_iv_nomit | TYPE OIJNOMI-NOMIT, " | |||
| lv_iv_tsrfo | TYPE OIJ_STAGES-TSRFO, " | |||
| lv_iv_field | TYPE LVC_FNAME, " | |||
| lv_iv_msgty | TYPE SYMSGTY, " | |||
| lv_iv_msgid | TYPE SYMSGID, " | |||
| lv_iv_msgno | TYPE SYMSGNO, " | |||
| lv_iv_msgv1 | TYPE SYMSGV, " | |||
| lv_iv_msgv2 | TYPE SYMSGV. " |
|   CALL FUNCTION 'OIJ_NOM_LOG_MSG_ADD_REF_DOC' "TSW add ref doc update message to nomination application log |
| EXPORTING | ||
| IV_NOMTK | = lv_iv_nomtk | |
| IV_MSGV3 | = lv_iv_msgv3 | |
| IV_MSGV4 | = lv_iv_msgv4 | |
| IV_PROBCLASS | = lv_iv_probclass | |
| IV_CHECK_ROUTINE | = lv_iv_check_routine | |
| IV_INCOMPLETE_FLAG | = lv_iv_incomplete_flag | |
| IS_CALLBACK | = lv_is_callback | |
| IV_NOMIT | = lv_iv_nomit | |
| IV_TSRFO | = lv_iv_tsrfo | |
| IV_FIELD | = lv_iv_field | |
| IV_MSGTY | = lv_iv_msgty | |
| IV_MSGID | = lv_iv_msgid | |
| IV_MSGNO | = lv_iv_msgno | |
| IV_MSGV1 | = lv_iv_msgv1 | |
| IV_MSGV2 | = lv_iv_msgv2 | |
| . " OIJ_NOM_LOG_MSG_ADD_REF_DOC | ||
ABAP code using 7.40 inline data declarations to call FM OIJ_NOM_LOG_MSG_ADD_REF_DOC
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 NOMTK FROM OIJNOMH INTO @DATA(ld_iv_nomtk). | ||||
| "SELECT single NOMIT FROM OIJNOMI INTO @DATA(ld_iv_nomit). | ||||
| "SELECT single TSRFO FROM OIJ_STAGES INTO @DATA(ld_iv_tsrfo). | ||||
Search for further information about these or an SAP related objects