LOCK_AGGR_ACTION SAP Method Locks aggregate action for generation









Below is documentation, parameters and attributes of ABAP Method LOCK_AGGR_ACTION within SAP class /BOFU/CL_PPF_UTILITIES. 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 /BOFU/CL_PPF_UTILITIES 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_AGGR_ACTION can also be found below:

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


Parameters of Method LOCK_AGGR_ACTION

.

NameTypeData TypeDescriptionDefault Value
IV_ALT_KEY1ImportingTYPE
/BOFU/PPF_DOC_ID_1
BO Node Identifier Field 1
IV_ALT_KEY2ImportingTYPE
/BOFU/PPF_DOC_ID_2
BO Node Identifier Field 2
IV_ALT_KEY3ImportingTYPE
/BOFU/PPF_DOC_ID_3
BO Node Identifier Field 3
IV_ALT_KEY4ImportingTYPE
/BOFU/PPF_DOC_ID_4
BO Node Identifier Field 4
IV_ALT_KEY5ImportingTYPE
/BOFU/PPF_DOC_ID_5
BO Node Identifier Field 5
IV_APPLKEYImportingTYPE
PPFDAPPKEY
Semantic Key of Application Object
IV_PPF_PROFILEImportingTYPE
PPFDCNTXT
PPF: Name of Action Profile
RV_LOCKEDReturningTYPE
ABAP_BOOL



Exceptions of Method LOCK_AGGR_ACTION

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /BOFU/CL_PPF_UTILITIES.
DATA: lv_IV_ALT_KEY1 TYPE /BOFU/PPF_DOC_ID_1,
lv_IV_ALT_KEY2 TYPE /BOFU/PPF_DOC_ID_2,
lv_IV_ALT_KEY3 TYPE /BOFU/PPF_DOC_ID_3,
lv_IV_ALT_KEY4 TYPE /BOFU/PPF_DOC_ID_4,
lv_IV_ALT_KEY5 TYPE /BOFU/PPF_DOC_ID_5,
lv_IV_APPLKEY TYPE PPFDAPPKEY,
lv_IV_PPF_PROFILE TYPE PPFDCNTXT,
lv_RV_LOCKED TYPE ABAP_BOOL,
lv_other TYPE c.

CALL METHOD lo_class=>LOCK_AGGR_ACTION(
EXPORTING
IV_ALT_KEY1 = lv_IV_ALT_KEY1
IV_ALT_KEY2 = lv_IV_ALT_KEY2
IV_ALT_KEY3 = lv_IV_ALT_KEY3
IV_ALT_KEY4 = lv_IV_ALT_KEY4
IV_ALT_KEY5 = lv_IV_ALT_KEY5
IV_APPLKEY = lv_IV_APPLKEY
IV_PPF_PROFILE = lv_IV_PPF_PROFILE
RECEIVING
RV_LOCKED = lv_RV_LOCKED )



"Alternate coding for Method Call with returning parameter
lv_RV_LOCKED = lo_class=>LOCK_AGGR_ACTION(
EXPORTING
IV_ALT_KEY1 = lv_IV_ALT_KEY1
IV_ALT_KEY2 = lv_IV_ALT_KEY2
IV_ALT_KEY3 = lv_IV_ALT_KEY3
IV_ALT_KEY4 = lv_IV_ALT_KEY4
IV_ALT_KEY5 = lv_IV_ALT_KEY5
IV_APPLKEY = lv_IV_APPLKEY
IV_PPF_PROFILE = lv_IV_PPF_PROFILE ).

Links to Related Class(s)

/BOFU/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!