Apress

SAP ABAP

Hands -On Test Projects with Business Scenarios

By Sushil Markandeya , Kaushik Roy

SAP ABAP Cover Image

SAP ABAP elucidates the numerous features of the core programming platform, which is used for development for the entire SAP software suite. SAP ABAP uses numerous hands on business oriented use cases and a valuable dedicated downloadable e-resource to demonstrate the underlying advanced concepts of the OO ABAP environment and the SAP UI.

Full Description

  • ISBN13: 978-1-4302-4803-3
  • 600 Pages
  • User Level: Intermediate to Advanced
  • Publication Date: August 21, 2013
  • Print Book Price: $69.99
  • eBook Price: $48.99

Related Titles

Full Description

SAP ABAP (Advanced Business Application Programming) elucidates the numerous features of the core programming platform, which is used for development for the entire SAP software suite. SAP ABAP uses numerous hands on business oriented use cases and a valuable dedicated e-resource to demonstrate the underlying advanced concepts of the OO ABAP environment and the SAP UI. SAP ABAP covers the latest version (NetWeaver 7.3 and SAP application programming release 6.0) of the platform for demonstrating the customization and implementation phases of the SAP software implementation.

Shorn of weighty theoretical treatment and preoccupation with language syntax, SAP ABAP is a comprehensive, practical one stop solution,which demonstrates and conveys the language’s commands and features through hands on examples. The accompanying e-resource is a take off point to the book.

SAP ABAP
works in tandem with the accompanying e-resource to create an interactive learning environment where the book provides a brief description and an overview of a specified feature/command followed by the user switching over to the accompanying e-resource, where a step-by-step guide to creating and running  the feature’s object is available.

The presentation of the features is scenario oriented, i.e. most of the features are demonstrated in terms of small business scenarios. The e-resource contains the scenario descriptions, screen shots, detailed screen cams and ABAP program source to enable the reader to create all objects related to the scenario and run/execute them.

The underlying concepts of a feature/command are conveyed through execution of these hands-on programs. Further exercises to be performed  independently by the reader are also proposed. The demonstration/illustration objects including the programs rely on some of the SAP application tables being populated, for example an IDES system which is now a de facto system for all SAP training related activities.

What you’ll learn

  • The core ABAP platform
  • Advanced concepts of OO programming with ABAP
  • SAP application tables
  • IDES system
  • Programming the SAP user interface.

Who this book is for

For beginners in SAP application programming, and as a reference for practicing professionals and consultants in SAP ABAP.

Table of Contents

Table of Contents

Chapter I – ERP and SAP Overview, SAP R/3 client server architecture, ABAP NetWeaver architecture, logging in, introduction to ABAP work bench environment















Chapter II - ABAP/Data Dictionary/DDIC 







  1. Data Dictionary in SAP
  2. Data Dictionary objects
  3. Dictionary Types
  4. Enforcing standardization, uniformity in a large database – domains, data elements
  5. Database tables: transparent, pooled, clustered
  6. Index files
  7. Views, view types: database, projection, maintenance, help
  8. Search helps: elementary, collective
  9. Type Groups
  10. Lock objects
  11. Data utility for adjusting the data base tables
  12. Table maintenance generator
  13. Enhancements to DDIC objects








Chapter III - ABAP language basics







  1. ABAP text editor features & facilities, ABAP data types, data objects, data declarations
  2. Arithmetic operations, data movement, string operations
  3. Internal program flow control: conditions & looping








Chapter IV - Classical reporting, using ABAP debugger







  1. OPEN SQL introduction
  2. Write statement, output positioning, formatting, Width of output – columns in a line, Size of page – lines in a page, STANDARD HEADER – Text Element List Heading, NON STANDARD HEADING - TOP-OF-PAGE , Footer - END-OF-PAGE
  3. Text Elements – TEXT SYMBOL
  4. Events START-OF-SELECTION, END-OF-SELECTION.
  5. COLOR in lists
  6. Ensuring specified output not splitting from page to page – RESERVE LINES
  7. Printing Lists – sending to spool, sending lists to SAP Folder, Report Tree, Desktop soft wares viz. WORD, EXCEL, HTML
  8. Outputting blank lines, Icons, Symbols, Check box
  9. ABAP debugger settings, ABAP classical debugger, ABAP new debugger
  10. ABAP debugger - break points: static & dynamic
  11. ABAP debugger – going through source code
  12. ABAP debugger - displaying, changing data object (including internal tables) contents








