DAY-4: SAP GUI Walkthrough & Creating Basic ABAP Dictionary Objects

On a journey of continuous learning ๐ I share the concepts I learn daily through blogs. Learn concepts with me โ one topic at a time.
#LearningInPublic #ContinuousLearning

STEP 1: Open ABAP Dictionary (SE11)
Enter /O SE11 in the command field and press Enter.
/Oopens the transaction in a new session.SE11 is the ABAP Dictionary.
This is where SAP data objects like domains, data elements, tables, and views are created.
Think of SE11 as the design room for SAP data.
STEP 2: Understand the SAP GUI Menu Bar
The menu bar is present at the top of the SAP screen.
Dictionary Object โ Actions related to DDIC objects.
Edit โ Enabled only in change mode.
Goto โ Navigate to related objects.
Utilities โ Technical tools like checks and where-used list.
Environment โ System environment information.
System โ User and system settings.
Help โ SAP documentation and help.
These menus help you navigate and manage objects, not create business data.
STEP 3: Understand the Standard SAP Toolbar
This toolbar is common across all SAP transactions.
Green Tick (โ) โ Execute / Enter
Command Field โ Enter transaction codes
Back Arrow โ Go to previous screen
Exit Arrow โ Exit current transaction
Red X โ Cancel without saving
Save Icon โ Save object
Find Icons โ Search content
Help Icon โ Context-specific help
These are basic navigation controls used everywhere in SAP.
STEP 4: Transaction Title Area
This area shows the current transaction name.
Example:
โABAP Dictionary: Initial Screenโ
Confirms that you are inside SE11
Helps identify where you are in SAP
Similar to a page title in a web application.
STEP 5: Application Toolbar (ABAP Dictionary Controls)
These buttons are specific to ABAP Dictionary objects.
Create โ Create a new object
Copy โ Copy an existing object
Change โ Edit an object
Display โ View in read-only mode
Delete โ Remove an object
Check โ Validate technical consistency
Activate โ Make the object usable system-wide
Until you activate an object, SAP treats it as incomplete.
STEP 6: Object Selection Area (Radio Buttons)
This section lets you choose what type of object you are working on.
Database Table โ Physical database table
View โ Logical view of tables
Data Type โ Data elements and structures
Domain โ Technical field definition
Search Help โ F4 help configuration
Lock Object โ Record locking mechanism
Only one object type can be selected at a time.
STEP 7: Input Field Behavior
Yellow field โ Active / mandatory input
White field โ Inactive until selection
Matchcode icon (๐) โ Search help
Greyed buttons โ Not allowed in current mode
SAP uses color and state to guide the user.
Creating a Package in SAP (Step-by-Step)
A Package in SAP works like a folder.
It is used to organize and store all development objects such as tables, domains, data elements, programs, etc.
Packages also play an important role in transport management, because SAP uses them to track and move objects between systems (DEV โ QAS โ PROD).
Step 1: Open Object Navigator (SE80)

Enter
SE80in the SAP command field and press Enter.SE80 opens the Object Navigator, which is the main development workspace in SAP.
From the left navigation panel, select Package.
Enter a package name in the input field.
A package name uniquely identifies a development container in SAP.
Step 2: Confirm Package Creation

After entering the package name, a confirmation popup appears.
Click
Yesto confirm package creation.
๐ Important Rule
Custom packages must always start with:
ZorY
This naming convention clearly separates custom development from standard SAP objects.
Step 3: Maintain Package Properties

A new popup appears asking for package properties.
Enter a short description explaining the purpose of the package.
Press Enter to continue.
The description helps other developers understand what this package is used for.
Step 4: Create a Transport Request (TR)

SAP now prompts you to assign a Transport Request.
Click on Create New Request (F8).
๐ SAP tracks every development change using transport requests.
No object can be created without one.
Step 5: Enter Transport Request Details

A popup appears to define the transport request.
Enter a short description for the transport (example: Package creation for custom objects).
SAP automatically generates the Transport Request number.
This transport request will later be used to move the package to other systems.
Step 6: Final Confirmation

A final confirmation screen appears showing the transport details.
Verify the information.
Press Enter to confirm.
๐ The package is now created and assigned to a transport request.
Creating a Domain in SAP (Step-by-Step)
A Domain in SAP defines the technical behavior of a field.
It controls how data is stored, such as data type, length, and allowed values.
Think of a domain as rules for data โ it decides what kind of data is allowed.
Step 1: Open Domain Creation Screen

Open ABAP Dictionary by entering SE11 in the command field.
Select the Domain radio button.
Enter a domain name and click Create.
This tells SAP that you want to create a new technical data definition.
Step 2: Define Domain Properties
After clicking Create, a new screen opens where you define the domain properties.

