SAP IUID_APPLICATION_LOG Function Module for Persistent application log for IUID
IUID_APPLICATION_LOG is a standard iuid application log SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Persistent application log for IUID 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 iuid application log FM, simply by entering the name IUID_APPLICATION_LOG into the relevant SAP transaction such as SE37 or SE38.
Function Group: IUID
Program Name: SAPLIUID
Main Program: SAPLIUID
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function IUID_APPLICATION_LOG 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 'IUID_APPLICATION_LOG'"Persistent application log for IUID.
EXPORTING
IV_UII = "Unique Item Identifier
* IV_CREATE_MSG = "General Flag
IV_OBJECT = "Application Log: Object Name (Application Code)
* IV_SUBOBJECT = "Application Log: Subobject
* IV_VBELN = "Sales and Distribution Document Number
* IV_OBJID = "Object Identifier
* IV_MJAHR = "Material Document Year
* IV_PROCESS = "Name of the calling process
* IS_MESSAGE_DATA = "Required Data to Register or Update UII
IMPORTING Parameters details for IUID_APPLICATION_LOG
IV_UII - Unique Item Identifier
Data type: UII_CHAR72Optional: No
Call by Reference: Yes
IV_CREATE_MSG - General Flag
Data type: FLAGOptional: Yes
Call by Reference: Yes
IV_OBJECT - Application Log: Object Name (Application Code)
Data type: BALOBJ_DOptional: No
Call by Reference: Yes
IV_SUBOBJECT - Application Log: Subobject
Data type: BALSUBOBJOptional: Yes
Call by Reference: Yes
IV_VBELN - Sales and Distribution Document Number
Data type: VBELNOptional: Yes
Call by Reference: Yes
IV_OBJID - Object Identifier
Data type: UID_OBJIDOptional: Yes
Call by Reference: Yes
IV_MJAHR - Material Document Year
Data type: MJAHROptional: Yes
Call by Reference: Yes
IV_PROCESS - Name of the calling process
Data type: UID_PROCESSOptional: Yes
Call by Reference: Yes
IS_MESSAGE_DATA - Required Data to Register or Update UII
Data type: IUID_REGISTRY_ITEMOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for IUID_APPLICATION_LOG 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_uii | TYPE UII_CHAR72, " | |||
| lv_iv_create_msg | TYPE FLAG, " | |||
| lv_iv_object | TYPE BALOBJ_D, " | |||
| lv_iv_subobject | TYPE BALSUBOBJ, " | |||
| lv_iv_vbeln | TYPE VBELN, " | |||
| lv_iv_objid | TYPE UID_OBJID, " | |||
| lv_iv_mjahr | TYPE MJAHR, " | |||
| lv_iv_process | TYPE UID_PROCESS, " | |||
| lv_is_message_data | TYPE IUID_REGISTRY_ITEM. " |
|   CALL FUNCTION 'IUID_APPLICATION_LOG' "Persistent application log for IUID |
| EXPORTING | ||
| IV_UII | = lv_iv_uii | |
| IV_CREATE_MSG | = lv_iv_create_msg | |
| IV_OBJECT | = lv_iv_object | |
| IV_SUBOBJECT | = lv_iv_subobject | |
| IV_VBELN | = lv_iv_vbeln | |
| IV_OBJID | = lv_iv_objid | |
| IV_MJAHR | = lv_iv_mjahr | |
| IV_PROCESS | = lv_iv_process | |
| IS_MESSAGE_DATA | = lv_is_message_data | |
| . " IUID_APPLICATION_LOG | ||
ABAP code using 7.40 inline data declarations to call FM IUID_APPLICATION_LOG
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