750 Guide chapter 6, ABAP data type and data objects Flashcards

1
Q

What is the length of a text literal vs a string literal?

A

String is 0 to 255, text is 1 to 255

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

how long can a variable name be ?

A

30 characters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Is the LIKE statement allowed in ABAP objects?

A

Yes, but only for local data objects or SY- fields

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the four character types?

A

C, D, T, N

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the 6 numeric types

A

P, I, F, Decfloat16, Decfloat34, INT8

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Integers are presented as whole numbers. How are fractions treated

A

They are rounded, not truncated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What makes a data type complete?

A

No need to specify length

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What types are complete

A

D, T , F , I , INT8 , DECFLOAT16 ,DECFLOAT34

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What types are incomplete

A

C, N, X, P

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What class has the max and min values of numeric types a constants

A

CL_ABAP_MATH

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the output length of INT8?

A

20

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Give the maximum length for types C and N?

A

262143

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the maximum length of a type P field

A

16, the max decimal places is 14

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the maximum length of a local data object name?

A

30

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

A table type defined as “not specified” cannot be accessed by index? Is this true or false?

A

It is true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Within an internal table control group, can yo modify the table lines?

A

No, it makes no sense to do so as the control group would be invalidated

17
Q

When using control groups of an internal table it is okay to use the WHERE clause to skip some records?

A

No, where cannot be used with control groups

18
Q

When using control groups in an internal table loop, what should be done to the table first?

A

It should be sorted by control group expectations