TAW_10_1 chapter 15, program calls and memory management Flashcards
When using call transaction, how can messages from the called program be returned
By specifying MESSAGES INTO itmessages
where itmessages is of type BDCMSGCOLL
When calling a transaction from a program, how can the execution of the called program be checked?
sy-subrc, or look for E messages in the message table
How can parameters be passed when calling a tcode from within a program.
Use a table of type BDCDATA
What are the five fields of BDCDATA
PROGRAM DYNPRO DYNBEGIN FNAM FVAL
In a BDC, the MODE can be A,E, or N. Can this be used in call transaction as well?
Yes it can
Are ABAP objects generated?
Yes, they are generated by the compiler
What is the PXA area of working memory
Where non-modifiable parts of the program are stored one time for use by all users
What is stored in the roll area of working memory?
The modifiable parts of the program (variables) by user/execution.
What transaction can be used to determine if a program is in the PXA?
ST02->detailed analysis->program->buffered objects
An external session is related to each gui window. How many external sessions can be opened at once
Up to 16, but the parameter is set to a default of 6
What is a program group
A program group is a main program and possible other called programs/function groups/classes that form an internal session
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?
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
What transaction is used to analyze external sessions
SM04 and AL08 for external and internal sessions
How can data be shared between programs running in different program groups?
Using the selection screen of the program being called SAP memory ABAP memory Database tables local files on presentation server
What is the difference in scope of ABAP memory and SAP memory?
ABAP memory is external session dependent (per program group)
SAP memory is user session dependent and can be used across external sessions