48,99 €
The first and only book to offer detailed explanations of SAP ERP sales and distribution As the only book to provide in-depth configuration of the Sales and Distribution (SD) module in the latest version of SAP ERP, this valuable resource presents you with step-by-step instruction, conceptual explanations, and plenty of examples. If you're an SD consultant or are in charge of managing an SAP implementation in your enterprise, you'll want this valuable resource at your side * SAP is one of the leading Enterprise Resource Planning (ERP) software products on the market, with over 40,000 implementations * Covers the latest version of SAP ERP-ECC 6.0 * Covers common through advanced configurations, so it's helpful no matter what your level of experience with SAP * Explains the conceptual framework behind the configuration process If your company uses the SD module, keep this indispensable guide on hand.
Sie lesen das E-Book in den Legimi-Apps auf:
Seitenzahl: 783
Veröffentlichungsjahr: 2010
Table of Contents
Cover
Title Page
Copyright
Publisher's Note
Dedication
Acknowledgments
About the Authors
Introduction
Who Should Read This Book
How This Book Is Organized
How Is This Book Different??
What’s Inside
Chapter 1: Introduction to Sales and Distribution
Introduction to SAP
First Steps in SAP
Getting Help
Database Tables
Managing Customization Changes
Summary
Chapter 2: Enterprise Structure
Overview
Setting Up the Enterprise Structure
Setting Up the Sales Organization
Configuring a Distribution Channel
Configuring a Division
Setting Up a Sales Area
Defining a Common Distribution Channel and Common Division
Setting Up a Sales Office
Setting Up a Sales Group
Configuring Plants
Setting Up a Storage Location
Setting Up a Shipping Point
Setting Up a Transportation Planning Point
Setting Up a Factory Calendar
Running a Consistency Check
Summary
Chapter 3: Master Data in SD
Customer Master
Customer Hierarchy
Material Master
Product Hierarchy
Summary
Chapter 4: Partner, Text, and Output Determination
Partner Determination
Text Determination
Output Determination
Summary
Chapter 5: Pricing and Tax Determination
Pricing
Tax Determination
Summary
Chapter 6: Availability Check, Transfer of Requirements, and Backorders
Meaning and Relationship
Customizing the Availability Check and Transfer of Requirements
Working with the Availability Check
Summary
Chapter 7: Sales
Sales Documents
Customizing Sales Documents
Common Sales Document Customizations
Types of Sales Documents
Sales Contracts
Summary
Chapter 8: Shipping and Transportation
The Shipping Process
Transportation
Goods Issue
System Modifications in Deliveries
Summary
Chapter 9: Billing
Billing Process
Rebates
Payment Card Interface
Summary
Chapter 10: Account Assignment and Revenue Recognition
Account Assignment
Revenue Recognition
Summary
Chapter 11: Credit Management
Introducing Credit Management in SAP
Customizing Credit Management
Summary
Chapter 12: Material Determination, Listing, Exclusion, and Proposal
Material Determination
Automatic Product Proposal
Material Listing and Exclusion
Customer–Material Info Records
Dependencies Between Material Functionalities
Item Proposal
Summary
Chapter 13: Serial Numbers and Batch Management
Serial Numbers
Batch Management
Customizing Batch Management
Summary
Chapter 14: Advanced Techniques
Enhancement Packages
Important Tools and Techniques
Summary
Appendix: Transaction Codes and Database Tables
Transaction Codes
Database Tables
Recommended Web Resources
Index
Acquisitions Editor: Agatha Kim
Development Editor: Laurene Sorensen
Technical Editor: Dheeraj Oswal
Production Editor: Liz Britten
Copy Editor: Kim Wimpsett
Editorial Manager: Pete Gaughan
Production Manager: Tim Tate
Vice President and Executive Group Publisher: Richard Swadley
Vice President and Publisher: Neil Edde
Book Designer: Franz Baumhackl
Compositor: Craig Johnson, Happenstance Type-O-Rama
Proofreader: Word One, New York
Indexer: Ted Laux
Project Coordinator, Cover: Lynsey Stanford
Cover Designer: Ryan Sneed
Copyright © 2010 by Wiley Publishing, Inc., Indianapolis, Indiana
Published simultaneously in Canada
ISBN: 978-0-470-40473-7
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at http://www.wiley.com/go/permissions.
Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose. No warranty may be created or extended by sales or promotional materials. The advice and strategies contained herein may not be suitable for every situation. This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional services. If professional assistance is required, the services of a competent professional person should be sought. Neither the publisher nor the author shall be liable for damages arising herefrom. The fact that an organization or Web site is referred to in this work as a citation and/or a potential source of further information does not mean that the author or the publisher endorses the information the organization or Web site may provide or recommendations it may make. Further, readers should be aware that Internet Web sites listed in this work may have changed or disappeared between when this work was written and when it is read.
For general information on our other products and services or to obtain technical support, please contact our Customer Care Department within the U.S. at (877) 762-2974, outside the U.S. at (317) 572-3993 or fax (317) 572-4002.
Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic books.
Library of Congress Cataloging-in-Publication Data
Sharma, Kapil, 1975- Configuring SAP ERP sales and distribution / Kapil Sharma, Ashutosh Mutsaddi. — 1st ed. p. cm. ISBN-13: 978-0-470-40473-7 (cloth) ISBN-10: 0-470-40473-6 1. SAP R/3. 2. Sales management—Computer programs. 3. Marketing—Management—Computer programs. 4. Physical distribution of goods—Management—Computer programs. I. Mutsaddi, Ashutosh, 1974- II. Title. HF5438.35S53 2010 658.800285’53—dc22 2009052156
TRADEMARKS: Wiley, the Wiley logo, and the Sybex logo are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and other countries, and may not be used without written permission. SAP is a registered trademark of SAP AG in Germany and in several other countries. All other trademarks are the property of their respective owners. Wiley Publishing, Inc. is not associated with any product or vendor mentioned in this book.
10 9 8 7 6 5 4 3 2 1
Dear Reader,
Thank you for choosing Configuring SAP ERP Sales and Distribution. This book is part of a family of premium-quality Sybex books, all of which are written by outstanding authors who combine practical experience with a gift for teaching.
Sybex was founded in 1976. More than 30 years later, we’re still committed to producing consistently exceptional books. With each of our titles, we’re working hard to set a new standard for the industry. From the paper we print on, to the authors we work with, our goal is to bring you the best books available.
I hope you see all that reflected in these pages. I’d be very interested to hear your comments and get your feedback on how we’re doing. Feel free to let me know what you think about this or any other Sybex book by sending me an email at [email protected]. If you think you’ve found a technical error in this book, please visit http://sybex.custhelp.com. Customer feedback is critical to our efforts at Sybex.
Best regards,
Neil Edde Vice President and Publisher Sybex, an Imprint of Wiley
I dedicate this book to my grandmother and parents, because what I am today is due to their teachings and blessings, and to my wife Shweta, for all her support and encouragement, without which I could have never completed this book. —Kapil Sharma
I would like to dedicate this book to my family—my son Atharva who understood that Daddy could not spend time with him due to the book deadlines, my wife Dipashri for her love and support, and my parents for who I am today. Thank you all for being with me throughout this (ad)venture!—Ashutosh Mutsaddi
Acknowledgments
We are grateful to the divine Universe for providing the inspiration for this book!
We would like to acknowledge the help and support received from our colleagues and the management of Intelligroup Inc. during the writing of this book. The opportunity to work on challenging projects over the years has helped us hone our technical skills and enabled us to write this book.
We thank Agatha Kim, our acquisitions editor, for her tremendous help at every stage. Special thanks to Dheeraj Oswal, our technical editor, and to the entire editorial and production teams for their suggestions and input.
Kapil Sharma and Ashutosh Mutsaddi
About the Authors
Kapil Sharma has more than eight years of experience in SAP. During this time, he has played various roles ranging from solution architect to project manager, and he has managed various projects involving full lifecycle implementations, production support, rollouts, upgrades, enhancements, acquisition and mergers, and process improvements in various industries such as consumer goods, retail, education, telecom and services, and high tech. He is an expert in business process analysis, configuration, implementation, and change management.
Ashutosh Mutsaddi is a senior SAP solutions consultant and a certified project manager. He has 10 years of experience in the design and implementation of SAP solutions. During his career, he has been a consultant to several Fortune 100 companies in Europe, North America, and Asia. He has diverse experience spanning industries such as high tech, automotive, electrical, media, and retail. Proficient in process reengineering, business blueprinting, and system configuration and upgrade, he has worked on all major SAP versions, from 3.1I to ECC 6.0. Besides consulting, he also fills a variety of strategic and leadership roles. As a senior project manager, he manages large teams and delivers cutting-edge SAP solutions to customers worldwide.
Introduction
This book provides a deep, working understanding of the essential concepts and customization settings related to the SAP Sales and Distribution (SD) application. SD is one of the most popular modules of the SAP ERP software and indeed the most interesting one to implement.
Over the years, we have worked on a variety of projects ranging from global implementation, support, upgrades, acquisition and mergers, rollouts, and integration. We’ve had the opportunity to study the business requirements of different industries and the best practices in customizing SAP to meet different challenges. Our goal was to bring the knowledge that we acquired during those projects to you through this book.
Who Should Read This Book
As the title implies, this book is intended for people who want to learn how to configure the SAP Sales and Distribution application. Whether you are a beginner who wants to make career in SAP as a SAP SD consultant, a business analyst from the IT/IS extended team of your organization, a member of the project implementation team responsible for implementing SD, a production support team member responsible for supporting the Sales and Distribution module after implementation, an experienced consultant from another SAP module who wants to learn SAP SD, or an experienced SAP SD consultant who wants to learn what’s new in ECC 6 or how to handle some other functionality, you will find valuable information in this book related to customizing SAP SD.
If you are new to SAP, the learning curve can be steep. In this book, we tried to reduce that learning curve by providing easy-to-follow step-by-step instructions and case studies from a fictitious company called Galaxy Musical Instruments Inc.
How This Book Is Organized
You can use this book in several ways. The most straightforward way is to start at the beginning and proceed chapter by chapter. We have logically ordered the chapters according to the processes in a standard sales cycle. Each topic covers the prerequisite configurations before discussing how to configure a new submodule. We start with the basic concepts and travel all the way through to some very advanced configuration topics and techniques by the end of the book. If you already have configuration experience, you can skip around from chapter to chapter and follow the step-by-step instructions for a topic of interest in its individual chapter.
How Is This Book Different??t??
This book is different from others on the market in the following ways:
The book covers the functionality offered by SAP in the latest version: ECC 6.0.It provides an overview of enhancement packages, which are the SAP road maps for delivering innovations in the coming years.It illustrates all the concepts with a real-life case study that runs through all the chapters of the book. This provides a cohesive picture of how a real-life organization can leverage SD to meet its requirements.It contains important tips, useful notes, and helpful links to other resources, such as SAP Service Marketplace (OSS) notes, where applicable.What’s Inside
Here is a glance at what’s in each chapter:
Chapter 1: Introduction to Sales and Distribution Gives you a brief overview of the SAP SD application and familiarizes you with the bare-minimum basics that you need to know before you step up to the next chapters.
Chapter 2: Enterprise Structure Brings you to the customization world and provides easy-to-follow step-by-step instructions to help you set up your own SAP SD enterprise structure. To demonstrate the customization, we’ll set up the enterprise structure using the business requirement example from our fictitious company, Galaxy Musical Instruments.
Chapter 3: Master Data in SD Introduces you to master data setup. Master data plays a key role in the core operation of a business. It may include data about clients and customers, employees, suppliers, products, and so on. Chapter 3 will teach you about how to set up and customize the master data in SAP SD.
Chapter 4: Partner, Text, and Output Determination Takes your learning to the next level. You’ll learn about the role of partners, output, and text determination in the overall sales cycle, followed by how to customize the same to meet your business requirement.
Chapter 5: Pricing and Tax Determination Introduces you to the pricing and tax determination world. Here you’ll learn about various pricing elements and will configure them to determine the final price at which the sales transaction can take place.
Chapter 6: Availability Check, Transfer of Requirements, and Backorders Covers the available-to-promise functionality in detail. Promising accurate and reliable dates for delivery to your customers is a key element of the order fulfillment process in today’s competitive environment, and this chapter talks about all the things you need to know in order to customize your SAP SD application to provide this reliability.
Chapter 7: Sales Covers the customization and sales cycle flow for a variety of sales documents types that are available in standard SAP. You will learn about contracts, standard orders, third-party orders, debit/credit notes, consignments, warranty and maintenance contracts, quantity contracts, and so on.
Chapter 8: Shipping and Transportation Covers shipping- and transportation-related activities in detail. This chapter covers topics such as delivery documents, routing, picking, packing, transportation, transfer orders, and shipment documents.
Chapter 9: Billing Covers customer invoicing-related topics such as billing process, milestone billing, periodic billing, invoice lists, rebates, debit/credit notes, and payment card setup in SAP SD.
Chapter 10: Account Assignment and Revenue Recognition Covers GL account determination for account posting of the invoice document. We’ll also cover revenue recognition functionality in this chapter.
Chapter 11: Credit Management Covers credit management in SAP SD in detail.
Chapter 12: Material Determination, Listing, Exclusion, and Proposal Talks about various material-related functionalities in detail. This includes topic such as material determination, automatic product proposal, customer–material info records, and so on.
Chapter 13: Serial Numbers and Batch Management Covers the serial number and batch management topics in detail.
Chapter 14: Advanced Techniques Talks about various technical topics such as user exits, BAPI, EDI, IDOCS, and ABAP queries. This chapter also covers switch framework and enhancement packs in detail.
The appendix at the end of the book contains valuable information about transaction codes, database tables, and recommended web resources for further learning.
All through this book, we will use a case study of a fictitious company called Galaxy Musical Instruments; it’s a trading organization that deals in musical instruments as well as related media and accessories, with operations in the United States and Mexico. This end-to-end case study will ensure continuity and help you understand how an organization can put SD’s functionalities to use.
Here is the organization structure for Galaxy Musical Instruments.
Chapter 1: Introduction to Sales and Distribution
Welcome to the world of SAP Sales and Distribution!
In this chapter, we will start with the basics about the SAP ERP system. We will discuss the various application areas and how they are structured. You will see that there are different menus offered to end users (who have to run transactions) and administrators (who configure or set up the system). We will introduce some basic transactions that you will need to know before you proceed with the rest of the book.
Sales and Distribution (SD) is one of the most important application areas in the SAP ERP system. In this chapter, we will explain how a general sales cycle is carried out in SAP. We will also give you an idea of how this book is structured.
Introduction to SAP
SAP is one of the most popular enterprise resource planning (ERP) solutions in the world. It offers an integrated system that supports major business functions such as sales, production, and financial accounting. Over the years, SAP has been enhanced, and new versions have been released. The older SAP R/3 has now developed into the SAP ERP system on which we have based this book.
The latest version of SAP ERP at this time is ERP Central Component, Release 6.0, often referred to as ECC 6.0. It consists of several application components closely integrated with one another. SD is one of these application components.
When any organization looks to implement SAP ERP, it first studies its business processes and decides on the ones that are to be mapped in SAP. Based on this, it can select the application components that are relevant. For example, a manufacturing organization may require a different set of applications than a service provider or a trading company.
The Sales and Distribution application caters to the business processes associated with customer order fulfillment. SD has several components offering diverse functionality. For example, there are components for pricing (which control how prices and costs are determined in a sales transaction), availability check (that control how product stocks are allocated to orders from various customers), and credit management (that check the credit worthiness of the customer before a transaction is permitted). Again, you have to select which processes are applicable to you.
In an integrated system, each application has to mesh with other related applications to ensure continuity and consistency. This is one of the strong points of the SD application.
Next we’ll cover the first steps in accessing SAP. As we go through the application in this book, we will discuss each step in further detail.
First Steps in SAP
We’ll now discuss some of the basic menus, screens, and transactions that you need to know when you log on to SAP. As we go along, we will also discuss the various features and applications that appear on each screen and how they relate to each other. This will help you understand the concepts better.
Easy Access Menu
After you log on to SAP, the first screen that greets you is the SAP Easy Access menu (Figure 1-1).
Figure 1-1: SAP Easy Access menu
You can customize this menu based on your role in the organization. Specifically, you can arrange processes and transactions that you require for easy access and you can omit other transactions that you never use from the list.
Users can access transactions and run reports from this menu. However, they cannot carry out administrative functions from here. Those functions will be covered in the Customizing menu that we will discuss soon.
SAP ERP offers several business applications. As you can see, the major application areas in this menu are Accounting, Human Resources, and Logistics:
Accounting If you drill down this menu, you will find diverse applications listed. Some of them are for financial accounting/controlling (FI/CO), financial supply chain management, and Project Systems (PS).
Human Resources All the applications related to human resources management are grouped here. For example, you will find applications for personnel management, time management, payroll, and travel management.
Logistics All the applications related to logistics functions are contained in this menu. Materials Management (MM), Production (PP), and Plant Maintenance (PM) are some of the applications listed here. The focus of this book—Sales and Distribution—is an application that falls under the Logistics menu. Logistics Execution (LE) is another application that is relevant here, because it covers the product delivery processes.
The Customizing Menu
You can configure and customize the SAP system to meet the specific requirements of your organization. The Sales and Distribution module has been developed with several business processes and various industries in mind. Some of these processes may not be relevant to your business. On the other hand, there could be some specific requirements that you will need to map in SAP through configuration.
During configuration, you can carry out various settings that control the process setup, such as the following:
Activating or deactivating a certain process for your organizationConfiguring the look and feel of a transaction screen for a userControlling which fields on the screen can be accessed, changed, or displayedSetting up a smooth flow of data from one document to another to ensure consistency and avoid the duplication of manual effortYou can access the Customizing menu in SAP using the following path: SAP Easy Access Menu ⇒ Tools ⇒ Customizing ⇒ IMG ⇒ Execute Project (transaction code SPRO).
NOTE A transaction code is a shortcut to a specific transaction in SAP. The menu path described would also lead you to the same destination. Whenever a transaction code is available, we will mention it alongside the path. You will also find a list of important transaction codes in the appendix.
This transaction code leads you to the Display IMG screen, as shown in Figure 1-2. You will find a menu with the various applications listed. It is called SAP Customizing Implementation Guide (or IMG for short). All the customization-related steps will be launched from this menu. If you click any application, you will find another menu that leads you to various submodules. Based on the exact path listed in the book, you can reach the specific transaction in the menu where the customization setting is to be carried out.
Figure 1-2: Customization menu
In this book, we also refer to the Display IMG screen as the Customizing menu or just IMG while explaining menu paths.
The focus of this book is the Sales and Distribution application. However, to complete the configuration steps, we will also touch upon some of the other topics, listed in IMG, under the nodes:
Enterprise StructureLogistics – GeneralLogistics ExecutionIn this book, we cover all the important settings that an SD expert should know. However, in an integrated system, a business process usually spans more than one application. You will need to work with experts in other areas (such as MM, FI/CO, WM, and so on) to complete the end-to-end process setup.
The Basic Sales Cycle
We’ll now discuss the basic set of transactions that are most important in the SD area. The term sales cycle refers to the creation of a sales order document followed by delivery and a billing document. As we go along, we will tell you the transaction codes at each step. We will also point out how this book is structured to help you understand each area and functionality in the sales cycle.
Create a Sales Order
To create a sales order, follow the menu path SAP Menu ⇒ Logistics ⇒ Sales And Distribution ⇒ Sales ⇒ Order ⇒ Create (VA01). Again, note that the transaction code mentioned in parentheses after the path will lead you to the same screen.
Figure 1-3 shows the sales order creation screen. Before you create a sales order, you must enter the organizational data such as sales organization, distribution channel, division, sales office, and sales group. This maps the organizational entities in your company.
To learn about how to set up the organizational structure in SAP, refer to Chapter 2, “Enterprise Structure.” That chapter will explain how to configure SAP so the organizational entities are created and assigned to one another.
You must also specify the type of order document being created. After entering this information, you can proceed to the next screen, the Overview screen (Figure 1-4).
Figure 1-3: Creating a sales order
Figure 1-4: Create Standard Order: Overview screen
The sales document consists of header, item, and schedule line data. At the header level, you specify the details that are applicable to the entire document, such as the customer number (sold-to party) and the purchase order reference number. At the item level, you enter the products ordered. Details such as the material number, quantity, and item price, and so on, will be different on each line. The schedule line data pertains to delivery-related details such as delivery dates and delivery quantities.
You’ll use master data at every step of the transaction. Data about your regular customers or the products and services offered are examples of master data. You have to maintain the repository of master data before using it in transactions. To learn more about master data setup, refer to Chapter 3, “Master Data in SD.”
From the overview screen of a sales order, you can branch out to different screens to get into various aspects of the process such as pricing and availability dates. To navigate between screens, you can click the tabs that appear on the page. An alternative way is to use the Goto menu at the top of the screen. It lists all the detail tabs at the header and item levels.
For example, if you want to know all the partner functions associated with the sales transaction, you can select Goto ⇒ Header ⇒ Partner. As shown in Figure 1-5, this tab lists all the partners such as the sold-to party, ship-to party, bill-to party, and payer for this order. If you have different partners at each line item level, you can specify them on the Partners tab (which you can reach by selecting Goto ⇒ Item ⇒ Partner).
Figure 1-5: Sales order: Header Data, Partners tab
Another screen is the Texts tab, which appears at the header and item levels. The menu path is either Goto ⇒ Header ⇒ Text or Goto ⇒ Item ⇒ Text. Here you store all the text messages and instructions (as shown in Figure 1-6) that you want to flow with the order.
Figure 1-6: Sales order: Header Data, Texts tab
You can customize the setup for partners, texts, and outputs as per your requirements.
In partner determination, you can control which partner functions are of importance to you and make them mandatory. Text determination helps you set up how the texts are copied from one document to another. Output determination lets you customize the outputs from sales documents and transmit them to the business partners. For example, you can use it to send out a copy of an order confirmation document to the customer in print or by email or EDI.
Chapter 4, “Partner, Text, and Output Determination,” will discuss how to maintain settings related to partners, outputs, and texts.
One of the most important parts of a sales transaction is the price that the customer has to pay. The price can be entered manually in the sales order. However, if your product prices are going to be stable for certain duration, you can maintain price records and set up automatic price determination to avoid manual entry.
To see how the exact price has been computed for a sales item, select Goto ⇒ Item ⇒ Conditions. As shown in Figure 1-7, the pricing schema gives you the details of the various pricing conditions in it. Pricing conditions are things such as base prices, discounts, freight conditions, or taxes. Certain pricing conditions can apply to the entire order (such as total freight charges). These are listed in the Header conditions tab.
To learn how to customize pricing, visit Chapter 5, “Pricing and Tax Determination.”
Figure 1-7: Sales order: Item Data, Conditions tab
Availability check controls how product availability is checked and the date on which you can commit the delivery to the customer. As shown in Figure 1-8, as soon as you enter a material in the sales order, the system can be configured to carry out an availability check and display the earliest date on which this product can be delivered.
In a sales order, you can always check the schedule lines by selecting Goto ⇒ Item ⇒ Schedule Lines. As shown in Figure 1-9, you can check the dates on which the quantity can be confirmed.
Chapter 6, “Availability Check, Transfer of Requirements, and Backorders,” will cover this topic in greater detail.
Figure 1-8: Availability Control
Figure 1-9: Sales order: Schedule Lines tab
We have now covered some of the major screens in a sales order. Other sales documents may also need to be configured to meet different business processes. For example, you may have separate sales documents for returns or for presales such as inquiries and quotations.
Chapter 7, “Sales,” will discuss the setup of sales documents for various business scenarios.
Creating a Delivery
To create a delivery, use the menu path SAP Menu ⇒ Logistics ⇒ Logistics Execution ⇒ Outbound Process ⇒ Goods Issue For Outbound Delivery ⇒ Outbound Delivery ⇒ Create ⇒ Single Document ⇒ With Reference to Sales Order (VL01N).
On this screen, you specify the shipping point (which is another organizational unit related to your plant), as shown in Figure 1-10.
Figure 1-10: Creating an outbound delivery
On the delivery overview screen, the relevant data has been copied over from the reference sales order. Product details and delivery quantity are the key fields here (refer to Figure 1-11).
From this step onward, the logistics processes of picking, packing, transportation planning and execution, and goods issue are carried out. The process extends all the way up to the goods leaving your premises and traveling to the customer’s location.
The process is so vast that it has been placed under a separate application named Logistics Execution. In the customization menu, you have to refer to this node to maintain settings for deliveries.
To study the process in detail, refer to Chapter 8, “Shipping and Transportation.”
Figure 1-11: Delivery Overview screen
Creating a Billing Document
The last step in the sales cycle is to bill the customer for the goods delivered or the service rendered. To create a billing document, the path is as follows: SAP Menu ⇒ Logistics ⇒ Sales And Distribution ⇒ Billing ⇒ Billing Document ⇒ Create (VF01).
A billing document is created with reference to either a sales order or a delivery. A correction document such as a credit or debit note can also be set up from this transaction. Enter the documents that are to be billed, and click Execute (Figure 1-12).
Figure 1-12: Creating a Billing Document
Again, you will observe that all the critical data is copied over from the reference document.
We mentioned the areas of pricing, outputs, and text in the context of sales documents. These also appear in the subsequent documents such as deliveries and billing documents. Chapter 9, “Billing,” focuses exclusively on billing documents.
After a billing document is created, it is released to accounting. This updates all the relevant general ledger accounts with the transaction amounts. This is the interface between SAP’s SD and FI/CO applications.
Some organizations require that billing the customer and updating the revenue books should occur at different times. The revenue recognition functionality helps you meet these requirements.
The settings for account assignment and revenue recognition are carried out within the SD module. Hence, it is important to know how they are controlled and determined. Chapter 10, “Account Assignment and Revenue Recognition,” will help provide this perspective.
Credit management, material determination, serial numbers, and batch management are some of the other topics that are covered in Chapters 11 to 13.
The final chapter in this book is Chapter 14, “Advanced Techniques.” It covers some of the more sophisticated tools and techniques offered by SAP.
This outline of a simple sales cycle should help you perceive the overall structure of the book. The actual processes can be very complex and diverse. In each chapter, we will cover the complex variations as well.
Getting Help
At this stage, we’ll discuss the resources available to you if you are in the middle of a transaction and need to know more about any of the fields appearing on the screen.
From the transaction screen, you can get further details about a field by pressing the F1 key (the shortcut key for accessing Help) or by clicking the Help icon .
For example, in the sales order create transaction (VA01), if you need further information about the Net Worth field, you can access Help. As shown in Figure 1-13, the Help screen gives you more information about the field. In some cases, it also provides further links to learn more about some related important terms.
Figure 1-13: Using Help
Clicking the Technical Information button at the bottom of the Help screen gives you more technical data about this field, such as the table name (VBAK) and field name (NETWR) where the data in this field is stored. We will discuss the technical topics such as database tables in the next section of this chapter.
SAP Help is also available on the Web at http://help.sap.com.
SAP also releases notes on its Online Service Marketplace website at https://support.sap.com/support. You will need login information from SAP to access this website. In this book, we have provided reference to such notes (also called OSS notes) where applicable.
Database Tables
During the discussion on sales cycle, you saw several transaction screens. Users access and enter data in the system using transaction codes. In the background, all this data is stored in database tables. As you learn more about configuration, it will be very helpful to understand and know how to access records from the database tables.
The first step is to know the important table names—at least the names of the tables commonly used in the SD application. Table 1-1 lists some of the most important tables. Once again, for convenience of understanding, we have tried to arrange them according to the transactions in the basic sales cycle. The appendix contains a list of all the important tables related to SD.
At this stage, do not try to remember the table names. It is more important to understand the concepts. As you progress further, however, you should make yourself familiar with these names.
Table 1-1: Database Tables in SD
Transaction Table Name Description Sales orders VBAK Order header VBAP Order item VBEP Order schedule lines Delivery LIKP Delivery header LIPS Delivery item Billing VBRK Billing header VBRP Billing item General process information VBFA Document flow VBUK Header status VBUP Item statusWe’ll now discuss how to access database records and explore the structure of a table.
Data Browser
The data browser allows you to search database tables and fetch stored records. To access the data browser, use the path SAP Menu ⇒ Tools ⇒ ABAP Workbench ⇒ Overview ⇒ Data Browser (SE16), and enter the name of the table that you want to study.
The next screen contains selection parameters that can help you search for appropriate database records. Figure 1-14 shows the selection screen for order header table VBAK. If you know the sales order number, you can enter it in the Sales Document field on the selection screen. If, on the other hand, you do not know the order number, you can carry out a search based on any of the parameters listed. For example, you may want to find all the sales orders created on a specific date.
Figure 1-14: Data Browser: Selection Screen
After entering the selection criteria, click the Execute button .
SAP will fetch the database record and display it on the screen. The details of the record (in our example, order details such as order type, sales organization, distribution channel, division, net value, and so on) will appear as shown in Figure 1-15.
Also note the Number Of Entries button on the selection screen. If you want to know how many records fit the selection criteria, click this button. It will give you the number of records found.
Another important field that controls the database search is Maximum Number Of Hits. If you enter a limiting value (say, 200) here, SAP will stop the search after finding the first 200 records. If the number of entries is high and you want to see all of them, make sure that your maximum number of hits is set to a higher number.
Figure 1-15: Data Browser: record display
On the selection screen, you can change or add more selection parameters if the standard list does not meet your requirements. From the menu on the top of the screen, select Settings ⇒ Fields For Selection. Then, from the list of fields, select the ones you need to be displayed as selection criteria.
You can use Settings ⇒ User Parameters to control the display (Figure 1-16). This lets you choose to view the results in a standard list format or an ALV grid format. Also note the Keyword tab. Each field in the database table has a field label (a meaningful description) and a field name (a technical name). You can choose either mode of display.
To understand the difference between a field label and a field name, compare Figure 1-15 with Figure 1-17. They both show records from table VBAK for the sales order 12369. In Figure 1-15, you can see field labels such as Net Worth (the value is 1708.10). In Figure 1-17, you see the field name NETWR. This is the technical name for the net worth. The contents of the field are the same in both views.
Figure 1-16: User-Specific Settings for the Data Browser
Figure 1-17: Data Browser: display showing field names
You will need to be familiar with field names to communicate effectively with your technical team. Furthermore, as we will discuss in Chapter 14, if you ever need to create a custom enhancement in SAP, you will need all the technical information, such as table and field names.
TIP Note that there is new version of the standard data browser (SE16), called SE16N. It offers the same functionality of displaying database records, but it has some extra user-friendly features. As shown here, SE16N lets you see the field names and the technical names of the selection parameters. You can also choose the fields that you need in the output display.
ABAP Dictionary
While we are on the subject of tables and fields, we’ll talk about another transaction code that you should know about. It is technical in nature, but it will help you understand the underlying structure of the tables we discussed earlier.
To access this transaction, the path is as follows: SAP Menu ⇒ Tools ⇒ ABAP Workbench ⇒ Development ⇒ ABAP Dictionary (SE11).
Figure 1-18 shows the Dictionary: Display Table view for VBAK. As shown, it includes the details such as field names, data elements, data type, length of field, and other technical attributes.
Figure 1-18: Dictionary: Display Table view
Managing Customization Changes
Whenever you enter the Customizing menu and carry out any change in the system, the system tracks this change and records it. Every change has an impact on the way the system works. Hence, it is very important to understand the basic system landscape and the process of managing and transporting changes.
The System Landscape
The system landscape is the arrangement of the various servers. A generic system landscape consists of a production system (the one in which all the operations of the organization are carried out) plus other systems such as development and quality assurance systems. Although our focus is on the configuration of the SD application in this book, it is very important to understand the system landscape.
Figure 1-19 represents a typical SAP system landscape, consisting of a development system (DEV), quality assurance system (QAS), and production system (PRD). When any change is made during customization, it is essential to test it rigorously before it can be implemented in the production environment. To achieve this, you first make changes in the development system. At this stage, there is no impact on the production system at all. You can test the impact of the change locally and then choose to move it to the next level of testing in the quality assurance system.
This system usually has a large amount of test data. Often, it is a recent copy of the production environment so that the change can be tested in a real-life environment. It is also important to identify the system users who would be affected by this change and train them accordingly in this simulated environment.
Once the testing is complete, the change can move into production. Once this happens, the change is said to have “gone live.”
Many organizations also have another system called a sandbox. It is an isolated system where you can carry out preliminary analysis and test new functionality and solution prototypes. Changes made in the sandbox never move to other systems in the landscape.
It is very important to record all the details of any change being made in SAP and transport it in steps through the system landscape. In the next section, we will cover the concept of transport request, which will help you understand how changes are recorded and tracked.
Transport Request
To capture the details of the change and manage its migration to production, SAP uses the concept of a transport request. When you make any changes to the Customizing menu, you will be required to create or choose a transport request number (Figure 1-20).
Figure 1-19: System landscape example
Figure 1-20: Transport request number
The data related to the change is stored in the transport request. This helps in controlling and tracking the change. The transport request can be moved from one system to another so that the same change is carried out in other systems. Changes made in the customizing domain are captured in a separate class of transport requests called customizing requests. Changes to ABAP programs are stored in workbench requests.
As shown in Figure 1-21, you can drill down a transport request number to see the customizing tasks that you have performed and the tables that have been affected by the change.
Figure 1-21: Transport request details
Case Study Overview: Galaxy Musical Instruments
Throughout this book, we will use a case study of a fictitious company, called Galaxy Musical Instruments, which is a trading company that deals in musical instruments as well as related media and accessories.
Galaxy has operations in the United States and Mexico. Its main distribution center, located in California, caters to its wholesale and retail customers in the United States. Another plant in Baja California, Mexico, caters to all the customers there. In each chapter of this book, we will discuss how Galaxy uses SAP’s SD application to map its business processes, and we will use graphics to depict how the settings were made.
We will consistently use the same product range, customers, and organizational units. This will help us present a cohesive picture and give you an idea of how an actual organization can use the SD application to map its business processes.
For instance, in Chapter 3, we will present Galaxy’s master data requirements and how they were mapped in the system, including how the customer master data and hierarchical relationships were set up. Later, in Chapter 5, we will cover how the pricing procedure was set up for this customer. Later, in Chapter 8, we will cover how Galaxy set up routes to ship the products to the customer.
This end-to-end case study will ensure continuity and help you understand how to apply the functionalities in SD.
Once you have tested the change and are ready to move the changes to the quality assurance system, you have to release the transport request. Based on the process setup (which is not in our scope here), the change will be picked up for promotion to the next system. If you have transported the change to the quality assurance or production system and it is having an undesirable effect on the processes, you can reverse it at any time. This ensures that the production system remains safe from unwanted changes.
A useful transaction for checking and updating transport requests is SE10. The menu path is SAP Menu ⇒ Tools ⇒ Customizing ⇒ IMG ⇒ Transport Organizer (Extended View). As shown in Figure 1-22, you can enter the user ID and check all the transport requests created by that user. This transaction is also used to release the transport requests that are ready to be moved to other systems.
Figure 1-22: Transport Organizer screen
Summary
This chapter offered an overview of the SAP ERP system and the various applications contained in it. We covered the basic menu used to access transactions and the Customizing menu used to configure the system.
We also covered the basic sales cycle in SAP and other important transaction codes that will be needed throughout the SD application area.
We also touched upon the many functionalities in SD that will be covered in depth in the subsequent chapters of this book.
Thus, this chapter was a launching pad to start your journey in SAP SD. Good luck!
Chapter 2: Enterprise Structure
Enterprise structure in SAP’s SD application represents the organizational structure within the business entity that is selling and distributing goods and services. To help you map this organizational structure into the SAP ERP software, SAP offers a set of building blocks. In this chapter, we will discuss these building blocks and show how to arrange them to set up the SD enterprise structure.
Overview
The SD enterprise structure in SAP ERP represents the structure of the sales and distribution entity of an organization. To map this structure into the SAP ERP software, you use various building blocks provided by SAP. You use a sales organization to replicate the selling entity into the SAP system; distribution channels to represent various channels being used by the enterprise to distribute goods to market; divisions to represent various product divisions that exist in the organization; sales areas to define the relationship among selling entity, channels of distribution, and product divisions; sales offices, sales groups, and sales districts to represent the geographical locations; and sales employee masters (from SAP HR application) to denote sales employees and their positions in the hierarchical sales reporting structure. The organizational element for setting up a plant and the plant assignments to other organizational elements such as storage location, shipping/receiving point, and loading point, helps you set up the distribution structure. This structure defines where and how the goods will be stored and how they will be shipped to the customers. Both the sales organization and the plant are assigned to the company code so that the accounting entries resulting from the sale of goods and services, as well as those resulting from the material movements in the plant, are posted to accounting. Finally, the plant is assigned to the combination of the sales organization and the distribution channel, allowing the sales organization to use the assigned plant structure when distributing goods and services to the customers and completing the typical enterprise structure setup in SAP SD application.
Enterprise structure in SAP SD does not exist in isolation. It has dependencies with enterprise structures from other modules too. Dependencies with financial accounting and materials management enterprise structure is of vital importance because it impacts the use of materials in the SD application as well as the accounting posting of the sales transactions. Therefore, before you set up your SD structure, you should work with an SAP FICO consultant to make sure that the company code, chart of accounts, fiscal year, and other enterprise structure customizations related to the financial accounting application of SAP ERP are already set up. A company code represents your organization’s legal entity, a chart of accounts represents the ledger accounts that you will use to post the sales transaction into accounting, and a fiscal year represents the financial reporting year for your company code. The bare minimum setup you need before you can start setting up the SD enterprise structure is the company code and fiscal year.
Setting up an enterprise structure is the foundation of your SAP implementation. It is therefore essential that you carefully analyze the structure of your client’s organization before you map it into the SAP ERP software. You need to understand how your selling entity is structured and how it operates by considering whether it is centralized or decentralized; what products the sales entity deals in; how the sales are made (directly or via partners); what the various methods of distribution of goods to the customers are; how many plants/distribution centers there are and what geographical locations they belong to; the structure of the sales team; the geographical locations (how many regions, territories, sales offices, and branch offices there are); and what kind of internal reports, MIS reports, and external reports (if any) are generated. It is a good practice to analyze the enterprise’s business requirements and draw a blueprint of the enterprise structure on paper before applying it to the SAP system.
TIP A good structural design will accommodate the company’s current needs and at the same time be flexible enough for the future. A good structural design will always yield better results in terms of operational control, reporting analysis, and smooth processing of the business transactions in the SAP ERP software.
Setting Up the Enterprise Structure
Setting up an enterprise structure entails two types of activity. You start with the definition activity and complete the setup with the assignment activity. Figure 2-1 represents the implementation guide (IMG) for SAP customizing, showing the definition and assignment activities menu path for setting up the enterprise structure in SAP ERP. Each of these activities is further divided into various application areas such as materials management (MM), logistics execution (LE), and financial accounting (FICO), to name a few. To set up an SD enterprise structure, we need to first define the SD structural elements in the definition activity for SD. We then need to assign these elements to each other to form an enterprise structure using the assignment activity. Let’s start with the creation of a sales organization.
Figure 2-1: IMG menu path to maintain enterprise structure
Setting Up the Sales Organization
The first step in setting up a sales structure in SAP is to set up a sales organization. A sales organization in SAP represents the selling entity of your client’s organization. It is the highest level in the SD enterprise structure and the one to which all the other building blocks are assigned. A sales organization has its own master data. All sales-related transactions are executed within the framework of a sales organization. When you create a customer master or a material master, you must provide the sales organization for which you are creating this master data. You must even enter a sales organization while creating the sales order document in SAP. (Refer to Figure 1-3 from Chapter 1, “Introduction to Sales and Distribution,” which shows sales organization 9090 on the order entry screen.) During processing of the sales cycle, the sales organization information gets copied over from order to delivery to billing and also helps you determine the company code while posting the sales transaction to accounting.
It is always advisable to keep the number of sales organizations to a minimum. You should only create multiple sales organizations when two or more selling entities operate on a totally different basis or when there is a legal requirement to have multiple sales organizations. For example, an organization running sales operations from multiple countries may end up having one sales organization for each country where it operates. Each of these sales organizations will then be assigned to the company codes that were set up for those countries.
Defining a Sales Organization
To create your own sales organization, use transaction code OVX5 or follow menu path IMG ⇒ Enterprise Structure ⇒ Definition ⇒ Sales And Distribution. Click the Execute button next to Define, Copy, Delete, Check Sales Organization. Following the Menu Path, you will be presented with the Choose Activity screen, as shown in Figure 2-2, providing you with the following two methods to define your own sales organization.
Figure 2-2: Choose Activity screen for defining a sales organization
Define Sales Organization Make this selection when you want to set up a new sales organization without copying it from any existing ones. You will have to manually enter all the required information to define your own sales organization.
Copy, Delete, Check Sales Organization Select this when you want to set up your sales organization by copying it from an existing sales organization. With this copy option, you can copy the complete sales organization structure from the source sales organization to the target sales organization. This is really useful in scenarios where the source sales organization structure closely resembles the target sales organization structure. You can also use this option to check and delete an existing sales organization structure. We will cover this method in detail when we set up our Mexican sales organization (9091) for Galaxy Musical Instruments.
We’ll define our first sales organization, “Galaxy Musical Instruments US (9090),” using Define Sales Organization option.
Select Define Sales Organization, and click the Choose button at the bottom of the screen in Figure 2-2. You now should see the sales organization configuration screen, as shown in Figure 2-3.
Figure 2-3: Overview screen for defining a sales organization
Here again, you are provided with the option to either create your own sales organization by using the New Entries button or by using the Copy button . Using the New Entries button provides you with a blank form where you fill in all the relevant details such as the name, address, and so on, for your sales organization. Using the Copy button will open a prefilled form with the name, address, and other information copied from the source sales organization. Depending upon your needs, you can completely or partially replace the information provided via the copy option and save your entry to create your sales organization. Let’s use the Copy button in Figure 2-3 to create our first sales organization.
Now select the source, sales organization 1000, and click the Copy button . You will be presented with a screen like that shown in Figure 2-4 but with the values from sales organization 1000. Replace the data on the screen with what you want to maintain for your sales organization. We changed the values in Figure 2-4 to represent the Galaxy Musical Instruments USA sales organization (9090).
NOTE Please note that the functionalities associated with the copy options in Figures 2-2 and 2-3 are very different. The copy option in Figure 2-2 will copy the complete sales organization structure along with all the assignments that were made to the source sales organization, whereas the one in Figure 2-3 will copy over only basic sales organization data such as the name, description, and address from the source to the target sales organization.
Figure 2-4: Defining the sales organization, Details screen
The following are the fields shown in Figure 2-4:
Sales Organization Here you provide a four-character identifier and a description for your sales organization. This field is alphanumeric, which means that you can define the identifier key with only numbers, only alphabets or with a combination of numbers and alphabets.
Statistics Currency Here you set the default statistical currency for your sales organization. When you generate sales statistics, the system uses this currency to report the statistics. Because it is a default, this currency can be overwritten during statistical reporting.
Content for form text modules Address Text Name, Letter Header Text, Footer Lines Text, Greeting Text Name, and Text SDS Sender are five fields available in sales organization customization where you assign the text modules that carry information to be printed on the various outputs such as invoices, order confirmations and so on. (See the left column of Figure 2-4.) You first create and maintain the text module using transaction code SO10 and then assign the text modules to their respective positions in the sales organization customization screen as shown in Figure 2-4. Here text module Z_ADRS_SENDER stores the sales organization address, Z_ADRS_HEADER store the logo, Z_ADRS_FOOTER stores the footer lines and Z_ADRS_SIGNATURE stores the electronic signature for sales organization 9090. Always create your own text modules with a prefix Y or Z. This way your text modules will not be overwritten by SAP when you apply some software patches or perform a release upgrade on your SAP system.
RefSorg SalesDoc Type This field sets up a reference between two sales organizations that share a common sales document type assignment. If you created your sales organization by copying from an existing sales organization, this field will automatically get populated with the source sales organization number from which you copied. Refer “Sales Document Type per Sales Area” section in Chapter, 7 “Sales,” for more details on how to use this field.
Cust. Inter-co. Bill. Here you enter the intercompany customer number for your sales organization. We will discuss intercompany billing process and customization in Chapter 9, “Billing.”
Sales Org. Calendar Here you enter the factory calendar for your sales organization. A factory calendar in SAP SD defines the working and nonworking days for your plant/factory/country setup and controls the shipping and billing activities. We’ll discuss the customization of the factory calendar in the “Setting Up a Factory Calendar” section later in this chapter.
Rebate Proc. Active Activating a rebate at the sales organization level is one of the prerequisites for rebate processing in SAP. Select this checkbox when you want to activate rebate processing for your sales organization. We’ll discuss rebate processing in detail in Chapter 9.
Once you are done entering the values you want for your sales organization, click the check mark button . This check mark button acts like the Enter key on your keyboard. Once clicked, SAP will automatically open the address data screen (Figure 2-5) for you to maintain the address details for your sales organization. Enter the address data, and save your entry by clicking the Save button . Congratulations! You have successfully defined your first sales organization.
TIP Notice the button on the screen now. This is the Address button. You can click this button to call up the address screen again for making any changes.
Figure 2-5: Address maintenance screen for a sales organization
Defining a Sales Organization Using the Copy Method
In the previous section, we showed how to define a sales organization by using the Define Sales Organization option on the Choose Activity screen (shown earlier in Figure 2-2). In this section, we will cover the Copy, Delete, Check Sales Organization option to set up the sales organization. Remember that with this copy option, not just the address data but also the assignments that exist for the source sales organization are copied over to the target sales organization. This includes a distribution channel assignment to a sales organization, a division assignment to a sales organization, plants to sales organizations, and even sales document types to the sales organization. In other words, this copy option copies over the entire sales organization structure from the source sales organization to the target sales organization. Once you have defined the sales organization using this option, you will need to select the first option on the Choose Activity screen—Define Sales Organization—to make changes to the address and other details for your sales organization definition. You can also use the Copy, Delete, Check Sales Organization option to delete or check an existing sales organization structure.
