SAP ISM_SD_SQP_ENQUEUE_UPDATE Function Module for Convert Locks









ISM_SD_SQP_ENQUEUE_UPDATE is a standard ism sd sqp enqueue update SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Convert Locks 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 ism sd sqp enqueue update FM, simply by entering the name ISM_SD_SQP_ENQUEUE_UPDATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: JKSDSQP_DYNAMIC_LOCK
Program Name: SAPLJKSDSQP_DYNAMIC_LOCK
Main Program: SAPLJGSDCAL01
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISM_SD_SQP_ENQUEUE_UPDATE 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 'ISM_SD_SQP_ENQUEUE_UPDATE'"Convert Locks
EXPORTING
IM_VBELN = "Sales Document
IM_POSNR = "Sales document item
* IM_ISSUE = "Media Issue
* IM_VERSION = "IS-M: Quantity Plan Version
* IM_SCOPE = CON_SCOPE_UPD "TYPE
* IM_MODE = CON_ENQMODE_UPD "TYPE

IMPORTING
EX_LOCKPROBLEM = "
EX_USER = "User Name
.



IMPORTING Parameters details for ISM_SD_SQP_ENQUEUE_UPDATE

IM_VBELN - Sales Document

Data type: VBELN_VA
Optional: No
Call by Reference: Yes

IM_POSNR - Sales document item

Data type: POSNR_VA
Optional: No
Call by Reference: Yes

IM_ISSUE - Media Issue

Data type: ISMMATNR_ISSUE
Optional: Yes
Call by Reference: Yes

IM_VERSION - IS-M: Quantity Plan Version

Data type: JSDVERSION
Optional: Yes
Call by Reference: Yes

IM_SCOPE - TYPE

Data type: DDENQSCOPE
Default: CON_SCOPE_UPD
Optional: Yes
Call by Reference: Yes

IM_MODE - TYPE

Data type: ENQMODE
Default: CON_ENQMODE_UPD
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for ISM_SD_SQP_ENQUEUE_UPDATE

EX_LOCKPROBLEM -

Data type: ABAP_BOOL
Optional: No
Call by Reference: Yes

EX_USER - User Name

Data type: SY-UNAME
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISM_SD_SQP_ENQUEUE_UPDATE 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_im_vbeln  TYPE VBELN_VA, "   
lv_ex_lockproblem  TYPE ABAP_BOOL, "   
lv_ex_user  TYPE SY-UNAME, "   
lv_im_posnr  TYPE POSNR_VA, "   
lv_im_issue  TYPE ISMMATNR_ISSUE, "   
lv_im_version  TYPE JSDVERSION, "   
lv_im_scope  TYPE DDENQSCOPE, "   CON_SCOPE_UPD
lv_im_mode  TYPE ENQMODE. "   CON_ENQMODE_UPD

  CALL FUNCTION 'ISM_SD_SQP_ENQUEUE_UPDATE'  "Convert Locks
    EXPORTING
         IM_VBELN = lv_im_vbeln
         IM_POSNR = lv_im_posnr
         IM_ISSUE = lv_im_issue
         IM_VERSION = lv_im_version
         IM_SCOPE = lv_im_scope
         IM_MODE = lv_im_mode
    IMPORTING
         EX_LOCKPROBLEM = lv_ex_lockproblem
         EX_USER = lv_ex_user
. " ISM_SD_SQP_ENQUEUE_UPDATE




ABAP code using 7.40 inline data declarations to call FM ISM_SD_SQP_ENQUEUE_UPDATE

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 UNAME FROM SY INTO @DATA(ld_ex_user).
 
 
 
 
DATA(ld_im_scope) = CON_SCOPE_UPD.
 
DATA(ld_im_mode) = CON_ENQMODE_UPD.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!