SAP ABAP Development First Program Tutorial – Step-by-Step Guide to tcode SE38, WRITE Statements & Basic ABAP Concepts
SAP ABAP First Program – Complete Beginner
Welcome to Day 1 of your SAP ABAP learning journey.
This tutorial will guide you step-by-step to create your first ABAP program in SE38, understand basic ABAP syntax, and write simple output programs.
๐️ Day 1: Introduction to SAP ABAP & SE38 Basics
๐ฏ Learning Objectives
- Understand what ABAP is
- Navigate and use SE38 (ABAP Editor)
- Create, activate, and execute a simple report
- Learn WRITE, comments, variables, constants
- Understand basic system fields (SY-fields)
- Work with simple arithmetic programs
๐ 1. What is ABAP?
ABAP (Advanced Business Application Programming) is SAP’s primary programming language used to build:
- Reports
- Interfaces
- Enhancements
- SmartForms
- Data conversion programs
๐ง 2. What is SE38?
T-CODE SE38 is the ABAP Program Editor used to:
- Create programs
- Edit code
- Activate and execute
- Debug
- View output.
๐ฅ️ 3. How to Create Your First ABAP Program in SE38
Step-by-Step
-
Go to transaction SE38
-
Enter program name →
Z_HELLO_ABAP -
Click Create
-
Enter:
-
Title: My First ABAP Program
-
Type: Executable Program
-
-
Choose package or use $TMP
-
Write the program code
-
Click Activate (Ctrl + F3)
-
Click Execute (F8)
✅ Example 1: Hello World Program
✅ Example 2: Multiple Lines with WRITE
✔ Explanation
/→ new linesy-datum→ current datesy-uname→ current user
✅ Example 3: Simple Arithmetic
| |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Current date |
Comments
Post a Comment