SAP RM_ENQUEUE_COGI Function Module for NOTRANSL: Sperren absetzen beim Nachbearb. von Sefe-Rückständen mittels CO
RM_ENQUEUE_COGI is a standard rm enqueue cogi 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: Sperren absetzen beim Nachbearb. von Sefe-Rückständen mittels CO 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 rm enqueue cogi FM, simply by entering the name RM_ENQUEUE_COGI into the relevant SAP transaction such as SE37 or SE38.
Function Group: RMCO
Program Name: SAPLRMCO
Main Program: SAPLRMCO
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RM_ENQUEUE_COGI 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 'RM_ENQUEUE_COGI'"NOTRANSL: Sperren absetzen beim Nachbearb. von Sefe-Rückständen mittels CO.
EXPORTING
I_WEBLNR = "Number of a document from a goods movement with errors
I_WEBLPOS = "Internal counter
EXCEPTIONS
NO_AFFW_ENTRY = 1 NO_BLPK_ENTRY = 2 NO_T001W_ENTRY = 3 MATERIAL_VERSION_LOCKED = 4 MBEW_LOCKED = 5 ASSY_ORDER_LOCKED = 6 AUFK_LOCKED = 7 LOCK_ERROR = 8
IMPORTING Parameters details for RM_ENQUEUE_COGI
I_WEBLNR - Number of a document from a goods movement with errors
Data type: AFFWRM-WEBLNROptional: No
Call by Reference: No ( called with pass by value option)
I_WEBLPOS - Internal counter
Data type: AFFWRM-WEBLPOSOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_AFFW_ENTRY -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_BLPK_ENTRY -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_T001W_ENTRY -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
MATERIAL_VERSION_LOCKED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
MBEW_LOCKED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ASSY_ORDER_LOCKED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
AUFK_LOCKED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
LOCK_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RM_ENQUEUE_COGI 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_weblnr | TYPE AFFWRM-WEBLNR, " | |||
| lv_no_affw_entry | TYPE AFFWRM, " | |||
| lv_i_weblpos | TYPE AFFWRM-WEBLPOS, " | |||
| lv_no_blpk_entry | TYPE AFFWRM, " | |||
| lv_no_t001w_entry | TYPE AFFWRM, " | |||
| lv_material_version_locked | TYPE AFFWRM, " | |||
| lv_mbew_locked | TYPE AFFWRM, " | |||
| lv_assy_order_locked | TYPE AFFWRM, " | |||
| lv_aufk_locked | TYPE AFFWRM, " | |||
| lv_lock_error | TYPE AFFWRM. " |
|   CALL FUNCTION 'RM_ENQUEUE_COGI' "NOTRANSL: Sperren absetzen beim Nachbearb. von Sefe-Rückständen mittels CO |
| EXPORTING | ||
| I_WEBLNR | = lv_i_weblnr | |
| I_WEBLPOS | = lv_i_weblpos | |
| EXCEPTIONS | ||
| NO_AFFW_ENTRY = 1 | ||
| NO_BLPK_ENTRY = 2 | ||
| NO_T001W_ENTRY = 3 | ||
| MATERIAL_VERSION_LOCKED = 4 | ||
| MBEW_LOCKED = 5 | ||
| ASSY_ORDER_LOCKED = 6 | ||
| AUFK_LOCKED = 7 | ||
| LOCK_ERROR = 8 | ||
| . " RM_ENQUEUE_COGI | ||
ABAP code using 7.40 inline data declarations to call FM RM_ENQUEUE_COGI
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 WEBLNR FROM AFFWRM INTO @DATA(ld_i_weblnr). | ||||
| "SELECT single WEBLPOS FROM AFFWRM INTO @DATA(ld_i_weblpos). | ||||
Search for further information about these or an SAP related objects