... Preface ... 21
... History of the Pricing and Condition Technique ... 21
... How Will This Book Help You? ... 22
... Structure of the Book ... 22
... Target Audience ... 23
... Naming Conventions ... 24
... Note on the Examples in This Book ... 24
PART I ... Foundations ... 25
1 ... Application Areas and Elements of the Condition Technique ... 27
1.1 ... Condition Records ... 27
1.2 ... Application Areas (Using Condition Tables) ... 29
1.3 ... Selected Application Areas (Usages) ... 30
1.4 ... Applications of the Condition Technique ... 33
1.5 ... Elements of the Condition Technique ... 36
1.6 ... Field Catalog and Communication Structures ... 37
1.7 ... Condition Tables ... 39
1.8 ... Access Sequences ... 41
1.9 ... Condition Types ... 51
1.10 ... Condition Master Data ... 51
1.11 ... Determination Procedures ... 56
1.12 ... Determination Analysis ... 57
1.13 ... Requirements ... 58
1.14 ... The Complete Process at a Glance ... 59
1.15 ... Summary ... 60
2 ... Pricing Condition Master Data ... 61
2.1 ... Condition Maintenance via Condition Type ... 61
2.2 ... Condition Maintenance via the Area Menu ... 66
2.3 ... Condition Maintenance via Index ... 70
2.4 ... Agreements ... 71
2.5 ... Price Agreements ... 74
2.6 ... Summary ... 74
3 ... Pricing Reports and Price Lists ... 75
3.1 ... Pricing Reports ... 75
3.2 ... Condition Information ... 81
3.3 ... Net Price List ... 84
3.4 ... Sales Price – Retrieve API ... 85
3.5 ... Price List ... 86
3.6 ... Summary ... 111
PART II ... Standard Configuration ... 113
4 ... Pricing Configuration ... 115
4.1 ... Implementation of an Initial Customer-Specific Scenario ... 115
4.2 ... Elements of Pricing in Detail ... 129
4.3 ... Customer-Specific Adaptations and Customer Namespaces ... 158
4.4 ... Example of the Implementation of Complex Pricing Scenarios ... 161
4.5 ... Configurable Parameters and Formulas ... 163
4.6 ... Interface to Profitability Analysis ... 186
4.7 ... Summary ... 187
5 ... Working with Condition Records ... 189
5.1 ... Release Status ... 189
5.2 ... Mass Change/Mass Creation with Template ... 192
5.3 ... Price Master Data Maintenance Apps ... 196
5.4 ... Copying Condition Records ... 207
5.5 ... Condition Maintenance via Area Menus ... 212
5.6 ... Condition Record Maintenance with OData Service ... 213
5.7 ... Other Functionalities in Condition Maintenance ... 215
5.8 ... Summary ... 228
6 ... Pricing in the Sales Document ... 229
6.1 ... The Item Conditions Screen ... 229
6.2 ... Header Conditions Screen ... 238
6.3 ... Predefined Price Elements in the Item Overview Screen ... 241
6.4 ... Price Agreements ... 242
6.5 ... Pricing During Creation of Documents with Reference ... 246
6.6 ... Pricing for Special Billing Scenarios ... 247
6.7 ... Summary ... 256
7 ... Special Functions in Pricing ... 257
7.1 ... Group Conditions ... 257
7.2 ... Condition Exclusion ... 259
7.3 ... Condition Update ... 264
7.4 ... Tax Determination in Sales ... 267
7.5 ... Free Goods in Sales ... 273
7.6 ... Cost of Sales ... 276
7.7 ... Currency Conversion in Sales ... 280
7.8 ... Print Formatting of the Pricing Result ... 287
7.9 ... Summary ... 291
8 ... Pricing Procedures and Condition Types in Sales ... 293
8.1 ... Selected Pricing Procedures ... 295
8.2 ... Selected Condition Types of the Standard Pricing Procedures ... 311
8.3 ... Summary ... 315
9 ... Condition Contract Management ... 317
9.1 ... Overview of Condition Contract Management ... 317
9.2 ... Elements of Condition Contract Processing in Detail ... 345
9.3 ... Condition Contract Settlement ... 369
9.4 ... Tips and Tricks ... 386
9.5 ... Summary ... 396
PART III ... Advanced Techniques, Tips, and Tricks ... 397
10 ... Special Features of the Condition Technique in Pricing ... 399
10.1 ... Interfaces, Tables, and Interrelationships ... 400
10.2 ... Data Determination via the Condition Technique ... 404
10.3 ... Fields with Multiple Values ... 422
10.4 ... Summary ... 425
11 ... Important Programs for Pricing ... 427
11.1 ... The PRICING Function Module ... 427
11.2 ... The PRICING_COMPLETE Function Module ... 440
11.3 ... The PRICING_COPY Function Module ... 449
11.4 ... Data Storage of the Pricing Result in Table PRCD_ELEMENTS ... 451
11.5 ... The PRICING_REFRESH Function Module ... 452
11.6 ... Dialog Connection/Other Function Modules ... 453
11.7 ... Relationship of Tables and Structures ... 455
11.8 ... Summary ... 456
12 ... System Adaptation Using Requirements, Formulas, and User Exits ... 457
12.1 ... Pricing Types ... 458
12.2 ... Requirements ... 459
12.3 ... An Example Using Formulas ... 463
12.4 ... Formulas for Pricing Conditions ... 468
12.5 ... Special Logic for Pricing Type F in Routine XKOM_BEWERTEN ... 478
12.6 ... Pricing Result in KOMP ... 480
12.7 ... Control Flag XKOMV-KSTEU ... 485
12.8 ... User Exits ... 487
12.9 ... Enhancement of PRCD_ELEMENTS ... 494
12.10 ... Performance Aspects ... 494
12.11 ... Error Messages/Error Handling ... 495
12.12 ... Summary ... 496
13 ... Typical Practice Demands on Pricing and Their Solutions ... 497
13.1 ... Budgeting Requirements ... 498
13.2 ... Why Is the Condition Not Found? ... 507
13.3 ... Rounding ... 509
13.4 ... Prices with More Than Two Decimal Places ... 511
13.5 ... Handling Freight Surcharges ... 511
13.6 ... Authorizations for the Pricing Screen ... 515
13.7 ... Adding Subtotal Fields ... 517
13.8 ... Date-Dependent Maintenance of Master Data Fields ... 517
13.9 ... Copied Conditions and Subsequent Quantity Changes ... 522
13.10 ... Increased Prices in Returns and Credit Notes ... 527
13.11 ... Key Figures for Reporting and Analysis ... 529
13.12 ... Calling External Services from Within Pricing in SAP S/4HANA ... 544
13.13 ... Condition Record Depending Requirements ... 545
13.14 ... Summary ... 559
14 ... Pricing in Selected Applications ... 561
14.1 ... Pricing in Sales Orders ... 562
14.2 ... Pricing in Billing Documents ... 567
14.3 ... Pricing in Service Documents ... 569
14.4 ... Pricing in Purchase Orders ... 569
14.5 ... Pricing in Accounting ... 572
14.6 ... Tax Determination in Accounting ... 573
14.7 ... Pricing in Transport Management (Shipment Cost Calculation) ... 579
14.8 ... Summary ... 580
15 ... Performance and Testing ... 581
15.1 ... SAP Table Buffering ... 581
15.2 ... Prestep Conditions and Access Optimization ... 582
15.3 ... Field Sequence in the Condition Tables ... 585
15.4 ... Usage of Requirements ... 585
15.5 ... Group Conditions and Formulas ... 586
15.6 ... Peculiarities in Sales Orders and Billing Documents ... 587
15.7 ... Analytical Tools ... 593
15.8 ... Testing ... 595
15.9 ... Summary ... 597
16 ... Migrating from SAP ERP to SAP S/4HANA ... 599
16.1 ... Overview of SAP S/4HANA ... 599
16.2 ... Differences and Similarities Between SAP ERP and SAP S/4HANA ... 600
16.3 ... Migration to SAP S/4HANA ... 607
16.4 ... Summary ... 612
17 ... Pricing in SAP S/4HANA Cloud Public Edition ... 613
17.1 ... Configuration ... 613
17.2 ... New Product Hierarchy ... 619
17.3 ... In-App Extensibility ... 622
17.4 ... Summary ... 624
Appendix A ... Condition Type Profiles ... 625
A.1 ... AMIW (Minimum Sales Order Value) ... 625
A.2 ... AMIZ (Minimum Value Surcharge) ... 626
A.3 ... AZWR (Down Payment/Down Payment Settlement) ... 627
A.4 ... DIFF (Rounding of the Total) ... 627
A.5 ... DUPL (Condition to Be Duplicated) ... 628
A.6 ... EDI1 (Customer Expected Price) ... 629
A.7 ... EDI2 (Customer Expected Value) ... 630
A.8 ... EK01 (Actual Cost) ... 630
A.9 ... EK02/EK03 (Calculated Costs) ... 631
A.10 ... GRWR (Statistical Value) ... 631
A.11 ... HA00 (Percentage Discount) ... 632
A.12 ... HB00 (Discount (Value)) ... 633
A.13 ... HD00 (Freight) ... 634
A.14 ... HI02 (Hierarchy/Material Discount) ... 635
A.15 ... HM00 (Order Value) ... 635
A.16 ... IV01 (Intercompany Price) ... 636
A.17 ... KP00 (Pallet Discount) ... 637
A.18 ... KP01 (Incomplete Pallet Surcharge) ... 638
A.19 ... KP02 (Mixed Pallet Discount) ... 639
A.20 ... KP03 (Mixed Pallet Surcharge) ... 640
A.21 ... KUMU (Cumulative Condition) ... 642
A.22 ... KW00 (Group Valuation, Transfer Price) ... 643
A.23 ... MW01 (Tax Trigger) ... 643
A.24 ... MW15 (Factoring Discount Tax) (Full Tax) ... 644
A.25 ... MWSI (Output Tax, Percentage Included) ... 645
A.26 ... NETP (Rounding Difference) ... 646
A.27 ... NETW (Value of Goods) ... 647
A.28 ... NRAB (Free Goods) ... 647
A.29 ... PBBS (Base Price) ... 648
A.30 ... PBU (Price Book Determination) ... 648
A.31 ... PBUD (Price Book, Basis) ... 650
A.32 ... PBUP (Price Book, Gross Price) ... 650
A.33 ... PC00 (Profit Center Valuation Transfer Price) ... 651
A.34 ... PI01 (Intercompany Price) ... 652
A.35 ... PMIN (Minimum Price) ... 653
A.36 ... PN00 (Net Price) ... 654
A.37 ... PR01 (Price Incl. Sales Tax) ... 654
A.38 ... PR02 (Price Increased) ... 655
A.39 ... PTVO (Voucher) ... 656
A.40 ... R100 (100% Discount) ... 657
A.41 ... RL00 (Factoring Discount) ... 657
A.42 ... SKTO (Cash Discount After Tax) ... 658
A.43 ... SKTV (Cash Discount Before Tax) ... 659
A.44 ... VA00 (Variants) ... 659
A.45 ... VPRS (Cost) ... 661
A.46 ... Z902 (Data Determination Material) ... 662
A.47 ... Z905 (Material Group Discount) ... 663
A.48 ... ZBUP (Price Book, Gross Price) ... 663
A.49 ... ZDB1 (Minimum Profit Margin) ... 664
A.50 ... ZM00 (Delta to the Order Value) ... 665
A.51 ... ZPBP (Data Determination Customer) ... 665
A.52 ... ZPRA (Price (General)) ... 666
A.53 ... ZPRB (Price Cust. Specific) ... 666
A.54 ... ZPRC (Price Increased) ... 667
A.55 ... ZPRD (Contract Price) ... 668
A.56 ... ZH01 (Budget Approved) ... 668
A.57 ... ZH02 (Budget Requested) ... 670
... The Authors ... 671
... Index ... 673