Professional Documents
Culture Documents
Chapter 29 SAP Databse Tables-1
Chapter 29 SAP Databse Tables-1
Table of Content
1 SAP System Architecture Overview ............................................................... 2
2 What are DBMS and RDBMS? ...................................................................... 3
3 Different types of Tables in SAP for Functional Consultants .......................... 4
4 How to view a Database Table in SAP if you Know Table Name .................. 4
5 Important Tables in Financial Accounting ...................................................... 6
6 Table for Complete Transaction Codes in SAP ............................................. 7
7 How to Find Menu Path for Transaction Codes ............................................. 8
8 How to Transaction Codes for IMG menu ...................................................... 9
9 How to find the table from transactions? ...................................................... 10
10 Table Vs Structure ....................................................................................... 11
11 How to find the table from a Structure.......................................................... 11
12 SAP Query Reports ..................................................................................... 14
13 Functional Specifications ............................................................................. 19
1 venkat.emani@yahoo.com
CHAPTER 29 SAP DATA BASE TABLES
Three-Tiered Architecture
Presentation Layer
Various devices could be used to access SAP business software. For example: desktop, mobile
devices, laptops, and so run. This device would be called a presentation layer. You might have
to install a piece of software on these devices so that they could talk to the application server
(computer running the actual SAP software). You could also use your web browser to access
SAP application. Whatever the case may be, the front end device would communicate with the
application server. The device would simply display you a presentation layer while the
application is actually running on the application server. The device is also called a "client".
Application Server
The actual SAP software runs on an application server. Client node simply displays the image of
the screen that is actually being produced on the application server. It is important to note the
application server only runs SAP software. Data is not stored in application server
Database Server
Data is stored on a separate machine called database server. Presentation layer communicates
with application server to retrieve the screen image to be displayed to the user. Application
server in turn communicates with the database server to write data to the database and to
retrieve data from the database. The database server would be hosting a database
management system like Oracle. Oracle is the most popular choice of database to be used with
SAP software. Other databases could be used as well e.g. SQL Server (from Microsoft) and
DB2 (form IBM).
2 venkat.emani@yahoo.com
CHAPTER 29 SAP DATA BASE TABLES
RDBMS store the data into collection of tables, which might be related by common fields
(database table columns). RDBMS also provide relational operators to manipulate the data
stored into the database tables. Most RDBMS use SQL as database query language.
Edgar Codd introduced the relational database model. Many modern DBMS do not conform to
the Codd‟s definition of a RDBMS, but nonetheless they are still considered to be RDBMS.
The most popular RDBMS are MS SQL Server, DB2, Oracle and MySQL.
DBMS Vs RDBMS
3 venkat.emani@yahoo.com
CHAPTER 29 SAP DATA BASE TABLES
1.1 Configuration Tables: It is a customizing data which is entered in the system when the
system is configured and is then rarely changed.
E.g. Company code table, Plant, Purchase Organization, Sales Organization, Payment
Terms
Press Enter and provide the company codes in BURKS field, you would like to view. If it is blank,
system would display all company codes.
4 venkat.emani@yahoo.com
CHAPTER 29 SAP DATA BASE TABLES
Details are displayed as below
If you want to see normal name (Field Label) of the field, from menu select
5 venkat.emani@yahoo.com
CHAPTER 29 SAP DATA BASE TABLES
5 Important Tables in Financial Accounting
Configuration Tables
T880 Company
T001 Company code
TKA01 Controlling area
T004 Chart of accounts
T077S GL Account groups
T009 Fiscal year variants
T003 Document types
T012 House banks
Master Data
Transaction Data
6 venkat.emani@yahoo.com
CHAPTER 29 SAP DATA BASE TABLES
6 Table for Complete Transaction Codes in SAP
SAP is a very large system with various modules that interconnect with each other. In my
current SAP system there are over 150,000 transaction codes in the entire system. This number
will vary depending upon the modules that you are using within SAP.
Once you entered the screen, click in Top Menu - Utilities - Table contents - Display
If you want to display all the transaction code (total - 57,048) you have to change the
Fields: Maximum number of hits to 99999 (default 500).
There are two ways where you can find the list of transaction codes in SE93.
Method 1:
You must be familiar with the starting characters strings for each of the R/3 application modules.
Assuming you know that most Financial Accounting transaction codes start with F.
In the Fields: Transaction code, type in F* and press the function key F4
Method 2:
On the Top Menu, click Utilities - Find - Execute and the first 500 transaction will be display.
If want to display all the transaction codes, make sure you remembered to change the
Fields: Maximum no. of hits right at the bottom of the screen.
7 venkat.emani@yahoo.com
CHAPTER 29 SAP DATA BASE TABLES
7 How to Find Menu Path for Transaction Codes
Question: I know a particular transaction code and can enter and work on it. How
do I know what is the menu path for that transaction code?
Enter search_sap_menu in the command box and when the pop box appears enter, the
transaction code and it will give the nodes and menu path.
Note: This is helpful only in case of SAP Easy Access Menu NOT in case of SPRO i.e. IMG.
Give transaction code for which you would like to know the menu path
Press Enter
8 venkat.emani@yahoo.com
CHAPTER 29 SAP DATA BASE TABLES
8 How to Transaction Codes for IMG menu
Question: I want to know whether transaction codes available for IMG activities
similar to SAP Easy Access Menu. If yes, how to find them?
E.g1. For Company code creation, you can use transaction is OX02
9 venkat.emani@yahoo.com
CHAPTER 29 SAP DATA BASE TABLES
9 How to find the table from transactions?
Question: I’m a Functional Consultant and how can I know the database table in
which certain information is saved?
Go to any transaction for example F-02, place cursor any filed like Document Date or Posting
Date
Press F1 function Key from Key Board and then press F9 or Technical information button
10 venkat.emani@yahoo.com
CHAPTER 29 SAP DATA BASE TABLES
10 Table Vs Structure
Sometimes, when you click on a field then hit F1-F9 and it shows a structure and not a real
table, sometimes the easiest way to find the real transparent table behind is to try another field
on the same area of the screen.
Tables
Represent the Database Tables where data actually resides
Tables can be defined independently of the database in the ABAP Dictionary
The fields of the table are defined with their (database-independent) SAP ABAP
data type and length
Structures
Represents record declarations that do not corresponds to Database Table
Structure contains data only during run time
11 venkat.emani@yahoo.com
CHAPTER 29 SAP DATA BASE TABLES
In this case, System displayed Structure name instead of table.
From within the technical information pop up (F1-F9) click on the data element then press
navigate
Double Click on
You can find out a table here, if not, you may have to take the help of a Developer (ABAPer)
12 venkat.emani@yahoo.com
CHAPTER 29 SAP DATA BASE TABLES
Alternatively, go to transaction SE90
Click on
Field BLDAT ( Document date) is used in many tables as you can see in the below list.
You can use scroll down /up option to see an didentify the correct table.
13 venkat.emani@yahoo.com
CHAPTER 29 SAP DATA BASE TABLES
12 SAP Query Reports
12.1 SAP Query Reports when data is from only one table
SAP Query is a very powerful tool in SAP to get reports quickly without any programming
knowledge. Thus an SAP consultant does not have to depend on an ABAP programmer to get a
report developed.
Whenever Functional Consultants need to generate reports quickly without doing any ABAP
coding, we take the help of ABAP Queries. Sometimes, we require data to test our program. In
such cases, we have to get records from different tables that satisfy our requirement, say,
requirement which needs invoices whose value is greater than 1000 etc.
Unlike table browser (SE16), reports from SAP Query can be saved.
Prerequisite: You should be familiar with Database Table names.
Path: SAP Easy AccessInformation SystemsAd Hoc Reports SAP Query (T-code SQ01)
Click on
Click on
Click on
14 venkat.emani@yahoo.com
CHAPTER 29 SAP DATA BASE TABLES
Select the selection fields and fields to be displayed (List Fields) in below screen
Click on
15 venkat.emani@yahoo.com
CHAPTER 29 SAP DATA BASE TABLES
12.2 SAP Query Reports when data is from multiple tables (Table Join)
Click on
Click on
Give description and Select Database source as Table Join
Click on
16 venkat.emani@yahoo.com
CHAPTER 29 SAP DATA BASE TABLES
Click on
Click on
Click on
This shows all available fields within the selected tables and all the links between them.
In this instance there is only one link between all three tables and that is the vendor number
(LIFNR). The links need to be checked as sometimes they are not correct.
To check a link - right click on the line and select „Display join condition‟. Both fields should
be the same (apart from the numbering).
To delete an incorrect join – right click on the line and select „Remove join condition‟.
To add the correct join – click and drag the field from the left hand table to the
corresponding field on the right hand table and release.
Once the tables and joins have been set, click the Green „Back‟ Arrow.
17 venkat.emani@yahoo.com
CHAPTER 29 SAP DATA BASE TABLES
Select Selection fields and Display fields in the below screen
Click on
18 venkat.emani@yahoo.com
CHAPTER 29 SAP DATA BASE TABLES
13 Functional Specifications
What is Functional Specification?
The Functional Specification describes the features of the desired functionality. It describes the
product's features as seen by the stake holders, and contains the technical information and
the data needed for the design and development.
The Functional Specification document to create a detailed design document that explains in
detail how the software will be designed and developed.
At the consultant level the functional specs are prepared by functional consultants on any
functionality for the purpose of getting the same functionality designed by the technical people
as most of the times the functionalities according to the requirements of the clients are not
available on readymade basis.
Please note that every implementation has its own unique format for writing functional specs
however, the above mentioned points needs to be covered to make it more communicative and
effective.
19 venkat.emani@yahoo.com
CHAPTER 29 SAP DATA BASE TABLES
14 Content of a Functional Specifications - Sample
This is a functional specification template sample you can use to create your own functional
specification for a report program.
1. Business Requirements.
In this section you have to describe the development process in a plain English, specify the
program purpose and back ground.
2. Functional Specification.
2.1 Functional Design.
In this section you should give an overview of the functional design, indicate a short description
of the program and any alternative processes if any.)
2.3 Authorization
2.3.1 SAP Authorization Object.
You should describe the security requirements in terms of level of information and sensitivity,
authorization restrictions, for example perform authorization check based on plant.
2.4. Assumptions
In this section you should specify important assumptions.
3. Appendix
20 venkat.emani@yahoo.com