ABAP Development for Materials Management in SAP: User Exits and BAdIs
eBook - ePub

ABAP Development for Materials Management in SAP: User Exits and BAdIs

  1. 270 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

ABAP Development for Materials Management in SAP: User Exits and BAdIs

About this book

Whether you are a Materials Management consultant or a programmer, you'll learn how to personalize and improve your processes by means of user exits, business add-ins (BAdIs), and enhancement spots with this book. The author uses his real-life experience and understanding of the frustrating challenges that users face, and provides ideal options to enhance and optimize the SAP standard through custom developments. This book shows you how to implement these customizations for Materials Management (MM) in SAP ERP and describes how these customizations influence the behavior of the user exits with custom ABAP programs. Included throughout the book are exercises to illustrate the exact procedures and coding examples needed, as well as valuable tips and tricks. 1. Practical Introduction Learn how you can use and activate the various enhancement options of the SAP system in order to create applications that are unique to your individual needs. 2. Important Application Areas Find tried and tested approaches for each of the major areas of Materials Management, as well as for the validation and substitution of accounting documents. 3. Cross-Release Description Apply programming examples for Release 4.6C and higher. You'll learn about alternative solution options if an enhancement has prerequisites or was implemented in a later release. 4. Complete Overview Discover the most useful user-exits, business add-ins, and enhancement spots that are involved in Materials Management. A comprehensive appendix also provides an easy-to-reference list.

Highlights:

  • Purchasing
  • External Services Management
  • Inventory Management
  • Area Valuation and Account Assignment Area
  • Invoice Verification
  • Validation and Substitution of Accounting Documents
  • User Exits and BAdIs
  • Materials Management

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access ABAP Development for Materials Management in SAP: User Exits and BAdIs by Jürgen Schwaninger in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.

Information

1 Introduction

The Materials Management functionality in SAP ERP, which in this book we’ll refer to as Materials Management, or MM, is certainly among the largest of its type. The settings in Customizing are therefore especially comprehensive. The customer processes are also extremely complex and multivariant in this area so that the limits of customizing are reached sooner or later.

1.1 Objectives

To cope with the required processes, SAP provides a large number of user exits and BAdIs in MM that allow you to implement highly individual requirements and processes. This book shows you the options available and describes the exact procedure for selecting enhancements so that you can use this technology to optimize your processes.
First of all, you will learn how to generally deal with enhancements, BAdIs, and enhancement spots so that you can easily understand the examples given in this book. The use and programming of selected enhancements in ABAP are described using step-by-step instructions. All ABAP listings are fully displayed with detailed comments so that you can easily apply them in your own custom applications.

1.2 Structure and Content

If you don’t program enhancements very often, you can familiarize yourself with the concepts of user exits, BAdIs, and enhancement spots in Chapter 2. The use and activation of these enhancement options are described based on brief examples.
Chapters follow for each of the major areas in MM: Purchasing (Chapter 3), External Services Management (Chapter 4), Inventory Management (Chapter 5), ­Evaluation and Account Assignment Area (Chapter 6), and Logistics Invoice Verification (Chapter 7). The most important and most comprehensive enhancement options are described using simple examples to avoid any unnecessary confusion. Because problems are rarely identical, examples are used that convey fundamental functions and options. With this knowledge, you can transfer your individual requirement to the enhancement.
The book concludes with a brief look at the validation and substitution of accounting documents in Chapter 8. With regard to posting goods movements and incoming invoices in MM, accounting documents are also automatically generated as follow-on documents in SAP ERP Financials Financial Accounting, which we’ll refer to as Financial Accounting, or FI. Users frequently want to add additional data from MM to this FI document or use additional checks from the accounting point of view. This technology can also be used as a replacement for possible available custom checks in user units or BAdIs because you can build up a central set of rules in one place, regardless of whether a document comes from the Inventory Management, the Logistics Invoice Verification, or the FI system itself.
Appendix A provides an overview of the user exits and BAdIs in in MM. The Appendix is divided into the same areas as the chapters of this book. Areas that have many enhancements are further structured so that you can quickly find all available enhancements on a specific transaction or on a specific procedure.

1.3 Target Audience

This book is mainly aimed at MM consultants who only have a basic knowledge of ABAP, but it’s also for experienced ABAP programmers who may have little knowledge of MM. However, even if you are an experienced MM consultant and programmer, you can use this book as a reference guide and perhaps even learn one or two tricks.
Whichever group you belong to, rest assured that this book offers the necessary coverage of ABAP and logistics without straying far from the fundamentals.

1.4 Prerequisites

Although this book is primarily aimed at consultants with little experience in programming, you should have the fundamental ABAP knowledge at the SAP BC400 training level. The use of ABAP objects, unless absolutely necessary, has been omitted. Nevertheless, there are individual BAdIs that have an object-oriented approach, which must be kept in the programming.
However, you don’t need any deep knowledge in object-oriented programming. Knowledge of the essential basic concepts of object orientation is enough in these cases. Some special features of object orientation in this book, such as interfaces or upcast implementations, are only described briefly.
The examples can in principle be understood in each R/3 system from Release 4.6C, or in an SAP ERP Central Component system from Release 5.0. Some enhancements have only been introduced in a later release and are therefore only available in more recent SAP systems. Appendix A provides the prerequisites for specific enhancements.

2 General Information on User Exits and BAdIs

You’ve possibly purchased this book because you already have a good understanding of SAP components for Materials Management (MM), but you only have a fundamental knowledge of ABAP programming. Perhaps you program more frequently but have little contact with the latest technologies, such as the enhancement spots that will gradually replace the classic BAdIs.
User exits, BAdIs, and enhancement spots fulfill the same purpose. When SAP applications and programs run according to a predefined schema that doesn’t always precisely fit in with your enterprise requirements, a navigation option is provided with enhancements in positions selected by SAP, which you can use to exit the standard coding. You can activate these navigation options, if necessary, and assign your own ABAP code, which means you can change data provided in a defined interface or completely integrate your custom functions here.
In this chapter, the various enhancement options are introduced and explained using a step-by-step example. If you’ve already implemented numerous enhancements in SAP systems, and you’re only searching for specific information on MM, feel free to skip this chapter.

2.1 Using User Exits

User exits constitute the oldest SAP enhancement technology still in use today. In this section, the main focus is on dealing fundamentally with user exits. To better illustrate the technology, the following example shows how you can use and activate user exits: If a purchase requisition is converted into an order, this is logged in the change documents of the purchase requisition using enhancement MM06E007.
Concepts from the World of User Exits
Numerous concepts are important for understanding user exits:
  • Enhancement
    Enhancements are provided by SAP and include one or several components that, as a whole, allow for a defined functionality.
  • Components
    Components are the elements of an enhancement that are ultimately used to customize the standard. Components can be exit modules or dynpros for custom-specific fields.
  • ...

Table of contents

  1. Notes on Usage and on the Screen Presentation
  2. Table of Contents
  3. Dear Reader
  4. Preface
  5. 1 Introduction
  6. 2 General Information on User Exits and BAdIs
  7. 3 User Exits and BAdIs in Purchasing
  8. 4 User Exits and BAdIs in External Services Management
  9. 5 User Exits and BAdIs in Inventory Management
  10. 6 User Exits and BAdIs in the Valuation and Account Assignment Area
  11. 7 User Exits and BAdIs in Logistics Invoice Verification
  12. 8 Validation and Substitution of Accounting Documents
  13. A User Exits and BAdIs in SAP Materials Management
  14. B The Author
  15. Index
  16. Service Pages
  17. Legal Notes