Get Example source ABAP code based on a different SAP table
• OF GET PERMISSIONS OF • ENTITY GET PERMISSIONS OF • REQUEST GET PERMISSIONS OF
GET PERMISSIONS OF>, Long Form
ABAP_SYNTAX GET PERMISSIONS $[PRIVILEGED>>$] $[only_clause>$] OF bdef ENTITY entity1 $[FROM keys$] REQUEST request RESULT result $[ENTITY entity2 $[FROM keys$] REQUEST request RESULT result$] $[...$] $[response_param>>$].>
What does it do? The long form of the GET PERMISSIONS> statement is used for collecting multiple queries on multiple entities of a RAP BO. However, it can also be used for querying from a single entity. Syntax Details> Syntax Part>Details> bdef>Specifies the name of the RAP BO root entity> following the keyword OF>. ENTITY entity1>, ENTITY entity2>, ... entity1>, entity2 >, ..., specify the names of the entities that are part of the composition tree> of bdef >. They follow the keyword ENTITY>. lbr lbr A list of queries follows OF bdef>. Each query (ENTITY entity1 ... RESULT result_tab>) of the list has the same syntax as the short form>. At least one query must be specified. The root entity itself can also be inserted in the position of entity1>, for example. entity1>, and so on, should be the entity alias names if provided in the BDEF>. Using the full entity name causes a warning. If the root entity is used in the list of operations, its alias name, if defined in the BDEF, should be used as well.