TAW_10_1 chapter 15, program calls and memory management Flashcards

1
Q

When using call transaction, how can messages from the called program be returned

A

By specifying MESSAGES INTO itmessages

where itmessages is of type BDCMSGCOLL

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

When calling a transaction from a program, how can the execution of the called program be checked?

A

sy-subrc, or look for E messages in the message table

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

How can parameters be passed when calling a tcode from within a program.

A

Use a table of type BDCDATA

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

What are the five fields of BDCDATA

A
PROGRAM
DYNPRO
DYNBEGIN
FNAM
FVAL
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

In a BDC, the MODE can be A,E, or N. Can this be used in call transaction as well?

A

Yes it can

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

Are ABAP objects generated?

A

Yes, they are generated by the compiler

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

What is the PXA area of working memory

A

Where non-modifiable parts of the program are stored one time for use by all users

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

What is stored in the roll area of working memory?

A

The modifiable parts of the program (variables) by user/execution.

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

What transaction can be used to determine if a program is in the PXA?

A

ST02->detailed analysis->program->buffered objects

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

An external session is related to each gui window. How many external sessions can be opened at once

A

Up to 16, but the parameter is set to a default of 6

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

What is a program group

A

A program group is a main program and possible other called programs/function groups/classes that form an internal session

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

If the main program uses function group AB and function group BC. And function group AB uses function group BC, how many copies of function group BC exists in the program group?

A

Just one and that can cause issues because bot the program and AB can modify BC data. Best in this case to use a class and create an separate instances

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

What transaction is used to analyze external sessions

A

SM04 and AL08 for external and internal sessions

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

How can data be shared between programs running in different program groups?

A
Using the selection screen of the program being called
SAP memory
ABAP memory
Database tables
local files on presentation server
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the difference in scope of ABAP memory and SAP memory?

A

ABAP memory is external session dependent (per program group)
SAP memory is user session dependent and can be used across external sessions

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

How is ABAP memory used

A
EXPORT 
 = 
 = 
TO MEMORY ID 'MYMEMORY'
And then
IMPORT
 = 
 = 
FROM MEMORY ID 'MYMEMORY'
17
Q

How long can the Memory ID name be?

A

60 characters

18
Q

What is SAP memory?

A

PIDs