In ABAP SQL, which of the following retrieves the association field_Airline-Name of a CDS view?

In ABAP SQL, which of the following retrieves the association field_Airline-Name of a CDS view?
A . _Airline-Name
B . /_Airline Name
C . @_Airline-Name
D . "_Airline Name

Answer: C

Explanation:

In ABAP SQL, the syntax to retrieve the association field of a CDS view is to use the @ sign followed by the association name and the field name, separated by a period sign (.). For example, to retrieve the association field _Airline-Name of a CDS view, the syntax is @_Airline.Name. This syntax allows the access to the fields of the target data source of the association without explicitly joining the data sources1. The other options are incorrect because they use the wrong symbols or formats to access the association field.

Reference: 1: Path Expressions – ABAP Keyword Documentation

Subscribe
Notify of
guest
1 Comment
Inline Feedbacks
View all comments
Hemant
Hemant
6 days ago

After seeing the explanation what comes to mind…”Bhagvan se daro”

Answer is \ back slash not in the option