21. What is the difference between the function module
and a normal ABAP/4 subroutine?
In
contrast to normal subroutines function modules have uniquely defined
interface. Declaring
data
as common parts is not possible for function modules. Function modules are
stored in a
central
library.
22. What is a function group?
A
function group is a collection of logically related modules that share global
data with each
other.
All the modules in the group are included in the same main program. When an
ABAP/4
program
contains a CALL FUNCTION statement, the system loads the entire function group
in
with
the program code at runtime. Every function module belongs to a function group.
23. What is the disadvantage of a call by reference?
During
a call by reference damage or loss of data is not restricted to the subroutine,
but will
instantly
lead to changes to the original data objects.
24. A
function module can be called from a transaction screen outside an
ABAP/4
program. (T/F).
True.
25.
What is an update task?
It is an SAP provided procedure for
updating a database.
26.
What happens if a function module runs in an update task?
The system performs the module
processing asynchronously. Instead of carrying
out the call immediately, the
system waits until the next database update is
triggered with the 'COMMIT WORK'
command.
27.
The function modules are created and stored in the Function Library.
28.
When a function module is activated syntax checking is performed
automatically.
(Y/N)
True.
29.
What is the use of the RAISING exception?
The raising exception determines
whether the calling program will handle the
exception itself or leave the
exception to the system.
30.
What is the difference between internal tables and extract datasets?
• The lines of an internal table
always have the same structure. By using extract
datasets, you can handle groups of
data with different structure and get statistical
figures from the grouped data.
• You have to define the structure
of the internal table at the beginning. You need
not define the structure of the
extract dataset.
• In contrast to internal tables,
the system partly compresses exact datasets when
storing them. This reduces the
storage space required.
• Internal tables require special
work area for interface whereas extract datasets do
not need a special work area for
interface.
31. It
is possible to assign a local data object defined in a subroutine or
function
module to a field group. (T/F).
False.
32.
What is the difference between field-group header and other field
groups?
The header field group is a special
field group for the sort criteria. The system
automatically prefixes any other
field groups with the header field group.
33.
Can a filed occur in several field groups.
Yes. But it leads to unnecessary
data redundancy.
34.
When sorting the extract dataset the fields used as default sort key lie
in the
Header field group.
35.
What does the insert statement in extract datasets do?
It defines the fields of a field
group.
36.
What does the extract statement do in extract datasets?
The data is written to virtual
memory by extract commands.
Finance economy finance & insurance money derivatives wall
street young money got money cash money get money
37. A
field-groups statement or an insert statement reverses storage
space
and transfers values. (T/F).
False.
38.
While using extract datasets it is required to have a special workarea
for
interface (T/F)
False.
39.
The LOOP-ENDLOOP on extract datasets can be used without any kind
of
errors (T/F)
False. It causes runtime errors.
40.
The Maximum no of key fields that can be used in a header is 50.
41.
While sorting field groups we cannot use more than one key field (T/F).
False.
42.
While sorting, if the main storage available is not enough, the system
writes
data to an external help file.
The SAP profile parameter, which
determines this help file, is DIR_SORTTMP.
43.
The extract statements in field groups can be used before or after
processing
the sort statements. (T/F)
FALSE.
No comments:
Post a Comment