SlideShare a Scribd company logo
ABAP Programming Overview
Module Objectives Describe the ABAP Development Workbench and  Object Navigator Define the ABAP Editor, settings and commands Describe program attributes and set-up procedures Define Packages Describe ABAP program naming standards Explain program structure and ABAP events Define ABAP utilities
ABAP Development Workbench
Key Workbench Transactions Object Navigator (SE80) ABAP Dictionary (SE11) ABAP Editor (SE38) Function Builder (SE37) Screen Painter (SE51) Menu Painter (SE41)
Object Navigator Object Hierarchy Object Window
ABAP Editor
Attributes Attributes ABAP Editor
Packages
Program Naming Standards ZSER01-99 SELECT . . . WRITE . . .
Copying Program Code Copy Program ZDEMO001 Source program Target program ZDEMO001 ZDEMO002 Copy Program ZDEMO001 to ZDEMO002 Source Texts Documentation Variants GUI Status Screens Includes Request(organizer) Copy Copy ABAP Editor
Copying Sections of a Program 1   Select block of code to be copied
Copying Sections of a Program 2  Copy block to clipboard
Starting an ABAP Report Test  ABAP Editor
Program Structure REPORT  name or PROGRAM name  *Declaration section DATA:  i_tab type i  TABLES: SBOOK  *Statement section
Pattern Pushbutton ABAP Editor Pattern
INCLUDE Programs REPORT ZABAP. INCLUDE ZCOST. INITIALIZATION. . . . INCLUDE ZSUB * INCLUDE ZCOST * INCLUDE ZSUB
Commenting Programs DATA: SUM  TYPE P,  "Totals field COUNTER TYPE P. * New account * Initialize totals field CLEAR SUM. Partial Line Comment Comment Entire Line
Exercise Exercise 6  - Use the ABAP Editor, 35 minutes
Questions & Answers Any questions?

More Related Content

PPT
0106 debugging
PDF
Abap slides set1
PDF
Dialog programming ABAP
PPT
Ab1011 module pool programming
PPT
Module pool programming
PPT
08.Abap Dialog Programming Overview
PDF
Sap Abap Reports
PPT
Abap slide class3
0106 debugging
Abap slides set1
Dialog programming ABAP
Ab1011 module pool programming
Module pool programming
08.Abap Dialog Programming Overview
Sap Abap Reports
Abap slide class3

What's hot (20)

PPT
Maximizing SAP ABAP Performance
PPT
abap list viewer (alv)
PDF
Table maintenance generator and its modifications
PDF
Smartforms interview questions with answers
PDF
Complete reference to_abap_basics
DOC
Sap abap interview questions
DOCX
Project Report on SAP
PPTX
Object oriented approach to ALV Lists in ABAP
PDF
ABAP for Beginners - www.sapdocs.info
PDF
PPTX
SAP Modularization techniques
PPTX
Sap scripts
PPTX
SAP ABAP Latest Interview Questions
DOC
Badi document
PPT
ABAP Open SQL & Internal Table
PPTX
SAP Smart forms
PPT
oracle-reports6i
DOCX
Badis
PPTX
Reports
PPT
Alv theory
Maximizing SAP ABAP Performance
abap list viewer (alv)
Table maintenance generator and its modifications
Smartforms interview questions with answers
Complete reference to_abap_basics
Sap abap interview questions
Project Report on SAP
Object oriented approach to ALV Lists in ABAP
ABAP for Beginners - www.sapdocs.info
SAP Modularization techniques
Sap scripts
SAP ABAP Latest Interview Questions
Badi document
ABAP Open SQL & Internal Table
SAP Smart forms
oracle-reports6i
Badis
Reports
Alv theory
Ad

Viewers also liked (18)

PPT
Introduction to ABAP
PDF
Beginner’s guide to sap abap 1
PDF
Modern Browser as a Programming Editor
PPTX
Unit 4 - Basic ABAP statements, ABAP Structures and ABAP Logical Expressions
PPT
0101 sap introduction
DOCX
Sap abap modularization interview questions
PPT
Software tools
PPT
Introduction to compiler
PPTX
Different types of Editors in Linux
PPT
Sap abap ppt
PPT
ABAP Message, Debugging, File Transfer and Type Group
PPT
Lex (lexical analyzer)
PPTX
Sap abap
DOCX
Steel India Limited Business Blue print
PDF
Interpreter, Compiler, JIT from scratch
PPTX
SAP ALE Idoc
PDF
Abap reports
PDF
Ale edi i_doc.sapdb.info
Introduction to ABAP
Beginner’s guide to sap abap 1
Modern Browser as a Programming Editor
Unit 4 - Basic ABAP statements, ABAP Structures and ABAP Logical Expressions
0101 sap introduction
Sap abap modularization interview questions
Software tools
Introduction to compiler
Different types of Editors in Linux
Sap abap ppt
ABAP Message, Debugging, File Transfer and Type Group
Lex (lexical analyzer)
Sap abap
Steel India Limited Business Blue print
Interpreter, Compiler, JIT from scratch
SAP ALE Idoc
Abap reports
Ale edi i_doc.sapdb.info
Ad

