Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Notes on Usage and on the Screen Presentation
Table of Contents
Dear Reader
Preface
About This Book
Who Benefits from This Book
System Prerequisites
Fictional Project
The Byrell Corporation
Sean, Senior SD Consultant
Christine, Junior ABAP Developer
Acknowledgments
1 Introduction to Enhancements in Sales and Distribution
1.1 Enhancing Standard SD Functionality
1.1.1 Exits
1.1.2 Projects
1.2 Customer Routines
1.3 The Enhancement and Switch Framework
1.3.1 Explicit Enhancements
1.3.2 Implicit Enhancements
1.3.3 The Switch Framework
1.4 Comparison of Enhancement Methods
1.5 Summary
PART I Enhancements in Sales Order Processing
2 Validating Sales Order Data
2.1 Business Scenario
2.2 Finding the Right Enhancement
2.3 Implementing the Solution
2.3.1 Create a New Database Z Table
2.3.2 Generate Table Maintenance
2.3.3 Create Parameter Transaction
2.3.4 Creating an Enhancement Point Implementation
2.3.5 Implementing an Implicit Enhancement
2.3.6 Coding the User Exit
2.4 Summary
3 Capturing and Saving Additional Data Fields in Sales Order Processing
3.1 Business Scenario
3.2 Finding the Right Enhancement
3.2.1 Using the Additional Data B Tab
3.2.2 Using Implicit Enhancements
3.2.3 Using Persistent Objects
3.2.4 USEREXIT_SAVE_DOCUMENT
3.3 Implementing the Solution
3.3.1 Declarations of Data Elements, Database Tables, and Table Types
3.3.2 Create Persistency Classes for Survey Data
3.3.3 Create Database Table Lock Entries
3.3.4 Creating Modification and Implicit Enhancements for a Custom Screen
3.3.5 Create the Implicit Enhancement for PBO Modules
3.3.6 Create the Implicit Enhancement for Module PAI
3.3.7 Adding Layout Changes to Screen 8309 of SAPMV45A
3.4 Summary
4 Creating an SAP CRM Activity after SD Order Billing
4.1 Business Scenario
4.2 Finding the Right Enhancement
4.3 Communication between SAP Systems via RFC
4.3.1 ABAP-to-ABAP Communications
4.3.2 Setting Up RFC Connections
4.4 Implementing the Solution
4.4.1 Creating a New Function Group in the SAP CRM System
4.4.2 Creating an RFC Function Module in the SAP CRM System
4.4.3 Specify Function Module Parameters
4.4.4 Implement ABAP Logic to Create an Activity in SAP CRM
4.4.5 Create the Enhancement Point Implementation in Function Module RV_INVOICE_REFRESH
4.5 Summary
5 Filtering Pricing Data within a Web Service
5.1 Background on SOA and Enterprise Services
5.1.1 Service-Oriented Architectures
5.1.2 Characteristics and Goals of SOA
5.1.3 Enterprise Services and Web Services
5.1.4 Finding Enterprise Services
5.2 Business Scenario
5.3 Finding the Right Enhancement
5.4 Implementing the Solution
5.4.1 Locate the Web Service using Transaction SE80
5.4.2 Locate a Provider Class for the Web Service
5.4.3 Locate and Implement the Outbound BAdI
5.4.4 Find the Correct Outbound Parameter in the BAdI Signature
5.4.5 Implement ABAP Coding
5.4.6 Testing the Enhanced Service
5.5 Summary
6 Using a Custom Field in SD Pricing
6.1 Business Scenario
6.2 Finding the Right Enhancement
6.3 Implementing the Solution
6.3.1 Creating a New Customer Field for Table VBAK
6.3.2 Adding a New Field to Pricing Communication Structure KOMK
6.3.3 Creating a New Condition Table
6.3.4 Maintaining USEREXIT_PRICING_PREPARE_TKOMK
6.3.5 Maintaining the Access Sequence
6.3.6 Defining a New Condition Type
6.3.7 Maintaining Condition Rates in Transaction VK11
6.4 Summary
PART II Enhancements in Delivery Processing
7 Setting a Delivery Block on the Header Level
7.1 Business Scenario
7.2 Finding the Right Enhancement
7.3 Implementing the Solution
7.3.1 Locating the BAdI
7.3.2 Creating a BAdI Implementation
7.3.3 Adding Code to the Implementation
7.4 Summary
8 Using a BAdI to Keep Track of Delivery KPIs
8.1 Business Scenario
8.1.1 Current KPI Solution
8.1.2 To-Be Process for KPI Reporting
8.2 Finding the Right Enhancement
8.3 Implementing the Solution
8.3.1 Custom KPI Field Table Layouts
8.3.2 Define Custom Table ZKPI_FIELDS
8.3.3 Generating a Table Maintenance for ZKPI_FIELDS
8.3.4 Define Custom Table ZKPI_DATA
8.3.5 Implement ABAP Coding in Method SAVE_AND_PUBLISH_DOCUMENT
8.4 Summary
9 Using a Customer Exit to Enhance the Outbound Delivery Monitor
9.1 Business Scenario
9.2 Finding the Right Enhancement
9.3 Implementing the Solution
9.3.1 Implement the Customer Exit Routine
9.3.2 Add New Field Entries to Append Structure LIPOVZ
9.3.3 Add Coding to Derive KPI Data and Calculate Delivery Age
9.3.4 Testing the Enhanced Delivery Monitor
9.4 Summary
PART III Enhancements in Billing
10 Invoice Splitting Using a VOFM Routine
10.1 Business Scenario
10.2 Finding the Right Enhancement
10.2.1 Understanding the Invoice Split
10.2.2 Finding Exits or Enhancements
10.2.3 Transfer Routines
10.3 Implementing the Solution
10.3.1 Copy the Existing VOFM Routine
10.3.2 Create an Implicit Enhancement within the Data Transfer Routine
10.3.3 Add Custom ABAP Coding
10.3.4 Apply Routine to Copy Control
10.4 Summary
11 Changing Invoice Reference and Numbering Range during Document Creation
11.1 Business Scenario
11.2 Finding the Right Enhancement
11.3 Implementing the Solution
11.3.1 Define New Numbering Ranges
11.3.2 Define the Cross-Reference Table
11.3.3 Implement Implicit Enhancements in RV60AFZC
11.3.4 Add Coding to Establish Delivery Type
11.3.5 Implement an Implicit Enhancement in RV60AFZZ
11.3.6 Add Coding to Amend the Numbering Range
11.4 Summary
PART IV Conclusion
12 Finding the Right Enhancement Technique
12.1 Techniques Used and How the Solution Was Found
12.2 Solution Search Categories
12.3 Key Aspects When Implementing Enhancements
12.4 There is No “Silver Bullet”
13 Future Outlook
A Exits and BAdIs in Sales and Distribution
A.1 Sales Orders
A.2 Deliveries
A.3 Invoicing
A.4 Transport Documents
A.5 Shipment Costs
B Code Listing for Class ZCL_SURVEY
C The Author
Index
Service Pages
Legal Notes
← Prev
Back
Next →
← Prev
Back
Next →