Chapter-1 Data Dictionary: Techning It Solutions Pvt. LTD
Chapter-1 Data Dictionary: Techning It Solutions Pvt. LTD
Chapter-1
Data Dictionary
Contents
Introduction: ......................................................................................................................................... 32
Figure2.1: Data Dictionary Central Repository ..................................................................................... 32
1. Database tables (Data Dictionary tables).......................................................................................... 33
Introduction .......................................................................................................................................... 33
Figure2.2: Database Table .................................................................................................................... 33
Transparent tables: ............................................................................................................................... 34
Figure 2.3: Transparent Table ............................................................................................................... 34
Note: In the real time we mostly work with the transparent tables. ......................................... 34
Pooled tables: ....................................................................................................................................... 34
Cluster tables: ....................................................................................................................................... 35
Figure 2.4: Pooled or Cluster Table ....................................................................................................... 35
Different approaches to create the database (or) Data dictionary tables: .......................................... 36
1.Top down approach: .......................................................................................................................... 36
2.Bottom up approach: ......................................................................................................................... 36
Note: In the real time the top down approach is advisable since the bottom up approach take
more time and difficult to remember to create a data element and domains. ............................... 36
Domain .................................................................................................................................................. 36
Introduction: ......................................................................................................................................... 36
FIELD NAME .......................................................................................................................................... 36
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
DATA TYPE............................................................................................................................................. 36
DATA LENGTH ....................................................................................................................................... 36
Data Elements: ...................................................................................................................................... 37
Hierarchy of the domains and dataelements reusability: .................................................................... 37
Figure 2.5: Hierarchy of Domains and Data Elements Reusability ....................................................... 37
Mandatory fields: .................................................................................................................................. 37
System provided search help: ............................................................................................................... 38
Creation of the below custom table: .................................................................................................... 38
FIELD...................................................................................................................................................... 38
KEY ........................................................................................................................................................ 38
INITIAL VALUE ....................................................................................................................................... 38
DATA TYPE............................................................................................................................................. 38
DATA LENGTH ....................................................................................................................................... 38
DESCRIPTION......................................................................................................................................... 38
Client dependent and independent tables: .......................................................................................... 38
Note: In the real time we mostly work with the client dependent tables.................................. 38
Key fields: .............................................................................................................................................. 38
Note: If there are more than one field the data will be checked row level................................ 39
Initial value check box: .......................................................................................................................... 39
Steps to create the database (data dictionary) transparent table: ...................................................... 39
Note: If a data element exist in the system, the corresponding details such are data types,
length etc. are displayed. .................................................................................................................. 39
Steps to Create of data element: .......................................................................................................... 39
Steps to Create of domain: ................................................................................................................... 40
Note: If the domain is already available in the system, the corresponding details such as data
type, data length………….. Etc. ........................................................................................................... 40
Note: ................................................................................................................................................. 41
Press F4 function key to see all the system provided data types in the search help. .............. 41
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
The decimal places should be filled for the decimal data types such are currency,
quantity………..etc.............................................................................................................................. 41
The field output length is used to restrict the data output length. .......................................... 41
The check box sign is checked to return sign of the number. .................................................. 41
The check box lower case is checked to make the character fields as a case sensitive to accept
both upper and lower case letters. Since the system takes the character data as uppercase letters
by default. ......................................................................................................................................... 41
Example: Data type : (NUMC) ...................................................................................................... 41
No of characters : (10) ................................................................................................................... 41
Decimal places : ( ) ......................................................................................................................... 41
Note: If an object is activated directly, the corresponding object will be saved, checked and
activated. .......................................................................................................................................... 41
Activate = Save + Activate ................................................................................................................. 41
Note: ................................................................................................................................................. 41
Check the check boxes key and initial value to make the fields of the table as key field. ....... 41
Follow the similar steps to create any number of required data elements and domains. ...... 41
(Refer ‘creation of data elements’ and ‘creation of domains’ ) ....................................................... 41
Steps to create the table entries (in the custom table): ....................................................................... 42
Note: Follow the similar steps to create any number of entries. ..................................................... 42
Steps to execute a table:....................................................................................................................... 42
Note: ................................................................................................................................................. 43
The transaction codes SE16or SE16N can also be used. ........................................................... 43
The button number of entries is used to know the total number of recordings in the table. . 43
Some of the useful functions or properties in the tables: .................................................................... 43
Steps to convert field names to field labels and vice versa: ................................................................. 43
Steps to change the input fields for selection: ..................................................................................... 43
Note: ................................................................................................................................................. 43
Check is to add input fields and uncheck is to hide input fields. .............................................. 43
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
An icon find (ctrl + f) can be used to find the required fields. .................................................. 43
(Find icon enter a field name or field label in the find string press enter) ..................... 43
An icon select all (F9) is used to select all the fields. ................................................................ 43
An icon deselect all (shift + F2) is used to deselect all the fields. ............................................. 43
Steps to choose the fields in the list: .................................................................................................... 44
Note: Uncheck the check box to hide the fields. .............................................................................. 44
Steps to change the output list format: ................................................................................................ 44
Note: The default output list format is ‘SE16 standard list’. ............................................................ 44
Steps to download the table data:........................................................................................................ 44
Steps to find a system generated program of the tables: .................................................................... 45
Note: The system generated program name is appeared in the program field under SAP data
block. ................................................................................................................................................. 45
Currency or Quantity fields: .................................................................................................................. 45
The reference table could be any table which has the currency key and quantity unit fields. 45
The same table can also be used as a reference table if it has the currency key or quantity
unit fields. ......................................................................................................................................... 45
Field ....................................................................................................................................................... 46
Data type ............................................................................................................................................... 46
Reference table ..................................................................................................................................... 46
Reference field ...................................................................................................................................... 46
Description ............................................................................................................................................ 46
Steps to work with the currency or quantity fields: ............................................................................. 46
Note: The columns reference table and reference fields are enabled for the currency and quantity
fields only. ......................................................................................................................................... 46
Table Maintenance Generator (TMG): ................................................................................................. 46
Note: In the real time the custom tables and the maintenance views are maintained using the
transaction code SM30 only. ............................................................................................................ 47
Steps to create TMG: ............................................................................................................................ 47
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note: The custom table is maintenance view must be activated before Table Maintenance
Generator is created. ........................................................................................................................ 47
Note: Authorization group is used to control the user access. ........................................................ 47
Note: The function group must be specified. Since, the system generates the screen and the
corresponding source code for the table maintenance under the function group. ......................... 47
Note: ................................................................................................................................................. 48
In case of one step maintenance the system generates single over view screen to maintain
and display the data. ......................................................................................................................... 48
In case of two step maintenance the system generates two screens to create a single entry at
a time and display to create a data in another screen. Two step maintenance is the default option.
48
In the real time the option one step maintenance is preferable. Since, the multiple entries
can be maintained at a time. ............................................................................................................ 48
Steps to maintain the custom table or maintenance view: .................................................................. 49
Note: Select an entry and click on delete (shift + F2) icon to delete the table / view entries. ........ 49
Steps to change a custom table: ........................................................................................................... 49
Note: An icon delete row is used to delete the unwanted fields. .................................................... 49
Deletion of TMG:................................................................................................................................... 49
Select to delete ‘TMG’ and recreated: .................................................................................................. 50
Table Adjustment: ................................................................................................................................. 50
Steps to adjust the table: ...................................................................................................................... 50
Steps to copy a data dictionary object: ................................................................................................ 51
Note: ................................................................................................................................................. 51
The TMG is not copied while copying the table........................................................................ 51
The data of an existing table is not copied while copying the table......................................... 51
Steps to delete a data dictionary object: .............................................................................................. 51
Note: It is not possible to delete a DDIC objects if they are already used in another dependent
objects. .............................................................................................................................................. 51
Steps to create the custom transaction code to maintain tables or maintenance views: ................... 51
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note: If a checkbox step initial screen is check, an initial screen of SM30 can be skipped. ....... 52
Indexes: ................................................................................................................................................. 52
Primary Index: ....................................................................................................................................... 52
Secondary Index:................................................................................................................................... 52
Note: In the real time the secondary indexes are not advisable since the data is filtered at
database level for all the users. ........................................................................................................ 53
Steps to create a secondary index: ....................................................................................................... 53
Note: An icon index is used to delete unwanted index. ................................................................... 53
Primary and foreign key relationship or link: ....................................................................................... 53
Note: The domain name of a check table field should be similar to a domain name of the foreign
key field in the child table to create foreign key relationship, but the field name is different. ....... 54
Figure 2.6: Primary and Foreign Key Relationship ................................................................................ 54
Note: ................................................................................................................................................. 55
Here domain name of EMP_NO and EMPNO should be similar. .............................................. 55
It is not possible to join pooled and cluster tables, since they are already set of tables. ........ 55
A search help is displayed to see the possible entries of a check table field on the foreign key
field when the foreign key table or child table are executed. .......................................................... 55
Steps to create a foreign key relationship: ........................................................................................... 55
Different ways to check table relationships (or) link between the tables: ........................................... 56
1. Transaction code SQVI: ..................................................................................................................... 56
Steps to use SQVI: ................................................................................................................................. 56
Note: ................................................................................................................................................. 56
Follow the similar steps to insert any number of transparent tables. ..................................... 56
The button delete table is used to remove the tables from the join. ...................................... 56
2. To check the relationship by maintaining the foreign key table: ..................................................... 56
Note: If the system given an error message as ‘entry xxxx does not exists in the check table’, the
relationship is working fine. .............................................................................................................. 57
Value table: ........................................................................................................................................... 57
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note: Follow the similar steps (creation of data element and creation of domain) to create any
number of required data elements and domains. ............................................................................ 70
Pre-defined types:................................................................................................................................. 71
Steps to make use of the predefined types while creating the table or structure:.............................. 71
Note: The data element or component column is disabled in case of predefined types................. 71
Note: Follow the similar steps to make use of pre-defined types for any number of fields. ........... 71
Differences between the tables created using data elements and using predefined types: ............... 71
Using data elements ............................................................................................................................. 71
Using predefined types ......................................................................................................................... 71
Include structure and append structure: .............................................................................................. 72
Include structure: .................................................................................................................................. 72
Steps to include a structure: ................................................................................................................. 72
Note: The structure can also be created by double clicking on the specified structure name. ....... 72
Append structure: ................................................................................................................................. 72
Steps to append a structure: ................................................................................................................ 72
Note: Refer creation of structure concept........................................................................................ 73
Note: Fields for include and append structure are in blue color. ..................................................... 73
Steps to append a structure to a standard table: ................................................................................. 73
Differences between INCLUDE and APPEND structures: ...................................................................... 74
4.Search Helps....................................................................................................................................... 75
Introduction: ......................................................................................................................................... 75
Elementary search help: ....................................................................................................................... 75
Collective search help: .......................................................................................................................... 75
Steps to create an Elementary Search Help:......................................................................................... 75
NOTE: ................................................................................................................................................ 76
The checkboxes IMP and EXP must be check to import all the possible entries from the
specified table or help view and export the selected entry to the screen fields. ............................ 76
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
The position numbers LPOS and SPOS must be filled with the same number to position the
search help window on a screen field. ............................................................................................. 76
The search help exit is used to control the possible entries of a search help. ......................... 76
Steps to create a collective search help: .............................................................................................. 76
Note: Follow the similar steps to assign the parameters for any number of search helps. ............. 77
Different dialog types in DDIC search helps:......................................................................................... 77
1. Display values immediately: ............................................................................................................. 77
2. Dialog depends on set of values: ...................................................................................................... 77
Note: An icon ‘Multiple Selection’ is used to choose the different single values and range. .......... 77
3. Dialog with value restrictions: .......................................................................................................... 77
4. Hot key: ............................................................................................................................................. 77
Search help assignment to table or structure field: ............................................................................. 78
Steps to assign a search help: ............................................................................................................... 78
5.VIEWS ................................................................................................................................................. 78
Introduction: ......................................................................................................................................... 78
Figure 2.10: Views ................................................................................................................................. 79
1. Database view: .................................................................................................................................. 79
2. Maintenance view:............................................................................................................................ 80
3. Help view:.......................................................................................................................................... 80
4. Projection view: ................................................................................................................................ 80
Steps to create the Database View: ...................................................................................................... 80
Note: The transaction code SQVI can also be used to know the join conditions. ............................ 80
Note: ................................................................................................................................................. 81
Follow the similar steps for any number of base tables. .......................................................... 81
The field names should not be duplicate in the tables or structures or views. ........................ 81
Note: ................................................................................................................................................. 81
Follow the similar steps to create the help view by selecting a radio button help view. ........ 81
Help views cannot be executed. ............................................................................................... 81
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
The transaction code SE11 is used to work with the data dictionary.
Following are the different types of data dictionary objects
1. Database Tables.
2. Domains.
3. Data types
a. Data element.
b. Structure.
c. Table type.
4. Search helps
a. Elementary search help.
b. Collective search help.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
5. Views
a. Database view.
b. Maintenance view.
c. Help view.
d. Projection view.
6. Lock objects.
7. Type groups.
They are the small data storage components in the data base.
Tables are the collection of fields which contain the physical data.
The tables are made up of rows by columns.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
1. Transparent tables.
2. Pooled tables.
3. Cluster tables.
Transparent tables:
The transparent tables have one-one relationship with the database tables, that
means, the table names, field names and the number of fields are similar in both
data dictionary and database.
Note: In the real time we mostly work with the transparent tables.
Pooled tables:
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
The pooled tables have many to one relationship with the database tables, that
means one table on the data dictionary is liked with another set of tables called
TABLE POOL in the data base.
The pool tables follow the binary search while accessing data.
Key field names are different in DDIC and table Pool
Cluster tables:
The cluster tables also have many to one relationship with the database tables, that
means one table in the data dictionary is stored with another set of tables called
cluster pool.
Key field names are same in DDIC and cluster Pool
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
In this approach the required data elements and domains are created while creating
the tables.
2.Bottom up approach:
In this approach the required domains and data elements are created first then they
can be used at the time of creation the tables or structures.
Note: In the real time the top down approach is advisable since the bottom up approach
take more time and difficult to remember to create a data element and domains.
Domain
Introduction:
It is also one of the data dictionary objects which can be used to maintain the
technical properties of field such are data types, length of the data……..etc.
It can also be used to maintain the value tables to provide search help on the field.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Data Elements:
The domains, data elements and tables or structures can be reused as below
Mandatory fields:
The mandatory fields are the compulsory fields to be filled if the data.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
It is used to display all the system provided possible entities and select any one of
them.
The function key ‘f4’ or a search help icon is pressed to display the search help
windows.
The tables which have the field name will have MANDT (client no) are called client
dependent tables.
The table which does not have the field MANDT iscalled client independent table.
Note: In the real time we mostly work with the client dependent tables.
Key fields:
Key fields are used to maintain the unique data by avoiding the duplicate data.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
In SAP the key field check boxes are checked to make the fields as primary key fields.
Note: If there are more than one field the data will be checked row level.
It is checked to take the default field values of the key fields for the first time.
Example: integer :0
Character : space…………..etc.
Note: If a data element exist in the system, the corresponding details such are data types,
length etc. are displayed.
Click on save icon.
Click on local object button (F7).
Enter the next field name ‘EMP_NO’.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note: If the domain is already available in the system, the corresponding details such as
data type, data length………….. Etc.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note:
Press F4 function key to see all the system provided data types in the search help.
The decimal places should be filled for the decimal data types such are currency,
quantity………..etc.
The field output length is used to restrict the data output length.
The check box sign is checked to return sign of the number.
The check box lower case is checked to make the character fields as a case sensitive
to accept both upper and lower case letters. Since the system takes the character
data as uppercase letters by default.
Example: Data type : (NUMC)
No of characters : (10)
Decimal places : ( )
…………………………………………
Note: If an object is activated directly, the corresponding object will be saved, checked and
activated.
Activate = Save + Activate
Note:
Check the check boxes key and initial value to make the fields of the table as key
field.
Follow the similar steps to create any number of required data elements and
domains.
(Refer ‘creation of data elements’ and ‘creation of domains’ )
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note:
The transaction codes SE16or SE16N can also be used.
The button number of entries is used to know the total number of recordings in the
table.
Note:
Check is to add input fields and uncheck is to hide input fields.
An icon find (ctrl + f) can be used to find the required fields.
(Find icon enter a field name or field label in the find string press enter)
An icon select all (F9) is used to select all the fields.
An icon deselect all (shift + F2) is used to deselect all the fields.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Once the table is displayed either in ALV list format or ALV grid format.
Click on an icon local file (ctrl + shift + F9).
Select the required file format such as ‘spread sheet’ or ‘rich text’ or ‘html
format’……etc.
Click on yes button.
Select the required directory by pressing the function key ‘F4’ or search help icon.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note: The system generated program name is appeared in the program field under SAP data
block.
In SAP the currency and quality fields are required currency key and quantity unit.
Hence, the reference table and the reference field must be specified for currency
and quantity fields.
The data type for the currency field is ‘CURR’ and the data type for the currency key
is ‘CUKY’.
The data type for the quantity is ‘QUAN’ and the data type for quantity key is ‘UNIT’.
Note:
The reference table could be any table which has the currency key and quantity unit
fields.
The same table can also be used as a reference table if it has the currency key or
quantity unit fields.
The number of decimal places at domain level must be specified for currency and
quantity fields.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Example: <ZCUST_TAB>
Once the currency and quantity fields are inserted in the table or structures.
Click on the tab currency or quantity fields.
Note: The columns reference table and reference fields are enabled for the currency and
quantity fields only.
Specify the reference tables and reference fields as like the above example.
Click on activate icon.
Press the ‘Enter’ button.
100.50 pieces/kgs/grams……..
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note: In the real time the custom tables and the maintenance views are maintained using
the transaction code SM30 only.
Once the custom table or maintenance view is in change mode or in display mode.
Note: The custom table is maintenance view must be activated before Table Maintenance
Generator is created.
Note: The function group must be specified. Since, the system generates the screen and the
corresponding source code for the table maintenance under the function group.
Select the radio button one step maintenance.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note:
In case of one step maintenance the system generates single over view screen to
maintain and display the data.
Example: In case of one step
EMP_NO EMP_NAME --------------
1 A B
2 C D
| | |
| | |
Over-view screen – 1 (display / change mode)
In case of two step maintenance the system generates two screens to create a single
entry at a time and display to create a data in another screen. Two step maintenance
is the default option.
Example: In case of two steps
EMP_NO : _______________
EMP_NAME : _______________
|
|
|
SINGLE SCREEN
Overview screen – 1
In the real time the option one step maintenance is preferable. Since, the multiple
entries can be maintained at a time.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note: Select an entry and click on delete (shift + F2) icon to delete the table / view entries.
Click on save icon.
Click on back icon.
Deletion of TMG:
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
If any changes are made in custom table after TMG is created then the TMG must be
deleted and recreated again without getting any run time error.
Table Adjustment:
If the key fields are changed as non-key fields by unchecking key check boxes, the
system gives an error to convert the table.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note:
The TMG is not copied while copying the table.
The data of an existing table is not copied while copying the table.
Note: It is not possible to delete a DDIC objects if they are already used in another
dependent objects.
Click on yes button.
Steps to create the custom transaction code to maintain tables or maintenance views:
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note: If a checkbox step initial screen is check, an initial screen of SM30 can be skipped.
Scroll down and check all GUI supported checkboxes.
Maintain the default values as below.
Name of screen field Value
VIEW NAME <ZCUST_TABLE>
UPDATE X
Click on save icon.
Click on local object button.
Execute the above created transaction code to maintain the table.
Indexes:
Primary Index:
The primary indexes are generated automatically by the system using all the key
fields of a table.
Secondary Index:
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note: In the real time the secondary indexes are not advisable since the data is filtered at
database level for all the users.
The indexes are represented as below.
In each RDBMS (Relational database management system) all the tables are linked
together through primary and foreign key relationship.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
It is used to execute the correct data from the multiple tables by joining them.
In SAP the master tables (primary tables) are called check tables, the child tables are
called foreign key tables.
Note: The domain name of a check table field should be similar to a domain name of the
foreign key field in the child table to create foreign key relationship, but the field name is
different.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note:
Here domain name of EMP_NO and EMPNO should be similar.
It is not possible to join pooled and cluster tables, since they are already set of
tables.
A search help is displayed to see the possible entries of a check table field on the
foreign key field when the foreign key table or child table are executed.
<ZCUST_TABLE> EMP_NO
|
|
|
Key fields / candidates
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Different ways to check table relationships (or) link between the tables:
There are two ways to check the relationship between the tables:
Note:
Follow the similar steps to insert any number of transparent tables.
The button delete table is used to remove the tables from the join.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note: If the system given an error message as ‘entry xxxx does not exists in the check table’,
the relationship is working fine.
Value table:
The value is maintained at domain level to provide the possible maintained entries
as a search help.
It does not force the user to select any one of to maintain entries in the value table
at the time of maintaining the custom table.
Intervals:
Lower Limit Upper Limit Short Text
A S
T X
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Standard Tables:
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
|
|
LIKP – Delivery Document Header data.
LIPS – Delivery Document Item data.
Example:
Most of the FICO tables start with BS*, PR* and CS*
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note:
In fico some of the tables are cluster tables which start with BSE*
Example: BSEG – Accounting Document Segment.
BSEC – Accounting Data Document Segment.
BSET – Tax Data Document.
…….
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Vendor Tables:
Customer tables:
DD02T – SAP Table texts (to find the table names using short
description).
DD01L – Domain.
DD01T – Domain texts.
DD04L – Data elements.
DD04T – Data elements text
|
|
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
4. The table name, field 4. Table names and field 4. Table names and field
name, of fields is names are different names are different
similar in both DDIC in database. in database.
and database.
5. Both open and native 5. Open SQL statements 5. Open SQL statements
SQL can be used. can only be used. can onlybe used.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
In case of linear search the search criteria is started for the first record and stopped
once the required record is found.
Example: 1, 2, 3,……75,……100.
Linear search
In case of binary search total number of records are split in to two equal parts (n/2)
then the search criteria is started in the second half.
Note: In case of the required record id not found in the second half, a system will search in
the first half.
Example: 1, 2, 3……, 50,………., 100
(n/2)
Binary search
a.)Delivery class:
Note: in case of delivery class ‘A’ the table or maintenance view can be maintained in any
system (Development Quality Production) using SM30.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note:
In the real time n option display or maintenance allow is mostly used.
In case of the option display or maintenance allowed with restrictions and display or
maintenance not allowed the custom table or maintenance views cannot be
maintained.
c.)Data Class:
Master data:
Transaction data:
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note:
There are two more data classes USR and USR1 which are reserved for user specific
developments.
In the real time the data class APP0 (master data) or APPL1(transaction data) is
mostly used.
d.)Size category:
This property is used to reserve the initial space required for the table data in the
database.
The size categories from 0 to 7 are available from the version ecc6.
In the real time the size category ‘0’ is mostly used (0 to 7100).
Note: If the user tries to enter a record over that the selected range, the system will
increase the size category in to a next category (0 to 1).
e.)Buffering:
It is used to reduce the traffic in the database in case of the table is accessed by
multiple users for number of times.
There are three buffering modes
o Buffering not allowed – The table cannot be buffered.
o Buffering allowed but switched off – Buffering allowed but not activated.
o Buffering switched on – The table can be buffered. In case of this option any
one of the buffering types should be selected.
Buffering types are of three types:
o Single record buffering.
o Generic area buffering.
o Fully buffered.
In case of this buffering type a record by record is buffered from the database tables.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
It is used to buffer the table data based on the specified key fields.
In case of this buffering type the number of key fields must be specified.
Example: Numberof key fields: 2
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Fully buffer:
Note: In the real time an option “can be enhanced (DEEP)” is mostly selected.
This property is used to maintain the multiple entries and validate the table data.
Structures:
Introduction:
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
It is almost similar to a table but only the difference is the structures donot have any
physical data. Whereas, tables have physical data.
The structure is filled with a single record at runtime only.
The structure can be referred across the system.
Example:EMP_CITY
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Creation of domain:
Note: Follow the similar steps (creation of data element and creation of domain) to create
any number of required data elements and domains.
Click on the menu icon ‘extra’.
Click on enhancement category.
Click on yes button.
Click on enhancement category (can be enhanced deep).
Click on yes button.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Pre-defined types:
They are used to created table or structure without using data element or domains.
Steps to make use of the predefined types while creating the table or structure:
Note: The data element or component column is disabled in case of predefined types.
Note: Follow the similar steps to make use of pre-defined types for any number of fields.
Example:
Component Component type Data Length Short description
type
EMP_CITY <ZCUST_EMP_CITY> CHAR 30 Employee city
Differences between the tables created using data elements and using predefined types:
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
3. Field labels are displayed while 3. ‘+’ symbols are appeared while
maintaining the table. maintaining the table instead of field
labels.
The table or structure can be enhanced to add additional fields using include
structure or append structure.
Include structure:
Note: The structure can also be created by double clicking on the specified structure name.
Append structure:
The append structures are specific to a table or structure. Hence, they cannot be
used for the multiple tables or structures.
An append structures can be inserted in displaymode also.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note: Fields for include and append structure are in blue color.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
INCLUDE APPEND
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
4.Search Helps
Introduction:
These are used to display all the possible entries in the search help window.
The function key (F4) or search help icon () is pressed to display the search help
window.
The DDIC search helps are of two types.
o Elementary search help.
o Collective search help.
An elementary search help is defined using one base table or help view
Example:
Search help IMP EXP LPOS SPOS
parameter
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
NAME1 * * 2 2
NOTE:
The checkboxes IMP and EXP must be check to import all the possible entries from
the specified table or help view and export the selected entry to the screen fields.
The position numbers LPOS and SPOS must be filled with the same number to
position the search help window on a screen field.
The search help exit is used to control the possible entries of a search help.
KUNNR * * KUNNR
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note: Follow the similar steps to assign the parameters for any number of search helps.
Click on activate icon.
Click on local object button.
Click on yes button.
Click on test icon.
Press F4 function key.
Click on an appropriate tabs to see the possible entries.
Cancel the search help window.
Click on back.
In case of this option the system gives restrictions window to filter thepossible
entries in the search help.
Note: An icon ‘Multiple Selection’ is used to choose the different single values and range.
4. Hot key:
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
The hot key property is used to display the elementary search help entries. By
default in case of collective search help.
The domain name of the table or structure field should be similar to the domain
name of search help parameter to assign a search help.
5.VIEWS
Introduction:
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
1. Database view:
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
2. Maintenance view:
The maintenance view is defined to maintain multiple table’s data using the
transaction code SM30.
3. Help view:
4. Projection view:
Note: The transaction code SQVI can also be used to know the join conditions.
Example:
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note:
Follow the similar steps for any number of base tables.
The field names should not be duplicate in the tables or structures or views.
Note:
Follow the similar steps to create the help view by selecting a radio button help
view.
Help views cannot be executed.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note: Follow the similar steps to select the fields for any number of tables by clicking on
‘Table Fields’button.
Click on maintenance status tab.
Change the delivery class if required.
Click on activate icon.
Click on local object button.
Click on yes button.
Click on utilities menu icon.
Click on TMG.
Enter authorization group (&NC&).
Enter functional group name (could be same as table name).
Select one step maintenance type.
Enter overview screen number (could be any number).
Click on create icon.
Click on local object button.
Press the ‘Enter’ button.
Click on back icon.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note: Transaction code SM30 is used to maintain the data in the maintenance views as like
the custom table.
6.LOCK OBJECTS
Introduction:
They are used to control the parallel access for the same data by the multiple users.
i.e., the synchronous access to the same data is provided using lock objects.
The lock object name should start with ‘E’ followed by the table name.
Example:
E<ZCUST_DBNAME> EVBAP
Custom table standard table
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
1. Write lock:
It is also called an exclusive lock. In case of this lock mode the locked data can be
accessed or processed by single user only. All other lock requests are rejected.
2. Read lock:
Note: All other write locks are rejected but read locks are accepted.
It can be requested only once by the given transaction codes. All other lock requests
are rejected.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Note: The system generated two function modules one starts with ENQUEUE* and
another one with DEQUEUE* once the lock object is activated.
The transaction code SM12 is used to list out the locked objects and to delete locked
objects.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in
TECHNING IT SOLUTIONS PVT. LTD.
Plot No-306/1697/2815, 2nd Floor, Near HP Petrol Pump, Patia, Bhubaneswar, Odisha-751024
CIN No:U72900OR2019PTC031200,www.techning.in