Which field is defined incorrectly?

Which field is defined incorrectly?

A . field1
B . field3
C . field4
D . field2

Answer: C

Explanation:

The field4 is defined incorrectly in the ABAP code snippet. The reason is that the data type c (character) cannot have a decimal places specification. The decimal places specification is only valid for the data types p (packed number) and f (floating point number)1. Therefore, the field4 definition should either omit the decimal places specification or change the data type to p or f.

Explanation:

Reference: 1: Data Types and Data Objects – ABAP Keyword Documentation – SAP Online Help

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments