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 4 Question 27 Discussion

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

What RESTful Application Programming object contains only the fields required for a particular app?

Show Suggested Answer Hide Answer
Suggested Answer: C, D

Incomplete ABAP types are types that do not specify all the attributes of a data type, such as the length, the number of decimal places, or the value range. Incomplete types can only be used for the typing of field symbols and formal parameters, not for the definition of data objects or constants.Incomplete types can be either predefined or user-defined1.

The following are incomplete ABAP types:

C . C is a type for character strings with a generic length. The length of the character string has to be specified when a data object or a constant is defined with this type.For example, DATA text TYPE c LENGTH 10 defines a data object named text with a type c and a length of 10 characters2.

D . P is a type for packed numbers with a generic length and a generic number of decimal places. The length and the number of decimal places of the packed number have to be specified when a data object or a constant is defined with this type.For example, DATA amount TYPE p LENGTH 8 DECIMALS 2 defines a data object named amount with a type p, a length of 8 bytes, and 2 decimal places3.

The following are not incomplete ABAP types, because they specify all the attributes of a data type:

A . String is a type for variable-length character strings. The length of the character string is determined at runtime and can vary from 0 to 2,147,483,647 characters. The length does not have to be specified when a data object or a constant is defined with this type.For example, DATA text TYPE string defines a data object named text with a type string and a variable length4.

B . T is a type for time values in the format HHMMSS. The length of the time value is fixed at 6 characters and does not have to be specified when a data object or a constant is defined with this type. For example, DATA time TYPE t defines a data object named time with a type t and a length of 6 characters.


Contribute your Thoughts:

Shelton
3 months ago
Projection View for the win! Although, I do wonder if the exam writers are trying to slip in a curveball with that 'Metadata extension' option.
upvoted 0 times
Lenna
2 months ago
I agree, Projection View is the most suitable option.
upvoted 0 times
...
Tamra
2 months ago
I think Projection View is the best choice too.
upvoted 0 times
...
Mary
2 months ago
Projection View is definitely the way to go.
upvoted 0 times
...
...
Mickie
3 months ago
Wait, is this a trick question? What if the answer is actually D) Data model view? That could also contain only the required fields, right?
upvoted 0 times
...
Mitzie
3 months ago
C) Projection View, definitely. Any good RESTful API should be using projection views to keep the response payloads lean and efficient.
upvoted 0 times
...
Shawnta
3 months ago
This is a tricky one! I'm going to go with C) Projection View. It just sounds like the most relevant option for a RESTful API.
upvoted 0 times
Junita
2 months ago
I would go with C) Projection View as well.
upvoted 0 times
...
Hyman
2 months ago
I'm not sure, but Database view doesn't seem right.
upvoted 0 times
...
Sue
2 months ago
I agree, Projection View makes sense for a RESTful API.
upvoted 0 times
...
Larue
2 months ago
I think C) Projection View is the correct answer.
upvoted 0 times
...
...
Freeman
3 months ago
Hmm, I'm torn between B) Metadata extension and C) Projection View. I know Projection Views are used to return only the required fields, but Metadata extensions could also be used for that purpose.
upvoted 0 times
Noah
2 months ago
Yes, Projection Views are specifically designed for that purpose.
upvoted 0 times
...
Francisca
2 months ago
I agree, Projection Views are used to return only the required fields.
upvoted 0 times
...
King
3 months ago
I think C) Projection View is the correct answer.
upvoted 0 times
...
...
Caprice
4 months ago
I'm not sure, but I think it might be A) Database view because it sounds like it could contain only the fields required.
upvoted 0 times
...
Gene
4 months ago
I agree with Valda, Projection View makes sense for this question.
upvoted 0 times
...
Twanna
4 months ago
The question is asking about a RESTful API, so I'm guessing the correct answer is C) Projection View. That seems to be the only one that's specifically about API objects.
upvoted 0 times
Yolando
3 months ago
Yeah, Database view doesn't seem to fit the question.
upvoted 0 times
...
Leana
3 months ago
I'm not sure, but Database view doesn't sound right.
upvoted 0 times
...
Hui
4 months ago
I agree, Projection View makes sense for a RESTful API.
upvoted 0 times
...
Martina
4 months ago
I think the answer is C) Projection View.
upvoted 0 times
...
...
Valda
4 months ago
I think the answer is C) Projection View.
upvoted 0 times
...

Save Cancel