Chapter V - Internal tables







  1. Internal Table Declarations: 3X notation, STANDARD tables; 4X notation, STANDARD, SORTED, HASHED tables
  2. Structure, HEADER LINE
  3. Operations: Filling Internal Table - adding rows, retrieving rows, updating rows, deleting rows, SORT, TEXT SORT, searching, copying, assigning, internal table controls, DESCRIBE TABLE








Chapter VI – Maintaining Messages, Modularization







  1. Message Id/Class, maintaining messages
  2. Types of messages
  3. MESSAGE command, issuing messages
  4. Macros - include programs, Subroutines, internal subroutines, external subroutines
  5. Function builder
  6. Function groups, Functions Modules. Function module types: NORMAL, RFC, UPDATE. Function module parameter interface. TABLES parameter. Raising exception with MESSAGE command
  7. Some SAP provided/built in Function modules
  8. Calling Function modules








Chapter VII - Retrieving, adding, updating, deleting data to Database tables – Open SQL, Native SQL







  1. Retrieve data – SELECT command
  2. Columns’ specification, destination, conditions (WHERE), SORT specification
  3. Aggregate functions, ALL ENTRIES IN.., PACKAGE SIZE..
  4. Inner join, Outer join, Sub query
  5. Columns’ specification, conditions (WHERE), SORT specification in internal table
  6. Insert, Update, Delete data
  7. Native SQL








Chapter VIII - SELECTION-SCREEN







  1. Formatting SELECTION-SCREEN, positioning & sizing objects: Text (COMMENT) & (Text Elements SELECTION TEXT), Text box (PARAMETERS), Push button, Check box, Radio button, SELECT-OPTIONS (multiple, complex selections), Blocks
  2. Program variants, maintaining program variants, retrieving variants
  3. SELECTION-SCREEN Events: INITIALIZATION, AT SELECTION-SCREEN OUTPUT, AT SELECTION-SCREEN,  AT SELECTION-SCREEN ON HELP REQUEST, AT SELECTION-SCREEN ON VALUE REQUEST, AT SELECTION-SCREEN ON field, AT SELECTION-SCREEN ON BLOCK
  4. Declarative statement: .. TYPE RANGE OF
  5. SELECTION-SCREEN Definition & CALL








Chapter IX - Interactive reports







  1. Generating multiple lists: primary lists, secondary lists
  2. Events AT LINE-SELECTION, AT USER-COMMAND, TOP-OF-PAGE DURING LINE SELECTION for header of secondary lists
  3. Creating application tool bar using menu painter
  4. Retrieving previous list data
  5. Lists in dialogue boxes
  6. Scrolling in lists








Chapter X – Brief on ABAP OOPS







  1. Classes in ABAP, local classes, global classes, class builder
  2. Built-in classes: CL_GUI_FRONT-END_SERVICES
  3. Class based error handling & exceptions








Chapter XI – ALV reporting







  1. Built-in classes:CL_GUI_CUSTOM_CONTAINER, CL_GUI_DIALOGBOX_CONTAINER, CL_GUI_ALV_GRID
  2. Using built-in class CL_GUI_ALV_GRID to generate lists in ALV grids Changing layouts, saving layouts, controlling grid properties, controlling Column properties (field catalogue)
  3. USE CL_GUI_ALV_GRID Events to create interactive grids, control grid tool bar etc
  4. ALV reports using Function modules








Chapter XII - Module pool programming







  1. Screen painter, flow logic. creating screens, programs demonstrating all controls including SUB SCREEN AREA,TAB STRIP, TABLE CONTROL
  2. Validations on screens (FIELD...MODULE and CHAIN...ENDCHAIN)
  3. CALL SCREEN, SET SCREEN, LEAVE SCREEN etc.
Errata

If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

* Required Fields

No errata are currently published