Similar to 0105 abap programming_overview (20)

PPT
PptABAPoverview with all sample data with proper information s and examples.ppt
PPTX
Unit 2 - Object Navigator, Repository and ABAP Programs
PPT
PPTX
s4handgsajdgsadgasdgsagdaiugdsaifgsaidfgiasdiagfasif.pptx
PPT
Lecture10 abap on line
PPT
Abap programming overview
PPT
chapter-1abapprogrammingoverview-091205081953-phpapp01
PPT
Chapter 1abapprogrammingoverview-091205081953-phpapp01
PPT
Abapprogrammingoverview 090715081305-phpapp02
PPT
Abapprogrammingoverview 090715081305-phpapp02
PPT
Chapter 1 Abap Programming Overview
PPT
ABAP Programming Overview
PDF
Abap sample
PPT
ABAP BASICs learn the basics of ABAP-1.ppt
PDF
Abap sample code
PDF
Abap start
PDF
Abap sample programs 24 slides
PDF
Abap sample
PDF
ABAPCodeRetreat 23.7.2016 - Abap in Eclipse
PptABAPoverview with all sample data with proper information s and examples.ppt
Unit 2 - Object Navigator, Repository and ABAP Programs
s4handgsajdgsadgasdgsagdaiugdsaifgsaidfgiasdiagfasif.pptx
Lecture10 abap on line
Abap programming overview
chapter-1abapprogrammingoverview-091205081953-phpapp01
Chapter 1abapprogrammingoverview-091205081953-phpapp01
Abapprogrammingoverview 090715081305-phpapp02
Abapprogrammingoverview 090715081305-phpapp02
Chapter 1 Abap Programming Overview
ABAP Programming Overview
Abap sample
ABAP BASICs learn the basics of ABAP-1.ppt
Abap sample code
Abap start
Abap sample programs 24 slides
Abap sample
ABAPCodeRetreat 23.7.2016 - Abap in Eclipse

Recently uploaded (20)

PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
GDM (1) (1).pptx small presentation for students
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Computing-Curriculum for Schools in Ghana
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Sports Quiz easy sports quiz sports quiz
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
01-Introduction-to-Information-Management.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
human mycosis Human fungal infections are called human mycosis..pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Supply Chain Operations Speaking Notes -ICLT Program
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Abdominal Access Techniques with Prof. Dr. R K Mishra
Microbial diseases, their pathogenesis and prophylaxis
GDM (1) (1).pptx small presentation for students
102 student loan defaulters named and shamed – Is someone you know on the list?
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Computing-Curriculum for Schools in Ghana
PPH.pptx obstetrics and gynecology in nursing
O7-L3 Supply Chain Operations - ICLT Program
Sports Quiz easy sports quiz sports quiz
Pharmacology of Heart Failure /Pharmacotherapy of CHF
01-Introduction-to-Information-Management.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
O5-L3 Freight Transport Ops (International) V1.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf

0105 abap programming_overview

