Professional Documents
Culture Documents
Data Dictionary and Reports Inteview Questions
Data Dictionary and Reports Inteview Questions
Data Dictionary is a central source of data in a data management system. Its main
function is to support the creation and management of data definitions. It has
details about
- The delivery class controls the degree to which the SAP or the customer is
responsible for table maintenance.
- Determines how the table behaves when it is first installed, at upgrade, when it is
transported, and when a client copy is performed.
The Data class determines in which table space the table is stored when it is
created in the database.
The Size category describes the probable space requirement of the table in the
database.
7. How many types of size categories and data classes are there?
There are five size categories (0-4) and 11 data classes only three of which
are appropriate for application tables:
- USR
- USR1 – Intended for customer’s own developments.
Transaction Codes
Authorization Group : If the table needs to be maintained by only particular group
of people, then the Authorization group needs to be filled otherwise fill it as NC. To
maintain the authorization group refer to SU21.
Function group is the name to which the generated maintenance modules will
belong to.
Screen Alterations
You can also create further indexes on a table in the ABAP Dictionary. These are
called secondary indexes. This is necessary if the table is frequently accessed in a
way that does not take advantage of the sorting of the primary index for the access.
How Many Types Of Tables Are There In Data Dictionary And What They?
Ans:
Transparent table
CLUSTER Cluster table
POOL Pooled table
Or
ALV stands for ABAP List Viewer. ALV gives us a standard List format and user
interface to all our ABAP reports. ALV is created by a set of standard function
modules provided by SAP.
Filtering of records
If you'll use the ALV you have to add TYPE-POOLS : SLIS. command at the
beginning of your code.
SLIS_LAYOUT_ALV,
SLIS_T_FIELDCAT_ALV
SLIS_T_LISTHEADER,
SLIS_T_EVENT,
SLIS_SELFIELD.
Exceptions
Totals
Interaction
Detail screen
Display variants (only for hierarchical-sequential lists)
Color
Other
Q10. What Are The Export Parameters Of Alv Reports Function Modules?
In classic reports, we can see the output in single list where as in interactive reports
we can see the output in multiple lists.
Classical reports are normal reports. These reports are not having any sub reports.
IT IS HAVING ONLY ONE SCREEN/LIST FOR OUTPUT.
We can have a basic list (number starts from 0) and 20 secondary lists (1 to 21).
AT USER-COMMAND
AT PF<key>
AT LINE-SELECTION : This Event triggers when we double click a line on the list,
when the event is triggered a new sub list is going to be generated. Under this event
what ever the statements that are been return will be displayed on newly generated
sub list.
Q14. How Many Types Of Tables Are There In Data Dictionary And What They?
Ans:
Transparent table
CLUSTER Cluster table
POOL Pooled table
Q17. What Is The Difference Between Client Dependent And Independent Tables?
Ans: If you have MANDT as the first field that is Client Dependant table otherwise it
is not. Usually most of the tables are client dependent. Only few like RFC
Connections table (RFCDES), Batch Jobs (TBTCO and TBTCP) are not client
dependant.
Q18. What Is The Difference Between At Selection Screen And At Selection Screen
Output?
Ans: AT SELECTION-SCREEN OUTPUT is like Process Before Output Event. This
would get triggered before screen is displayed. This can be used to make fields
invisible/visible based on selection.
Ans: CLEAR: It clears any field, structure or Header line of internal table.
Q20. In Alv's How Would You Get Default Values In The Selection Screen?
Ans: Create a variant in the ALV Report with whatever columns you would like to
see and set sort criteria and column widths and save as a default variant.
Enter all the fields (MANDT must be the first field) and appropriate data elements or
Built in Types for each field.
Make sure you select the Primary Key for this table.
Q25. What Is The Difference Between Select Single And Select Up To One Row?
Ans: SELECT SINGLE can be used if you know the full key to select a record. If you
do not have the full Key to select and you are interested in one single row, you could
use SELECT UPTO 1 ROWS. If you use a SELECT SINGLE without a full key, you
would get a warning message in Extended Program checks.
If you do not have the full Key to select and you are interested in one single row, you
could use SELECT UPTO 1 ROWS..
Click on Indexes and select fields and create a secondary index. Note: Always try to
include MANDT as the first field unless you have a reason..
SAP memory is a memory area to which all main sessions within a SAPgui have
access. You can use SAP memory either to pass data from one program to another
within a session, or to pass data from one session to another. Application programs
that use SAP memory must do so using SPA/GPA parameters (also known as
SET/GET parameters).
Just for an example if you face any error in your system. Then there is error number
associated with the error. Then you can search for the OSS not for the error number,
and the note will give you possible solution to your problem.
Q35. What Is The Command To Be Used To Transfer The Data From One
Internal Table To Another Internal?
Ans: Move itab1 to itab2
We can use APPEND for copying data from one ITAB to another ITAB by keeping in
a loop. But it is not efficient. Instead we can use as follows:
ITAB1[]=ITAB2[].
Q36. How Can Validate Input Values In Selection Screen And Which Event Was
Fired?
Ans: At selection-screen is an event, which is used to validate the selection screen
input fields, if you want to validate the particular input field we use at selection-
screen on event.
Domain contains only technical attributes (data type , size) where as Data Element
contains Technical attribute as well as Semantic attributes(Field description).
Q38. What Is The Difference Between Internal Table With Header Line And
Without Header Line?
Ans: Internal table with header line is nothing but work area name as well as internal
table name is same, whereas internal table without header line is nothing but work
area name as well as internal table name is different.
FOR INTERNAL TABLE WITH HEADER we need not create work area. But not
advisable because the user may get confused what is work area and what is internal
table since they both will be having same names.
LOAD-OF-PROGRAM which gets triggered internally in the SAP system, then the
event INITIALIZATION gets trigger.
Binary search is used to get the more data from internal table instead of linear
search ,and binary search is the faster and efficient .
Q41. While Printing, 10 Columns Are Printing In First Page And The Next 4 Cols
In Next Page, How Do U Resolve This To Accommodate All The 14 Columns In A
Single Page?
Ans: ot line size .. increase line-count
Check table is nothing but master table that u will create with valid set of values.
Value table it provides the list of values and it will automatically proposed as a check
table while creating foreign key relationship.
STANDARD TABLE: The key is, by default, set to NON-UNIQUE. You may not use
the UNIQUE addition.
SORTED TABLE: Unlike standard tables, sorted table have no default setting for the
uniqueness attribute. If you do not specify either UNIQUE or NON-UNIQUE, the
system defines a generic table type, where uniqueness is irrelevant. You can use
generic types to specify the type of generic subroutine parameters.
HASHED TABLE: Hashed tables have no default setting. You must use the
UNIQUE addition with hashed tables. You may not use NON-UNIQUE.
If the system finds an entry, the numeric fields that are not part of the table key (see
ABAP number types) are added to the sum total of the existing entries. If it does not
find an entry, the system creates a new entry instead.
1. Top-down approach
2. Bottom-up approach
Q51. When It’s The Right Time To Utilize The Command Get Cursor In
Interactive Lists?
Ans: The command GET CURSOR will be utilized when the hidden information is
not enough for tracing the selected line.