TAW_11 Chapter 8, Organization of Database updates Flashcards

1
Q

Perform on commit occurs when..

A

when the commit work statement is issued

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

How can a rollback be initiated from a perform on commit?

A

type A message

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

What transaction is used for monitoring update requests

A

SM13

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

Update modules contain IMPORTING and EXPORTING?

A

No, only importing pass by value

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

How are update modules called from a dialog program?

A

Call the function module IN UPDATE TASK

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

How are LUW updates stored?

A

In VB tables with a VBKEY.

VBDATA and VBMOD, VBHDR after commit

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

How can FM IN UPDATE TASKS be aborted before commit?

A

ROLLBACK WORK, Message A or X

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

If I leave a transaction before commit work but without a rollback or message A or X, what happens to the log entries?

A

They remain in the VBDATA, VBMOD logs and must be removed later

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

There are 4 ways to reorg the update logs, what are they?

A

Directly from SM13
An auto update based on profile parameters
Deleted after ## days based on profile parameter
Scheduled run of RSM13002

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

What two things cannot be used in an update FM?

A

Commit work and Rollback work

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

What is the difference between COMMIT WORK and COMMIT WORK AND WAIT

A

COMMIT WORK is async COMMIT WORK AND WAIT is sync

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

During commit work and wait, is the work process retained?

A

No, it is rolled out

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

How is a local update initiated?

A

SET UPDATE TASK LOCAL before the commit

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

Are local updates written to the VB tables

A

No

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

It is best to use LOCAL updates in dialog programs?

A

No, LOCAL updates should only be used in batch processes because they tie up dialog processes

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

Are local updates sync or async

A

sync even though they don’t have a wait

17
Q

what are the two ways to force a sync update

A

COMMIT WORK AND WAIT

Or SET UPDATE TASK LOCAL and COMMIT WORK

18
Q

Can V1 updates be restarted?

A

Yes

19
Q

What determines if an update is V1 or V2?

A

Immediate start is V1, delayed or collective is V2

20
Q

If V1 fails do V2 requests occur?

A

No

21
Q

If no UP2 work requests exist, where do V2 updates run?

A

UPD

22
Q

The V2 process always runs without SAP locks?

A

Correct, locks are released by V1.

23
Q

Does ABAP have SELECT …FOR UPDATE?

A

Yes, it locks at the database level.

24
Q

How can I insure that a DB change is last in the Db LUW

A

In the update function module add a form with perform on commit. These will always be last