SAP® Essentials
Expert SAP knowledge for your day-to-day work
Whether you wish to expand your SAP knowledge, deepen it, or master a use
case, SAP Essentials provide you with targeted expert knowledge that helps sup-
port you in your day-to-day work. To the point, detailed, and ready to use.
SAP PRESS is a joint initiative of SAP and Galileo Press. The know-how offered by
SAP specialists combined with the expertise of the Galileo Press publishing house
offers the reader expert books in the field. SAP PRESS features first-hand informa-
tion and expert advice, and provides useful skills for professional decision-making.
SAP PRESS offers a variety of books on technical and business related topics for
http://www.sap-press.com.
Jürgen Schwaninger
ABAP Development for Materials Management in SAP
2001, app. 270 pp.
978-1-59229-373-5
Valentin Nicolescu, et al.
Practical Guide to SAP NetWeaver PI—Development
2010, app. 500 pp.
978-1-59229-334-6
Horst Keller
The Official ABAP Reference
2nd ed. 2005, app. 1,213 pp.
978-1-59229-039-0
Horst Keller, Sascha Krüger
ABAP Objects, Second Edition
2007, app. 1,000 pp.
978-1-59229-079-6
Sergey Korolev
ABAP™ Development for Financial Accounting
Custom Enhancements
Bonn (cid:31) Boston
Dear Reader,
As you hold ABAP Development for Financial Accounting in your hands, you are steps
away from learning how to create custom enhancements to standard ABAP code in
SAP ERP Financials Financial Accounting (release 6.0) in order to address all corpo-
rate and/or country-specific business rules. Thanks to the expert guidance of Sergey
Korolev, this book will teach you how to efficiently and effectively customize data
flow between subsystems and external systems.
I never know what to expect when working with a first-time author, but my experi-
ence with Sergey was a pleasure from day one. His expertise is unparalleled, his
dedication and effort were superhuman, and at every step of the way he remained
positive, upbeat, and—yes—funny. Although I ruined many a weekend for him, he
always came through…and cheerfully, at that. Working with him was truly a joy.
We appreciate your business, and welcome your feedback. Your comments and
suggestions are the most useful tools to help us improve our books for you, the
reader. We encourage you to visit our website at www.sap-press.com and share your
feedback about this work.
Thank you for purchasing a book from SAP PRESS!
Kelly Grace Harris
Editor, SAP PRESS
Galileo Press
Boston, MA
kelly.harris@galileo-press.com
www.sap-press.com
Notes on Usage
This e-book is protected by copyright. By purchasing this e-book, you have agreed
to accept and adhere to the copyrights. You are entitled to use this e-book for
personal purposes. You may print and copy it, too, but also only for personal use.
Sharing an electronic or printed copy with others, however, is not permitted, neither
as a whole nor in parts. Of course, making them available on the Internet or in a
company network is illegal as well.
For detailed and legally binding usage conditions, please refer to the section Legal
.
Imprint
Editor Kelly Grace Harris
Developmental Editor Laura Korslund
Copyeditor Julie McNamee
Cover Design Graham Geary
Photo Credit Image Copyright KellyM. Used under license from Shutterstock.com.
Production E-Book Graham Geary
Typesetting E-Book Publishers’ Design and Production Services, Inc.
We hope that you liked this e-book. Please share your feedback with us and read
the Service Pages to find out how to contact us.
Korolev, Sergey.
ABAP development for financial accounting : custom enhancements / Sergey Korolev. — 1st ed.
p. cm.
Includes index.
ISBN-13: 978-1-59229-370-4
ISBN-10: 1-59229-370-0
1. Accounting—Data processing. 2. SAP ERP. 3. ABAP/4 (Computer program language) I. Title.
HF5679.K595 2011
2010051980
ISBN 978-1-59229-370-4 (print)
ISBN 978-1-59229-739-9 (e-book)
ISBN 978-1-59229-740-5 (print and e-book)
© 2011 by Galileo Press Inc., Boston (MA)
1st edition 2011
Contents
Introduction ............................................................................................... 13
Acknowledgments ..................................................................................... 15
1 Enhancement Types .................................................................. 17
1.1 Customer Enhancements (CMOD/SMOD) ................................... 17
1.1.1 Function Module Exit .................................................... 18
1.1.2 Menu Exit ..................................................................... 19
1.1.3 Customer Exit Subscreen ................................................ 20
1.1.4 Finding Customer Enhancements .................................... 21
1.1.5 Enhancements Summary ................................................ 23
1.2 Business Transaction Events (BTE) ............................................... 24
1.2.1 Events and Processes ...................................................... 24
1.2.2 Configuration ................................................................. 25
1.2.3 Finding Business Transaction Events ............................... 30
1.2.4 Business Transaction Events Summary ............................ 31
1.3 Business Add-In (BAdI) ............................................................... 31
1.3.1 Classic BAdI ................................................................... 32
1.3.2 Kernel-Based BAdI ......................................................... 34
1.3.3 Filtered BAdIs ............................................................... 35
1.3.4 BAdI Subscreen and Function Codes .............................. 36
1.3.5 Finding BAdIs ................................................................. 37
1.3.6 BAdI Summary ............................................................... 37
1.4 Implicit Enhancements ................................................................ 38
1.5 Summary .................................................................................... 38
2 Master Data Enhancements ..................................................... 39
2.1 General Ledger Accounts ............................................................ 39
2.1.1 Main Transaction Codes for General Ledger
Account Master Data ..................................................... 40
2.1.2 Data Enhancement of General Ledger Account
Master Data Tables ......................................................... 41
2.1.3 Screen Layout Enhancement .......................................... 52
7