Courses | SAP ABAP

what is SAP ABAP ? | how SAP ABAP became so successful ?

SAP ABAP
SAP (Advanced Business Application PrograABAPing) is a prograABAPing language used within the SAP ecosystem. It's the primary language for developing applications and customizing SAP systems, specifically for business processes like logistics, finance, and human resources. is used to develop reports, interfaces, forms, and enhancements, among other functionalities, within the SAP environment.

ABAP Overview

  • ABAP is a high-level, procedural programming language.
  • It is tightly integrated with SAP’s application server and database system.
  • Used for developing applications on the SAP NetWeaver platform.
  • ABAP programs can be executed in SAP systems like SAP ECC (ERP Central Component), SAP S/4HANA, and others.

Key Components of ABAP

  • Reports: These are programs that extract and display data in different formats. Classic reports are the simplest form.
  • Dialog Programs: These involve interaction with users, such as SAP GUI-based applications.
  • Modules: ABAP supports modular programming, allowing reuse and better structure of code. These include function modules, classes, and methods.
  • Forms:SAPscript and SmartForms are used to design print layouts for documents.
  • Enhancements/Exits: These allow developers to modify standard SAP functionality without changing the original code, using user-exits, BADI (Business Add-Ins), etc.

ABAP Syntax

  • ABAP is known for its straightforward syntax that is somewhat similar to other structured programming languages.
  • Variables and data types must be declared before use.
  • Common data types in ABAP include CHAR, NUM, DATE, TIME, and internal tables.

ABAP Data Types

  • Elementary types:CHAR, NUM, DATE, etc.
  • Complex types: Internal tables, structures, and strings.
  • Internal Tables: Used to store and manage data dynamically, similar to arrays in other programming languages.

Modularization in ABAP

  • Function Modules: Independent units of work, like reusable functions.
  • Subroutines: Smaller blocks of code within the program.
  • Methods: Defined in ABAP classes for object-oriented programming (OOP).

Object-Oriented ABAP (OO-ABAP)

  • Introduced in SAP NetWeaver, ABAP also supports object-oriented principles like classes, inheritance, polymorphism, etc.
  • OO-ABAP helps in modular programming and reduces code redundancy.

ABAP Development Tools (ADT)

  • Eclipse-based ADT: The new development environment for ABAP, replacing the older SAP GUI-based editor.
  • Workbench: Traditional SAP GUI-based tool for coding and debugging ABAP programs.

ABAP Workbench

  • An integrated tool for development in SAP. It includes different tools for program creation, debugging, testing, and documentation.

Transaction Codes (T-Codes)

  • ABAP programs can be linked to SAP transaction codes to allow users to execute them easily.
  • T-codes are used in the SAP GUI to navigate between programs and reports.

Debugging and Testing

  • ABAP Debugger: A tool used for debugging ABAP code, enabling developers to step through code and inspect data values.
  • Unit Testing: ABAP also supports unit testing frameworks like ABAP Unit to ensure code quality.

Transaction Codes (T-Codes)

  • ABAP programs can be linked to SAP transaction codes to allow users to execute them easily.
  • T-codes are used in the SAP GUI to navigate between programs and reports.

Example ABAP Program

abap
CopyEdit
REPORT Z_HELLO_WORLD.
START-OF-SELECTION.
WRITE: 'Hello, World!'.
This program outputs "Hello, World!" in the SAP GUI.

Conclusion

ABAP is essential for customizing SAP systems to meet specific business needs. Whether you’re developing new applications or enhancing existing ones, understanding ABAP is fundamental to SAP development. If you want to dive deeper, exploring SAP NetWeaver and getting hands-on experience with ABAP development environments like ADT would be the next logical steps.

History of SAP

  • ABAP Overview
  • Key Components of ABAP
  • ABAP Syntax
  • ABAP Data Types
  • Modularization in ABAP
  • Object-Oriented ABAP (OO-ABAP)
  • ABAP Development Tools (ADT)
  • ABAP Workbench
  • Transaction Codes (T-Codes)
  • Debugging and Testing

SAP FICO Faculty

  • Jaya Laxmi
  • 10+ exp
  • COURSE CONTENT DOWNLOAD NOW
    Copyright © 2021 Mythri Institute Of Technologies
    All Rights Reserved www.mythriinstituteoftechnologies.com/