Ansicht
Dokumentation

ABENEML_SET_NAMES_ABEXA - EML SET NAMES ABEXA

ABENEML_SET_NAMES_ABEXA - EML SET NAMES ABEXA

ROGBILLS - Synchronize billing plans   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

- Variants of SET NAMES

This example demonstrates the variants of the SET NAMES statement.

Data model

The CDS data model consists of the root entity DEMO_MANAGED_ROOT_MAP and its child entity DEMO_MANAGED_CHILD_MAP.

Root entity:

Child entity:

Behavior definition

The CDS behavior definition DEMO_MANAGED_ROOT_MAP is defined in CDS BDL as follows:

Behavior implementation

For the above CDS behavior definition, one ABP (BP_DEMO_MANAGED_ROOT_MAP) is created. It is not relevant for the example.

Source Code

Execute

Description

Access with ABAP using EML

The above source code uses EML to access the RAP business object from an ABAP program.

For all variants of the SET NAMES statement, variables are declared for the field list typed with ABP_FIELD_NAME_TAB and for the source that is typed with a BDEF derived type which includes the %control structure. The components of the %control structure include a value that is initial and, thus, not contained in the field list.

The field lists for all variants are displayed in an output window. The first variant comprises examples for both %control and %element for the source.






CPI1466 during Backup   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2216 Date: 20240419 Time: 033037     sap01-206 ( 30 ms )