SAP Certified Associate – ABAP Cloud Developer — Question 1
In the assignment:
data (gv_result) = 1/8.
What will be the data type of gv_result?
Answer options
- A. TYPE P DECIMALS 3
- B. TYPE P DECIMALS 2
- C. TYPE DEFLOAT16
- D. TYPE I
Correct answer: C
Explanation
The correct answer is C, TYPE DEFLOAT16, because the operation 1/8 results in a floating-point number. The other options, TYPE P with decimals and TYPE I, are fixed-point and integer types, respectively, which cannot accurately represent the decimal result of the division.