Ansicht
Dokumentation

ABENEML_SET_LOCKS - EML SET LOCKS

ABENEML_SET_LOCKS - EML SET LOCKS

BAL_S_LOG - Application Log: Log header data   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

- SET LOCKS

SET LOCKS OF root_name
   ENTITY entity_1_name FROM lt1
  $[ENTITY entity_2_name FROM lt2 ...$]
  $[FAILED   it_failed$]
  $[REPORTED it_reported$].

SET LOCKS
   ENTITY entity_name FROM lt
  $[FAILED it_failed$]
  $[REPORTED it_reported$].


Effect

The explicit locking of instances for a following modification is not necessary since the framework automatically locks instances contained in the method MODIFY. However, if the application knows that instances will be needed (that need to be protected so that users cannot change the same data simultaneously), the SET LOCKS statement can be used.

Two types of the statement SET LOCKS are available:

  • a long form SET LOCKS OF root_name
  • a short form SET LOCKS.

The table types required here can be declared statically using the syntax TYPE ... TABLE FOR LOCK OF (see Derived Types).






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 1740 Date: 20240328 Time: 183909     sap01-206 ( 25 ms )