TAW_10_1 chapter 11, complex objects Flashcards

1
Q

What are recommended naming conventions for structure types

A

ts_ for structure types
gs_ for global structures
ls_ for local structures

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

Can begin and end of structure be used instead of begin and end of type?

A

Yes, provided the type is only used once

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

Can a hyphen be used as part of a field name?

A

Yes, but it should be avoided as it looks like a structure field

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

Can a standard table have a unique key?

A

Apparently not

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

What kind of key can an sorted table have?

A

Unique and non-unique

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

What are the recommended naming conventions for a local table

A

tt_ table type
gt_ global program table
lt_ local form or method table

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

There are six internal table statements. Give examples of each.

A
APPEND  TO .  "only standard tables
INSERT  INTO TABLE .  {condition}
READ TABLE  INTO . {condition}
MODIFY TABLE  from . {condition}
DELETE TABLE . {condition}
COLLECT  into .
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How can lines of a table be added to another table?

A

Append lines of into

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

How can lines of one table be inserted into another table?

A

Insert lines of {condition} into {condition}

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

What is the difference between “with key = “

and “with table key = ?

A

When table key is used, you must specify all fields of the key

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

When using “move-corresponding” for internal tables, how can I insure the current contents of the target table are not overwritten?

A

Keeping target lines

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

What are two less common additions to the internal table sort command?

A

AS TEXT - Lexical sorting, special characters

STABLE - keep like key records in current order

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

What’s the difference between CLEAR, REFRESH, FREE?

A

CLEAR clears the internal table area unless “with header line” was used, in which case it only clears the header line.
REFRESH clears the internal table but if “with header line” was used it does not clear the header line
FREE clears the internal table and frees the memory area.

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

There are two ways in which to declare a table with a header line. What are they?

A

Use the “WITH HEADER LINE” addition

Use the “OCCURS #” addition

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