SAP DERIVED TYPES - Obsolete ABAP Statements



Get Example source ABAP code based on a different SAP table
  


• LOCK TYPE TABLE FOR

ABAP_EML - Obsolete BDEF Derived Types

ABAP_SYNTAX
... $[TYPE$] ${ TABLE $| STRUCTURE $} FOR LOCK bdef.

What does it do?
Special ABAP type that is used for internal tables and structures in the context of RAP to enable the communication between a RAP BO provider and a RAP BO consumer.

Overview
The following table covers the variants including information on the BDEF prerequisites and its components.
For more information on the components, see Components of BDEF Derived Types. For more information on the BDEF specifications, see the subtopics in ABAP CDS - BDL for Behavior Definitions. TYPE TABLE FOR ...PurposeBDEF Prerequisites Components
LOCK Used to specify RAP BO instances that are to be locked in the context of the ABAP_EML statement SET LOCKS. It is basically the same as TYPE TABLE KEY OF (or TYPE STRUCTURE FOR KEY OF respectively). In ADT, a variable typed with TYPE TABLE FOR LOCK shows TYPE TABLE FOR KEY OF (or TYPE STRUCTURE FOR LOCK shows TYPE STRUCTURE FOR KEY OF respectively) in the element information (F2). See the details in the RAP BDL documentation for locking .The keys (not %key). lbr lbr ABAP_NOTE %is_draft and %pid are not possible.

ABAP_FURTHER_INFO
TYPE TABLE FOR
TYPE STRUCTURE FOR

Return to menu