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 begining. You need not define the structure of the extract dataset.
In contrast to internal tables, the system partly compresses extract 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.
Interview Questions and Answers PDF free download for freshers and beginners, Multiple Choice Questions (MCQs), Placement Papers
What are the different methods of passing data? | ABAP ALV Reports
Calling by reference: During a subroutine call, only the address of the actual parameter is transferred to the formal parameters. The formal parameter has no memory of its own, and we work with the field of the calling program within the subroutine. If we change the formal parameter, the field contents in the calling program also change.
Calling by value: During a subroutine call, the formal parameters are created as copies of the actual parameters. The formal parameters have memory of their own. Changes to the formal parameters have no effect on the actual parameters.
Calling by value and result: During a subroutine call, the formal parameters are created as copies of the actual parameters. The formal parameters have their own memory space. Changes to the formal parameters are copied to the actual parameters at the end of the subroutine.
The method by which internal tables are passed is By Reference.
Calling by value: During a subroutine call, the formal parameters are created as copies of the actual parameters. The formal parameters have memory of their own. Changes to the formal parameters have no effect on the actual parameters.
Calling by value and result: During a subroutine call, the formal parameters are created as copies of the actual parameters. The formal parameters have their own memory space. Changes to the formal parameters are copied to the actual parameters at the end of the subroutine.
The method by which internal tables are passed is By Reference.
How can one distinguish between different kinds of parameters? | ABAP ALV Reports
Input parameters are used to pass data to subroutines.
Output parameters are used to pass data from subroutines.
Output parameters are used to pass data from subroutines.
What are the different types of parameters? ABAP ALV Reports
Formal parameters: Parameters which are defined during the definition of subroutine with the FORM statement.
Actual parameters: Parameters which are specified during the call of a subroutine with the PERFORM statement.
Actual parameters: Parameters which are specified during the call of a subroutine with the PERFORM statement.
What are the types of Subroutines? | ABAP ALV Reports
Internal Subroutines: The source code of the internal subroutines will be in the same ABAP/4 program as the calling procedure (internal call).
External Subroutines: The source code of the external subroutines will be in an ABAP/4 program other than the calling procedure.
External Subroutines: The source code of the external subroutines will be in an ABAP/4 program other than the calling procedure.
What are subroutines?
Subroutines are program modules which can be called from other ABAP/4 programs or within the same program.
How can we create callable modules of program code within one ABAP/4 Program?
By defining macros.
By creating include programs in the library.
By creating include programs in the library.
What is Modularization and its benefits? | ABAP ALV
If the program contains the same or similar blocks of statements or it is required to process the same function several times, we can avoid redundancy by using modularization techniques. By modularizing the ABAP/4 programs we make them easy to read and improve their structure. Modularized programs are also easier to maintain and to update.
Explain about an instance? | ABAP ALV
When you call a function module, an instance of its function group plus its data, is loaded into the memory area of the internal session. An ABAP program can load several instances by calling function modules from different function groups.
Which functions will you use to display to ALV’s together? | ABAP ALV
REUSE_ALV_BLOCK_LIST_INIT
REUSE_ALV_BLOCK_LIST_APPEND
REUSE_ALV_BLOCK_LIST_DISPLAY
REUSE_ALV_BLOCK_LIST_APPEND
REUSE_ALV_BLOCK_LIST_DISPLAY
Subscribe to:
Posts (Atom)