SAP IOPEXT_DELETE_OL_ENTRY Function Module for NOTRANSL: Delete Entry of ObjectList
IOPEXT_DELETE_OL_ENTRY is a standard iopext delete ol entry SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Delete Entry of ObjectList 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 iopext delete ol entry FM, simply by entering the name IOPEXT_DELETE_OL_ENTRY into the relevant SAP transaction such as SE37 or SE38.
Function Group: IOPEXT
Program Name: SAPLIOPEXT
Main Program: SAPLIOPEXT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function IOPEXT_DELETE_OL_ENTRY 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 'IOPEXT_DELETE_OL_ENTRY'"NOTRANSL: Delete Entry of ObjectList.
EXPORTING
I_AUFNR = "Order Number
* I_QMNUM = "Notification Number
I_OBKNR_DEL = "Object list number
I_OBZAE_DEL = "Object list counters
CHANGING
* C_LOGCOUNTER = "
EXCEPTIONS
ENTRY_NOT_FOUND = 1
IMPORTING Parameters details for IOPEXT_DELETE_OL_ENTRY
I_AUFNR - Order Number
Data type: AUFK-AUFNROptional: No
Call by Reference: No ( called with pass by value option)
I_QMNUM - Notification Number
Data type: QMEL-QMNUMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_OBKNR_DEL - Object list number
Data type: OBJK-OBKNROptional: No
Call by Reference: No ( called with pass by value option)
I_OBZAE_DEL - Object list counters
Data type: OBJK-OBZAEOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for IOPEXT_DELETE_OL_ENTRY
C_LOGCOUNTER -
Data type: IOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ENTRY_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for IOPEXT_DELETE_OL_ENTRY 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_i_aufnr | TYPE AUFK-AUFNR, " | |||
| lv_c_logcounter | TYPE I, " | |||
| lv_entry_not_found | TYPE I, " | |||
| lv_i_qmnum | TYPE QMEL-QMNUM, " | |||
| lv_i_obknr_del | TYPE OBJK-OBKNR, " | |||
| lv_i_obzae_del | TYPE OBJK-OBZAE. " |
|   CALL FUNCTION 'IOPEXT_DELETE_OL_ENTRY' "NOTRANSL: Delete Entry of ObjectList |
| EXPORTING | ||
| I_AUFNR | = lv_i_aufnr | |
| I_QMNUM | = lv_i_qmnum | |
| I_OBKNR_DEL | = lv_i_obknr_del | |
| I_OBZAE_DEL | = lv_i_obzae_del | |
| CHANGING | ||
| C_LOGCOUNTER | = lv_c_logcounter | |
| EXCEPTIONS | ||
| ENTRY_NOT_FOUND = 1 | ||
| . " IOPEXT_DELETE_OL_ENTRY | ||
ABAP code using 7.40 inline data declarations to call FM IOPEXT_DELETE_OL_ENTRY
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 AUFNR FROM AUFK INTO @DATA(ld_i_aufnr). | ||||
| "SELECT single QMNUM FROM QMEL INTO @DATA(ld_i_qmnum). | ||||
| "SELECT single OBKNR FROM OBJK INTO @DATA(ld_i_obknr_del). | ||||
| "SELECT single OBZAE FROM OBJK INTO @DATA(ld_i_obzae_del). | ||||
Search for further information about these or an SAP related objects