SAP ABAP Advanced Cookbook

SAP ABAP Advanced Cookbook
eBook: $29.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $79.98    Print cover: $49.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Full of illustrations, diagrams, and tips with clear step-by-step instructions and real time examples
  • Get to grips with solving complicated problems using Regular Expressions in ABAP
  • Master the creation of common Design Patterns using ABAP Objects
  • Enhance SAP applications through the use of ABAP programming
  • Covers the newest topics of Adobe Interactive Forms

Book Details

Language : English
Paperback : 316 pages [ 235mm x 191mm ]
Release Date : December 2012
ISBN : 184968488X
ISBN 13 : 9781849684880
Author(s) : Rehan Zaidi
Topics and Technologies : All Books, Enterprise Products and Platforms, Cookbooks, Enterprise, SAP

Table of Contents

Chapter 1: ABAP Objects
Chapter 2: Dynamic Programming
Chapter 3: ALV Tricks
Chapter 4: Regular Expressions
Chapter 5: Optimizing Programs
Chapter 6: Doing More with Selection Screens
Chapter 7: Smart Forms – Tips and Tricks
Chapter 8: Working with SQL Trace
Chapter 9: Code Inspector
Chapter 10: Simple Transformations
Chapter 11: Sending E-mail Using BCS Classes
Chapter 12: Creating and Consuming Web Services
Chapter 13: SAP Interactive Forms by Adobe
Chapter 14: Web Dynpro for ABAP
Chapter 15: Floorplan Manager
  • Chapter 1: ABAP Objects
    • Introduction
    • Creating a shared memory object
    • Creating a persistent object
    • Creating classes based on factory methods
    • Creating classes based on singleton design pattern
    • Creating classes based on adapter pattern
    • Chapter 2: Dynamic Programming
      • Introduction
      • Using field symbols and data references to print database table contents
      • Applying dynamic Open SQL
      • Dynamic program generation
      • Chapter 3: ALV Tricks
        • Introduction
        • Setting ALV columns as key columns and making zero amount appear as blank
        • Removing columns from display and layout
        • Enable Adding Layout toolbar buttons
        • Adding Hotspot to columns
        • Adding your own buttons to ALV toolbar
        • Adding checkboxes to columns
        • Chapter 4: Regular Expressions
          • Introduction
          • Using regex as an IF statement
          • Removal of characters from a string
          • Converting date into internal date type
          • Validation of format (telephone number)
          • Removing repeated words from text string
          • Inserting commas in an amount string
          • Removing comments from program code
          • Interpreting HTML stream
          • Chapter 5: Optimizing Programs
            • Introduction
            • Using transaction SAT to find problem areas
            • Creation of secondary indexes in database tables
            • Adding hints in SELECT clause
            • Secondary indexes for internal tables
            • Hashed table for single read access
            • Replacing for all entries construct with Ranges
            • Chapter 6: Doing More with Selection Screens
              • Introduction
              • Adding tabstrips and listboxes to report selection screens
              • Adding toolbar buttons on selection screen
              • Changing screen fields on radio button selection
              • Taking desktop folder and filename as input
              • Coding search help exits for creating better F4 helps
              • Chapter 7: Smart Forms – Tips and Tricks
                • Introduction
                • Toggle on/off the Microsoft Word text editor
                • Using background pictures and print preview
                • Using folder options for page protection
                • Printing several forms in one spool request
                • Converting Smart Forms to PDF output
                • Applying sorting and subtotaling to table fields
                • Chapter 8: Working with SQL Trace
                  • Introduction
                  • Carrying out SQL trace
                  • Generating and interpreting the trace result
                  • Carrying out restricted trace
                  • Filtering unwanted trace result entries
                  • Summarizing a SQL list and viewing table-related information
                  • Quickly finding the data source of a screen field
                  • Finding the data source of a field's hit list
                  • Chapter 9: Code Inspector
                    • Introduction
                    • Carrying out quick code inspection
                    • Carrying out a full-fledged inspection
                    • Carrying out database-specific performance checks
                    • Suppressing messages using pseudo comments
                    • Searching for ABAP statement patterns and tokens within code
                    • Creating your own Code Inspector checks
                    • Chapter 10: Simple Transformations
                      • Introduction
                      • Creating simple transformations
                      • Creating transformations for structures and calling them in programs
                      • Creating transformations for internal tables
                      • Generating transformations for dictionary table types
                      • Downloading into Excel made easy using simple transformations
                      • Chapter 11: Sending E-mail Using BCS Classes
                        • Introduction
                        • Creating a simple e-mail message
                        • Sending e-mail to Internet e-mail addresses
                        • Adding attachments to your message
                        • Creating HTML e-mail
                        • Running a program and sending its output as an e-mail
                        • Chapter 12: Creating and Consuming Web Services
                          • Introduction
                          • Creating a Web service from a function module
                          • Configuring the created Web service
                          • Consuming a Web service
                          • Creating a consumer proxy's logical port
                          • Calling a Web service from an ABAP program
                          • Chapter 13: SAP Interactive Forms by Adobe
                            • Introduction
                            • Creating nested tables
                            • Enabling duplex printing in forms
                            • Using form elements and scripting to create interactive forms
                            • Working with Adobe offline infrastructure
                            • Parallel printing of form
                            • Adding error messages for interactive forms
                            • PDF object API
                            • Chapter 14: Web Dynpro for ABAP
                              • Introduction
                              • Creating trees
                              • Creating navigation lists
                              • Creating tabstrips
                              • Displaying error messages
                              • Calling dialog boxes of same component
                              • Displaying Adobe forms in Web Dynpros
                              • Chapter 15: Floorplan Manager
                                • Introduction
                                • Creating applications based on OIF Floorplan design
                                • Changing header and ticket area at runtime
                                • Adding list GUIBBs to Floorplan applications
                                • Viewing structure of FPM applications
                                • Creating GAF applications
                                • Creating FPM applications using Application Creation Tool

                                Rehan Zaidi

                                Rehan Zaidi has more than 13 years of SAP experience and has been writing about SAP topics since 2001. He co-authored an ABAP programming training manual for a course taught in North America and has written a number of SAP books and articles about ABAP, workflow, HR functional and technical users, and SAP user experiences. Rehan has carried out support and implementation projects involving various areas of ABAP and workflow, and has worked in technical and functional areas of SAP ERP HCM. He holds bachelor and master’s degrees in computer science. You may reach Rehan via e-mail at
                                Sorry, we don't have any reviews for this title yet.

                                Code Downloads

                                Download the code and support files for this book.

                                Submit Errata

                                Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                                Sample chapters

                                You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                                Frequently bought together

                                SAP ABAP Advanced Cookbook +    VMware ESXi Cookbook =
                                50% Off
                                the second eBook
                                Price for both: €34.10

                                Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                                What you will learn from this book

                                • Master the advanced features of Web Dynpro programming
                                • Experience the latest advancements in FloorPlan Manager design
                                • Learn how to use transaction SAT and secondary internal table indexes for performance improvement
                                • Explore the world of Simple Transformations and how they solve problems
                                • Get step-by-step instructions to create and consume Web Services
                                • Optimize program code and find datasource of fields using SQL Trace
                                • Get valuable tips and tricks for Smart Forms and Adobe Interactive Forms

                                In Detail

                                ABAP (Advanced Business Application Programming) is SAP’s proprietary 4th Generation Language (4GL). SAP core is written almost entirely in ABAP.

                                ABAP is a high level programming language used in SAP for development and other customization processes.

                                "SAP ABAP Advanced Cookbook” covers advanced SAP programming applications with ABAP. It teaches you to enhance SAP applications by developing custom reports and interfaces with ABAP programming.

                                This cookbook has quick and advanced real world recipes for programming ABAP.
                                It begins with the applications of ABAP Objects and ALV tips and tricks. It then covers Design Patterns and Dynamic Programming in detail.

                                You will also learn the usage of quality improvement tools such as transaction SAT, SQL Trace, and the Code Inspector.

                                Simple transformations and its application in Excel Downloading will also be discussed, as well as the newest topics of Adobe Interactive Forms and the consumption and creation of Web services. The book comes to an end by covering advanced usage of Web Dynpro for ABAP and the latest advancement in Floorplan Manager.


                                This book is written in a simple, easy to understand format with lots of screenshots and step-by-step explanations.

                                Who this book is for

                                If you are an ABAP developer and/or consultant looking forward to building advanced SAP programming applications with ABAP, then this is the best guide for you. Basic knowledge of ABAP programming is required.

                                Code Download and Errata
                                Packt Anytime, Anywhere
                                Register Books
                                Print Upgrades
                                eBook Downloads
                                Video Support
                                Contact Us
                                Awards Voting Nominations Previous Winners
                                Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                                Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software