750 Guide chapter 6, ABAP data type and data objects Flashcards
What is the length of a text literal vs a string literal?
String is 0 to 255, text is 1 to 255
how long can a variable name be ?
30 characters
Is the LIKE statement allowed in ABAP objects?
Yes, but only for local data objects or SY- fields
What are the four character types?
C, D, T, N
What are the 6 numeric types
P, I, F, Decfloat16, Decfloat34, INT8
Integers are presented as whole numbers. How are fractions treated
They are rounded, not truncated
What makes a data type complete?
No need to specify length
What types are complete
D, T , F , I , INT8 , DECFLOAT16 ,DECFLOAT34
What types are incomplete
C, N, X, P
What class has the max and min values of numeric types a constants
CL_ABAP_MATH
What is the output length of INT8?
20
Give the maximum length for types C and N?
262143
What is the maximum length of a type P field
16, the max decimal places is 14
What is the maximum length of a local data object name?
30
A table type defined as “not specified” cannot be accessed by index? Is this true or false?
It is true
Within an internal table control group, can yo modify the table lines?
No, it makes no sense to do so as the control group would be invalidated
When using control groups of an internal table it is okay to use the WHERE clause to skip some records?
No, where cannot be used with control groups
When using control groups in an internal table loop, what should be done to the table first?
It should be sorted by control group expectations