Here you must provide:
Short Description โ explains what the domain is used for
Data Type โ for example
CHAR,NUMC,DECLength โ number of characters or digits
This step defines how the data behaves technically.
Example:
A gender field may useCHARwith length1.
Once the details are entered, click Save.

Step 3: Assign Package to the Domain

After saving, SAP asks you to assign a package.
Select the custom package you created earlier (starting with
ZorY).This package will store the domain object.
Assigning a package helps SAP organize and transport the object.
Step 4: Confirm Transport Request (TR)

After package assignment, SAP shows the Transport Request (TR).
Verify that the TR shown is the same one created earlier.
Press Enter to confirm.
Transport Requests track all development changes in SAP.
Step 5: Activate the Domain (Very Important)

The domain is not usable until it is activated.
Click the Activate button
(or pressCtrl + F3)SAP performs a technical check.
A confirmation message appears once activation is successful.
Activation makes the domain available globally across the system.
Creating Fixed (Pre-Defined) Values in a Domain

Domains can also restrict data to specific allowed values.
Step 6: Maintain Fixed Values

Before activating the domain:
Go to the Value Range section
Enter fixed values (example:
M = Male,F = Female)
This ensures:
Only valid values can be entered
Data remains consistent
After entering values:
Save the domain
Activate it

Fixed values are commonly used for gender, status, flags, etc.
Important Design Rule (Best Practice)
Technically, SAP allows:
- Creating fields using only data type and length
But this is not recommended.
Always Follow This Rule:
Create a Domain โ Create a Data Element โ Use it in a table
Why?
Better readability
Reusability
Clean data modeling
Professional SAP standards
Creating a Data Element in SAP (Explained for Beginners)
In SAP, a Data Element gives business meaning to a field.
While a Domain defines how data is stored technically (length, type), a *Data Element explains what that data actually represents to users.
Think of it like this:
Domain โ Technical rules
Data Element โ Business meaning + labels
Why Data Elements Are Important
Data Elements ensure that:
Fields have meaningful names across SAP screens
The same field shows consistent labels everywhere
Business users understand what data they are entering
Without Data Elements, SAP would show technical field names, which are confusing for end users.
Step-by-Step: Creating a Data Element
Step 1: Open ABAP Dictionary (SE11)

Enter SE11 in the command field
Select Data Type
Enter a custom name (usually starting with
ZorY)Click Create
At this stage, SAP is asking what type of data definition you want to create.
Step 2: Choose โData Elementโ

After clicking Create, SAP shows three options:
Data Element
Structure
Table Type
Since we are defining a Data Element, select Data Element and continue.
This tells SAP:
โI want to define the business meaning of a field.โ
Step 3: Fill in Data Element Properties

A new screen appears where you define the core properties of the data element.
Here you mainly do two things:
Link a Domain
Describe the field in business terms
Step 4: Linking a Domain (Very Important)

Every Data Element must be linked to a Domain.
The Domain controls:
Data type (CHAR, NUMC, etc.)
Length
Value restrictions
The Data Element only adds meaning on top of it
If You Donโt Remember the Domain Name
Type part of the name followed by
*Press F4
SAP shows a list of matching domains
Choose the correct one
This is very useful in real projects where many domains exist.
Step 5: Maintain Field Labels

Now switch to the Field Labels tab.
Here you define how the field appears:
On screens
In reports
In forms
You will see four label types:
Short
Medium
Long
Heading
Example:
Short โ Cust
Medium โ Customer
Long โ Customer Number
Heading โ Customer No.
These labels make SAP user-friendly instead of technical.

Step 6: Save the Data Element

When you click Save:
SAP asks you to assign a Package
A Transport Request (TR) is automatically created
This ensures:
Your object is organized
It can be moved to QA and Production later
This is how SAP controls changes safely in large systems.
Step 7: Activate the Data Element

The final and most important step is Activation.
Click Activate
Once activated, the data element becomes:
Globally available
Reusable in tables, structures, and programs
Without activation, SAP cannot use the data element anywhere.
Simple Real-World Analogy
Think of creating a Data Element like designing a form field:
Domain โ โOnly numbers, max 10 digitsโ
Data Element โ โCustomer Numberโ
Field Labels โ โCustomer No.โ shown on screen
This separation makes SAP:
Consistent
Reusable
Easy to maintain
Conclusion:
This article provides a comprehensive guide to navigating the SAP GUI and creating basic ABAP Dictionary objects. By following the structured steps and utilizing the visual aids, readers can effectively learn and apply these concepts. The inclusion of examples and helpful tips further enhances the learning experience. For continued learning, consider exploring additional resources and interactive elements related to SAP development.




