Get Example source ABAP code based on a different SAP table
• ENTITY SET LOCKS ENTITY • FROM SET LOCKS ENTITY
SET LOCKS ENTITY>, Short Form
ABAP_SYNTAX SET LOCKS ENTITY entity FROM inst $[ response_param>>$].>
ABAP Addition ... response_param.>
What does it do? Used to exclusively lock instances of a single RAP BO entity. The entity name entity> can be specified directly. The entity name must be the full entity name and cannot be an alias name because the context of a RAP BO is unknown. inst> is an internal table specifying the instances that are to be locked. The table must be typed with the BDEF derived type> TYPE TABLE FOR KEY OF>>. It can be constructed in an operand position using constructor expressions>, for example with the value operator> ( VALUE>) and other constructor operators> to fill the internal table with instances as input parameters after the keyword FROM>.