Updated: September 2017
Includes: PDF, ePub, and Mobi download files, plus streaming and/or download mp4 author video tutorials!
This highly visual, project-driven insiderBOOK provides novices with a comprehensive, practical guide to the basics of ABAP development.
Readers begin to understand SAP programming techniques in no time by performing practical tasks while reading the book. As compared to a theoretical study, this is a hands-on experience where you can practice whatever you are reading or visualizing, for better, quicker, and longer-lasting learning. Starting with the basic fundamentals, this book quickly guides you toward more advanced concepts.
Readers follow along, step-by-step, as the author develops a complete point of sale (POS) project from scratch, and gain a detailed understanding of a complete ABAP development project. Readers of this book are assured a thorough understanding of how to use ABAP in real-world scenarios.
Expert advice, specifically for beginners, takes you through all key stages of the POS project development and you can personally develop every object related to this project, helping you build a thorough understanding of the different components and stages of development, from master-data creation, to sales, returns, reporting, and analysis using dashboards.
- Getting started quickly
- Development Tools and Objects
- Creating Data Dictionary Objects
- Advanced Master Data Management
- Web Dynpro
- Dashboard Design
- And much more!
Table of Contents
Chapter 1: Downloading and Installing the SAP NetWeaver Application Server (AS) ABAP Trial
This is the most important chapter of this book because the development of the POS system cannot be started without the successful installation of SAP NetWeaver AS ABAP Trial. In this chapter you learn the details of the procedure for downloading and installing all the required components of this development environment. By following the directions in this chapter you can then continue reading the book and develop your project, regardless of your machine or its operating system.
Chapter 2: Getting Ready to Work with SAP NetWeaver Application Server (AS) ABAP Trial
This chapter includes detailed coverage of the installation and configuration of SAP GUI for Windows. You learn about logging on and logging off from the system. The process of requesting and installing a new license is part of this chapter. We also go through how to start and stop SAP NetWeaver AS ABAP.
Chapter 3: Introduction to SAP GUI for Windows and the ABAP Development Workbench
Learn about the different SAP GUI objects and go through the process of executing any application using transaction codes. It includes an introduction to the SAP ABAP Workbench with an explanation of how to create a first test program in ABAP and how to apply a development key for a developer user. In an overview of the new ABAP Editor and new Debugger of SAP GUI for Windows you see how to display or change the values of a variable in debugging mode.
Chapter 4: SAP User Management
Understand preinstalled users and their use, and go through the processes of changing a user password, locking or unlocking any user, and creating a new user from scratch or by copying an old user. We also will assign the authorization of a transaction code using a role.
Chapter 5: Introduction to the ABAP Data Dictionary and Managing Data Dictionary Objects
This chapter describes different ABAP Data Dictionary objects (e.g., data elements, domains, structures, tables [database tables], views, search helps, and table types internaltable tpes]), and shows how to create, change, or delete these objects. This chapter also starts the development of the POS project so we create almost all the Data Dictionary objects required for the POS project development (e.g., master or transactional tables for POS data, data elements and domains for tables, structures for the change log for master tables, and search help for the site).
Chapter 6: Master Data Creation Using Screen Programming
Find out how to design a screen with different screen components for getting input from the user, validating the user input, and, finally, saving it to database tables. Using a simple screen design and very basic screen elements at this level, this chapter covers three business processes: site (store or branch) master-data creation (name, description, address, phone number, and status of the site [active or inactive]), article-master-data creation (Global Trade Item Number [GTIN], unit of measure, description, selling price, and discount of an article), and site assignment to the user.
Chapter 7: Master Data Upload
Uncover the different ways of uploading master data to an SAP system and how to create and use subroutines, function groups, and function modules. You experience a data upload using Batch Data Communication (BDC) and also see how to upload data using the Legacy System Migration Workbench (LSMW).The author explains how to use some standard functions and class methods to transfer data from a Notepad file to an SAP system, to display a dialog for file selection, and to attach local search help to screen fields.
Chapter 8: POS Sales Process
Go deeper into screen programming with the design and operation of the POS screen, which is very important for the project from both a business and a learning point of view. While developing this screen, the author also covers some critical advanced components. The payment screen design is also part of this section. After a sale, you need to issue sales invoices to customers, so the process of designing and printing sales invoices using Smartforms, which also includes the creation of Smart Styles, is explained fully.
Chapter 9: POS Return Process
Learn the ins and outs of the design and function of the POS return screen. When you are selling, there can be a return so you need to implement a return process. This demonstrates two main return functions from a business point of view. The first return is with reference to an invoice and the second return is without reference to an invoice. This also includes an authorization check. The system does not allow the cashier to perform a return without an invoice if he is not authorized to do so. After reading this chapter you will understand the process of designing and printing return invoices using a Smartform, using the same Smart Styles created for the sales invoice.
Chapter 10: Configuration and Development of Workflow
Follow the complete details on approval through a workflow for a new branch creation or a change in the sales price for an article. This chapter also explains the basic configuration of workflow as it is not preconfigured with the SAP NetWeaver AS ABAP installation.
Chapter 11: SAP GUI-Based Reporting
Understand the design of different reports in SAP List Viewer (ALV) and Smartforms. This chapter also includes the functionality of sending HTML-formatted mail using a simple transformation.
Chapter 12: Web-Based Reporting
Get an overview of web-based reports with a step-by-step demonstration of the basic configuration for running Web Dynpro, which does not come preconfigured in SAP NetWeaver AS ABAP. This chapter also explains the method for designing some important web-based reports.
Chapter 13: Dashboard Design
The author tackles dashboard design in Microsoft Excel and the population of data to the Microsoft Excel dashboard using ABAP Object Linking and Embedding (OLE).
Appendix A: Bonus information about SAP development tools.