Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

SAP Exam C_ABAPD_2309 Topic 3 Question 36 Discussion

Actual exam question for SAP's C_ABAPD_2309 exam
Question #: 36
Topic #: 3
[All C_ABAPD_2309 Questions]

Using ABAP SQL, which select statement selects the mat field on line #17?

Show Suggested Answer Hide Answer
Suggested Answer: B

Using ABAP SQL, the select statement that selects the mat field on line #17 is:

SELECT mat FROM demo_sales_cds_so_i_ve...

This statement selects the mat field from the CDS view demo_sales_cds_so_i_ve, which is defined on line #1. The CDS view demo_sales_cds_so_i_ve is a projection view that projects the fields of the CDS view demo_sales_cds_so_i, which is defined on line #2. The CDS view demo_sales_cds_so_i is a join view that joins the fields of the database table demo_sales_so_i, which is defined on line #3, and the CDS view demo_sales_cds_material_ve, which is defined on line #4. The CDS view demo_sales_cds_material_ve is a value help view that provides value help for the material field of the database table demo_sales_so_i.The mat field is an alias for the material field of the database table demo_sales_so_i, which is defined on line #91.

The other options are not valid because:

A . SELECT mat FROM Material... is not valid because Material is not a valid data source in the given code. There is no CDS view or database table named Material.

C . SELECT mat FROM demo_sales_so_i... is not valid because demo_sales_so_i is not a valid data source in the given code. There is no CDS view named demo_sales_so_i, only a database table. To access a database table, the keyword TABLE must be used, such as SELECT mat FROM TABLE demo_sales_so_i...

D . SELECT mat FROM demo sales cds material ve... is not valid because demo sales cds material ve is not a valid data source in the given code. There is no CDS view or database table named demo sales cds material ve. The correct name of the CDS view is demo_sales_cds_material_ve, with underscores instead of spaces.


Contribute your Thoughts:

Ryan
6 days ago
Option B? More like Option Bee's Knees! Get it? Because it's a database table... Anyway, I'm sticking with that one.
upvoted 0 times
...
Melita
13 days ago
Hmm, B seems the most logical, but I wonder if there's a typo in the table name. Better play it safe and go with A.
upvoted 0 times
...
Von
14 days ago
D definitely sounds like it's trying too hard. I'm going with C - it's straightforward and to the point.
upvoted 0 times
Aja
1 days ago
I agree, C is the most straightforward option.
upvoted 0 times
...
...
Leslie
18 days ago
Option B looks promising, but I'm not sure if the table name is exactly correct. I'll need to double-check the documentation.
upvoted 0 times
...
Trinidad
19 days ago
I see your point, but I still think A is the right choice because it directly mentions 'Material'.
upvoted 0 times
...
Cyndy
1 months ago
I disagree, I believe the correct answer is B) SELECT mat FROM demo_sales_cds_so_i_ve...
upvoted 0 times
...
Trinidad
1 months ago
I think the answer is A) SELECT mat FROM Material...
upvoted 0 times
...

Save Cancel