Editor's Notes

  • #3: ATS App. Prog. – ABAP Programming Module Presentations
  • #4: The ABAP Workbench includes all tools necessary to design and develop programs, screens, menus, etc. It also contains performance and debugging facilities. Central to the workbench are the Repository Browser and the Data Dictionary.
  • #5: The Object Navigator manages and organizes development objects in a hierarchical form, allowing easy navigation among objects and within the development environment. The ABAP Dictionary defines, maintains, and stores the data dictionary of the R/3 system. It stores all dictionary objects, including tables, relationships, documentation and help. The ABAP Editor is used to create and maintain ABAP programs and function modules. The Function Builder is used to define and maintain ABAP function modules (general purpose routines that can be called from other ABAP programs). The Screen Painter is used to define and maintain the graphical user interface screens. The Menu Painter is used for designing and maintaining menus for the graphical user interface.
  • #6: The Object Navigator screen is divided into two areas: An area for displaying an object list as a hierarchy The object window, in which objects can be displayed and edited You can hide the hierarchy area using the Close browser pushbutton. You can display the object list for the object currently displayed in the object window using the Object list icon. You can select functions from a context menu in both screen areas. You are only given a choice of those functions that are relevant to displaying or editing the object on which the cursor is positioned. Right-click with the mouse to display the context menu. When designing a program, work is performed in the Object Navigator. Generally, the program is selected from the object list generated by the Object Navigator. The object list is hierarchical. The package is the highest level. Components of a program can be created, changed, or displayed from within the program’s object list by putting the cursor on the class or object type to be created or by putting the cursor on the package if the type hasn’t been used before.
  • #7: The initial ABAP Editor screen can be accessed from the ABAP Development Workbench by choosing ABAP Editor. It can also be accessed via the transaction code SE38. Access to execute an ABAP report (non-developer) can be made via transaction code SE37 or the menu path System-> Services-> Reporting. The ABAP Editor is used to develop ABAP programs. The editor can also be used to test reports. The reporting function is used to start/execute reports. An ABAP program and many of its components (such as text elements or variants) can be created, changed, or displayed from this initial screen. Also, an ABAP program can be executed or debugged from this screen.
  • #8: The first step in creating a program is the definition of the program attributes.
  • #9: The SAP transport system requires the assignment of an ABAP program to a package or to identify it as a local object. Packages support the distributed development of large applications in SAP. A set of development objects make up a package, and packages are in turn components of the R/3 system. A set of development objects are, for example, programs, tables, data elements. Packages are also used to group the modules of SAP together, for example, MM or SD.
  • #10: All customer-developed programs must start with a Z or Y. The Accenture naming convention for a program in this course: ZSER01-XX. (ZSER/exercise number/ID number) Hints: Words in capital letters are SAP expressions (eg: WRITE, TOP-OF-PAGE). Words beginning with capitals are names, menu names and path names (e.g.,: System -> User Profile -> User Defaults).
  • #11: To copy a complete program, go to the initial screen for the ABAP Editor and click on the Copy pushbutton. Alternatively select Program -> Copy. The source and target program names must be entered: Source (the program to copy from) Target (the program to copy to) After pressing the Copy button, select the components of the source program to copy. Again click on the Copy button and create the object catalogue entry for the new program. Either enter a package and press the Save button, or simply press the Local Object button. Saving as a local object does not require the entry of a package. Remember to save.
  • #12: To copy a piece of code, highlight it and push Ctrl+C You can also highlight the code and press the Copy button.
  • #13: SAP provides three buffers (called the X,Y and Z). A buffer is a clipboard-like area that stores a particular section of a program in memory. Once a block has been selected, it can be copied to one of the three SAP clipboards. To insert the contents of a clipboard, select Utilities->Block/Buffer -> Insert X buffer.
  • #14: The Test function (Program -> Test) can be used to start an ABAP program directly from within the editor. Press F8 to access the Test function.
  • #15: Every ABAP program must start with either the PROGRAM or REPORT statement. Always use the Pattern pushbutton to insert a header into a report/program. Always include the program name, application, project, date of creation and a brief description of the program. All global declarations must be collected together at the beginning of the program in a declaration section.
  • #16: The Pattern pushbutton in the ABAP Editor allows the user to insert statement templates into the program code. It provides a skeleton for the program code. From the Pattern pushbutton, the system prompts for an object type in the Insert Statement screen. It is possible to select one of the following: CALL FUNCTION - inserts a function call MESSAGE - inserts a MESSAGE statement for a specified message. Enter a message ID, message type, and a number. SELECT * FROM - inserts a SELECT from <table> statement. Enter the table name in the field provided. PERFORM - inserts a PERORM statement for a specified form routine AUTHORITY - CHECK - inserts an AUTHORITY - CHECK statement for a specified authorization object WRITE - inserts a WRITE statement for a specified structure or table CASE for status - inserts a CASE statement for a specified status Internal table - inserts an internal table. It is possible to copy the fields or the structure of an existing table. CALL DIALOG - inserts a CALL DIALOG statement for a specified dialog module Other pattern - inserts a predefined or user-defined ABAP statement After selecting a statement in code, fill out the template as the program requires.
  • #17: ATS App. Prog. – ABAP Programming Module Presentations Large programs are usually divided into several Include files. Include programs are used to divide very large programs into smaller more manageable units. An INCLUDE is part of a programs source code, but it is stored separately in the repository-like a program. The source code it contains can be inserted into the program using the INCLUDE statement.
  • #18: Accenture places a great deal of emphasis on program comments. Commenting can either be done in-line or online. Why? Clients like to understand the programs. If someone wants to maintain the program at a later date, he/she will understand it. To mark an entire line as a comment, enter an asterisk at the start of the line. To mark the remainder of a line as a comment, enter a double quotation mark on the line.
  • #19: ATS App. Prog. – ABAP Programming Module Presentations