LOCK SAP Method Lock BCV Object









Below is documentation, parameters and attributes of ABAP Method LOCK within SAP class /BCV/CL_AUT_ACL_ASSISTANCE. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /BCV/CL_AUT_ACL_ASSISTANCE into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method LOCK can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method LOCK

.

NameTypeData TypeDescriptionDefault Value
IV_DASHBOARD_CTXKEYImportingTYPE
/BCV/FND_CONTEXT_KEY
Context Key
IV_DASHBOARD_IDImportingTYPE
/BCV/UIF_DASHB_ID
ID of Dashboard
IV_QVIEW_IDImportingTYPE
/BCV/UIF_QVIEW_ID
ID of Query View
IV_SNAPSHOT_IDImportingTYPE
/BCV/UIF_SNAPSHOT_ID
Snapshot ID
IV_UGRP_IDImportingTYPE
/BCV/AUT_UGRP_ID
User Group ID
EV_RETURN_VALUEExportingTYPE
/BCV/FND_LOCK_RETURN_VALUE
Set Lock: Return Value
EV_USER_FOREIGN_LOCKExportingTYPE
SYUNAME
User Name



Exceptions of Method LOCK

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /BCV/CL_AUT_ACL_ASSISTANCE.
DATA: lv_EV_RETURN_VALUE TYPE /BCV/FND_LOCK_RETURN_VALUE,
lv_EV_USER_FOREIGN_LOCK TYPE SYUNAME,
lv_IV_DASHBOARD_CTXKEY TYPE /BCV/FND_CONTEXT_KEY,
lv_IV_DASHBOARD_ID TYPE /BCV/UIF_DASHB_ID,
lv_IV_QVIEW_ID TYPE /BCV/UIF_QVIEW_ID,
lv_IV_SNAPSHOT_ID TYPE /BCV/UIF_SNAPSHOT_ID,
lv_IV_UGRP_ID TYPE /BCV/AUT_UGRP_ID,
lv_other TYPE c.

CALL METHOD lo_class=>LOCK(
EXPORTING
IV_DASHBOARD_CTXKEY = lv_IV_DASHBOARD_CTXKEY
IV_DASHBOARD_ID = lv_IV_DASHBOARD_ID
IV_QVIEW_ID = lv_IV_QVIEW_ID
IV_SNAPSHOT_ID = lv_IV_SNAPSHOT_ID
IV_UGRP_ID = lv_IV_UGRP_ID
IMPORTING
EV_RETURN_VALUE = lv_EV_RETURN_VALUE
EV_USER_FOREIGN_LOCK = lv_EV_USER_FOREIGN_LOCK ).

Links to Related Class(s)

/BCV/CL_...
Full list of available SAP object classes

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!