DDIC Complete
DDIC Complete
DDIC Complete
1. What is SAP?
SAP stands for system application and products in data processing.
SAP is the German based multinational company established in 1972 and it is a world’s
largest producer of ERP software which establishes a centralized system for businesses,
fostering an environment where each department can easily access and collaborate on
shared data.
2. WHAT IS ERP?
ERP stands for enterprise Resource planning.
ERP is a software which is used to maintain entire business centrally.
ERP is a comprehensive approach to efficiently managing the core business processes of
an organization in an integrated system.
These integrated system makes business faster and smoother.
3. WHAT IS ABAP?
ABAP Stands for Advanced Business Application Programming. ABAP is the fourth-
generation programming language and technical module of SAP, which is used to
develop the business applications related to SAP. With the help of ABAP, one can
customize SAP according to the requirement.
4. WHAT IS ARCHITECTURE?
In SAP, "architecture” refers to the overall design and structure of the SAP system
landscape. It defines how the different layers of the system are connected.
It has three layers.
• Presentation layer
• Application layer
• Database layer
It has three types i.e.
R/1 Architecture:
R/1 is introduced in the year 1972, all the layers are present in same platform.
R/2 Architecture:
It was introduced in 1982, here presentation layer present on one platform and
application and database layer is on another platform.
R/3 Architecture:
It was introduced in 1992, along with ECC. Here all the layers are in different platform, it
allows client server architecture,
The main advantage is any changes done in one layer does not affect the other layer.
DDIC NOTES
Advantages
• Improves data integrity: Here, all the updated information goes through the second
tier. The second tier can ensure that only important information is allowed to be
updated in the database
• Improved scalability: since the application servers can be deployed on many
machines.
• Security is improved since the client does not have direct access to the database;
• Balancing of load is much easier with division of core business from the server of
the database
5. WHAT IS LANDSCAPE?
The combination of different servers in SAP or arrangement of different servers
horizontally known as landscape.
Landscape has three different servers i.e., Development server, quality assurance server
and production server.
Whenever we are satisfied with the configuration, we move it Golden Client because it
has all the correct configuration settings which have been tested and are error free.
You cannot change any settings in the golden client.
The Quality Assurance landscape is used for testing changes made in the Development
landscape. It ensures that modifications don't negatively impact the system's stability
and functionality before moving them to the live environment.
The Production landscape is the live environment where SAP applications support day-
to-day business operations. It houses the actual business data and transactions.
DDIC NOTES
6. COMPONENT OF WORK-PROCESS?
Screen Processor: the screen processor transfers the user request data with the help of Gui
(Graphical user interface) to the ABAP processor for the logic execution.
ABAP Processor: The ABAP Processor executes the processing logic of the application
program and communicates with the database interface.
Database Interface: It works for establishing and terminating connections between the work
process and the database. And it is responsible for converting Open SQL to the native SQL
DIALOG WORK PROCESS: Dialog work process deals with user requests in dialog steps.
UPDATE WORK PROCESS: Update work process executes update requests.
They collect update requests from dialog work processes and apply them to the database in
a serialized manner to avoid conflicts.
BACKGROUND WORK PROCESS: Background work process execute program that run without
user interaction.
These processes are responsible for running programs/tasks that do not require user
interaction. Background work processes are essential for tasks such as data archiving, batch
job execution, and report generation.
ENQUEUE WORK PROCESS: Enqueue work process manages locks on objects in the SAP
system to ensure data consistency.
SPOOL WORK PROCESS: Manages the printing of document in the SAP system.
Handles print requests generated by users or applications.
Implementation:
If the Organization is newly implementing SAP Software for the first time, then we call it
the Implementation Project. It involves multiple activities from very starting level like
system design, configuration, data migration etc.
Customer wants to migrate data from Legacy system (already existing system) to SAP
system.
Support:
DDIC NOTES
The Customer has already installed SAP and wants to provide maintenance and
troubleshooting for the existing SAP software.
After a go live, the application needs support to resolve the issues/tickets raised by the
end users when doing the day-to-day activities.
Upgrade:
The Organizations Which are using SAP software upgrade their existing SAP software to a
newer version. So that it has more advantages like latest features, security updates, and
improvements provided by SAP.
Rollout:
In this Project, the existing Sap Software in one location is extended to be implemented in
other regions/countries.
ECC stands for ERP central component. Version: ECC 6.0 EHP 618
Hana ECC
Hana stands for High
performance Analytical ECC stands for ERP Central
appliance Component.
HANA has its own data base i.e. ECC uses Third-party databases
HDB. (Oracle, IBM, etc)
DATA CLASS: The data class defines the physical area of the database in which
your table is logically stored
BUFFERING TYPES:
• Single record buffering: With this kind of buffering, only the single record of
a table which be loaded into the buffer.
• Generic area buffering: Generic buffering should be used if usually only
certain areas of the table or view are required.
• Full buffering: in the full buffering the entire table is buffered.
LOG DATA CHANGES: If you have set the indicator for logging, every change
(with UPDATE, DELETE) to an existing data record by a user or an application
program is recorded in a log table in the database.
WRITE ACCESS ONLY WITH JAVA: Using the indicator "Write access with Java
only" you can define that contents of the table may only be changed from within
Java.
Delivery class
Delivery Class controls the transfer of data between application layer to the database layer
The term Delivery class is primarily associated with the development and transport of
objects within the SAP system landscape (Dev, QA, production)
C (Customer table)-> This class is used for tables that store configuration settings or
customizing data, this is maintained by customer not by SAP.
DDIC NOTES
All the data is transferred
L (Temporary table)-> Table for storing the temporary data.
Data is not transferred only the structure of table is transferred
*G -> Customer table, SAP may insert new data records but may not overwrite or delete
existing ones, The customer namespace must be defined in table TRESC
*E -> System table with its own namespace for customer entries
*S -> System table, data changes have the status of program changes.
*W -> System table (e.g. table of the development environment) whose data is
transported with its own transport objects (e.g. R3TR PROG, R3TR TABL, etc.)
A, C,L has Application data / business data (Master and transactional) where G,E,S,W
has the system data
DATA BROWSER:
Display and maintenance Allowed: Data is displayed and maintained (User is allowed
to enter and maintain data)
Display and maintenance Not allowed: User is restricted to enter and maintain the
data
Display and maintenance allowed with Restricted: Data is displayed to user, but
Maintenance of data is allowed with some restrictions/predefined constraints
It defines that the foreign key table behaves like a text table for the check
table
The cardinality (n : m) describes the foreign key relationship with regard to the number of
possible dependent records involved (records of the foreign key table) or referred records
(records of the check table).
m=1
For each record of the check table there is exactly one dependent record.
m=C
For each record of the check table there is at most one dependent record.
m=N
For each record of the check table there is at least one dependent record.
m = CN
For each record of the check table there are any number of dependent records.
DDIC NOTES
21. DIFFERENCE BETWEEN THE THREE TABLES?
pooled
Cluster
DDIC NOTES
OUTPUT LENGTH: it specifies the length of the output which includes No. of Chars,
Sign, Decimals.
LOWER CASE: if this field is set, the upper case and lower case are distinguished.
Otherwise, all the letters entered will be converted into upper case.
View is a re-usable dictionary object which does not physically exist in database. View is the
virtual table derived from one or more database table, view pick data from tables and project
the data on the screen.
There are 4 types of views.
Database view
Projection view
Maintenance view
Help view
Projection
Database view Maintenance View Help View
view
In Projection
In DB view we can view view we can In Maintenance
In Help view we can view
one or more than one view only one view we can view
more than one table
table table more than one table
Technical settings
Not present Not present Not present
present
Only data Delivery class and
Only data browser is
browser is data browser is Not present
present
present present
Read only
Read only, Read change, delete
Read and change for Read only, and insert
Read only
single table Read and Read and change
Read and change
Read only for multiple change Read and change
table (Time specific)
DDIC NOTES
Foreign key relationship
is mandatory for more Not mandatory Mandatory Mandatory
than one table
Authorization Group
Authorization Object:
• In the Overview screen the entries are displayed in list form and single line entry
will be given from new entries option.
One Step Method – In one step method there is only one overview screen. You can
enter any screen number other than 1000, which is reserved for selection screen. In
One Step Method, you will be able to see and maintain only through overview
screen.
Two Step Method – In two step method there is two screens. Overview Screen and
Single Screen (Detail Screen). Here both the screen (Overview and Single) number is
required to enter. In this the overview screen contains only the key fields and single
screen contains all the fields. On single screen you can only maintain screen, Like
Delete and Insert. You cannot update from single screen. From overview screen you
can delete and update. When you press ‘New Entries’ button then it will take you to
Single Screen. This happen only when you had selected Two step method.
SE54
• Step 2 : Create a function group using T-code SE80 and activate that
function group
Maintenance view
37. which view can we convert from one view to another view?
DDIC NOTES
38. What is the append view?
Append views are a new type of view that you can use to add new fields to
existing database views.
Note. An append view is assigned to one database view. You can create more
than one append view for a database view.
• Table type is a global object which is used to define Structure and functional
attributes of internal table
• In ABAP programs you can refer a table type
• Table types is defined by its line type that defines structure and data type attributes
of a line of internal table
• Line type
o It is a component in internal table
o Defines the structure and data type of the internal table
o We can create customized fields.
o Line type is a component of general table type
• Row type
o It is a component of ranges table.
o Defines the structure of the rows in an internal table.
o Fields of row type are fixed. SIGN, OPTION, LOW, HIGH
o It defines the actual content inside the rows
o It can either be copied from an existing row type or entered directly.
1. SDis:- SDIS causes the field to be “display mode” in the selection popup screen/ Dialogue
box.
2. Dialog Type: - We use the dialog type of an elementary search help to define how the hit list
is displayed when the input help is called. We can specify one of the following dialog types for
elementary search help.
a). Display values immediately: The hit list is immediately displayed when the input help is
called. This is rational only if the hit list contains a few entries.
b). Dialog with value restriction: The dialog window for restricting values is offered
immediately. Choose this option if the list of possible entries is large. If the user limits the
amount of data to be processed, the hit list becomes more comprehensible and the system
load during value selection is reduced.
c). Dialog depends on set of values: If the hit list contains less than 100 entries, it is displayed
immediately. If the hit list contains more than 100 entries, the system displays the dialog box
for restricting values.
3. LPos:− Its value controls the physical position of Search help parameter or field in the
selection list. If you enter a value 1, the field will appear in the first position in the selection list
and so on.
4. SPos:− It controls the physical position of Search Help parameter or field in the restrictive
dialog box. If you enter a value of 1, the field will appear in the first position in the restrictive
dialog box and so on.
5. IMPORT: - Check this box to indicate that the field is an input field, that is, to be passed to
the search help.
6. EXPORT: - Check this box to indicate that the field is an output field, that is, to be passed
from the search help to the screen.
7. Default value: - A default value can be assigned to a parameter of a search help.
The dialog type of an elementary search help defines how the hit list is displayed when the
input help is called.
There are three types in dialog type
• Display value immediately: the hit list is displayed immediately after the input help has
been called
• Dialog with value restriction: before displaying the values, a popup window will appear
for selecting restriction values.
DDIC NOTES
• Dialog depends on set of values: if the table has less than 100 values it will switch to
display value immediately, if the table has greater than 100 values it will choose Dialog
with value restriction.
Hot key helps the user to select an elementary search help from the collective
search help directly in the input field with short notation: =<Hot key>.
48. What is the selection method?
The selection method represents the database object. The possible values
displayed in the hit list are selected from selection methods. A database table or
view can be defined as selection method.
To use a field of the selection method in the input help, a parameter with the
same name must be inserted in the search help.
49. What is a lock object?
Row locks Row locks ensure that any row modified by a transaction cannot be
modified by another transaction until the first transaction completes,
Table locks Table locks prevent a transaction from updating a table while
another transaction is updating it.
51. Modes of lock and uses?
• Its a process of enhancing the DDIC objects like structures, Views or Database tables is
known as Enhancement Category
• Enhancement means adding or appending the fields inside table or structure
• If we don’t specify enhancement, we will face these warnings
• Can be enhanced (DEEP) - we can add any number of fields of any type
• Can be enhanced (Char/Numeric) - which means we are allowed to any
number of fields to database tables or structures which are of character or
numeric type only.
• Can be enhanced (Char) - we are allowed to any number of fields to
database tables or structures which are of character type only
• Cannot be enhanced - which means we cannot add any column to the
existing table or structure
• Not classified - which means we haven’t mentioned any type of category
62.what is report?
A report in ABAP is an executable program, based on the user inputs fields it fetiches the
records from data base table and displays in predefined format.
A report in ABAP refers to a program that is used to generate formatted, printable outputs.
63.T- code for create report?
SE38, SE80.
Standard tables are default tables to store the records in internal tables.
66.what is sorted table?
Sorted tables are always stored sorted by their table key in ascending order.
By using insert query, we can insert the records into Database table .
78. Coping record from one internal table to other using loop.
This method of appending lines of one table to another is about 3 to 4 times faster than
appending them line by line in a loop.
With condition