Maintaining and Managing Condition Contracts

Introducing Customizing Settings for Condition Contract Types

Objective

After completing this lesson, you will be able to outline how to configure a condition contract type.

Define Condition Contract Type

Configuration menu for Define Condition Contract Type with sections including Basic Data, Condition Maintenance, Text Determination, and Control Data.

After the configuration of condition types, you usually continue with configuring the condition contract type as the condition type configuration is a prerequisite of the condition contract type configuration.

Let´s start and dive deeper into the most important settings.

Configuring the Condition Contract Type

Usually, we start by creating a condition contract type and maintain all the settings. The contract type contains the basic information of our process and defines the framework and behavior of condition contracts used in subsequent settlement scenarios.

They serve as templates that control how rebate agreements, commissions, royalties, and other settlement-based arrangements are structured, processed, and settled.

Condition contract type configuration controls the processing behavior, field visibility, settlement logic, and integration parameters for condition contracts in SAP S/4HANA. The configuration comprises multiple tabs with interdependent settings that determine how contracts are created, maintained, and settled

For Condition Contract Types, there is a central configuration path regardless of whether it is a sales, purchasing or other Contract Type: Logistics - General → Settlement Management → Condition Contract Management → Condition Contract Maintenance → Define Condition Contract Types

Examples of standard condition contract types include: 0S01 (Sales Rebate - Single Customer), 0S02 (Sales Rebate - Multiple Customers), 0SG1 (Sales Rebate with Goods-Related Taxation), RCS1 (Commission for External Agents). These are part of the standard delivery content and can be copied to use for customer-specific scenarios.

Lets have a closer look at some of the most important settings.

Cursor hovers over the Condition Contract Items Category dropdown field in the Basic Data section.

Basic Data

Condition Contract Type

Unique identifier that controls all processing aspects of the condition contract. This field determines available functionality, number ranges, and processing rules.

Description

Multi-language description field for the condition contract type, supporting business user identification and documentation requirements.

Number Range

Assignment of number range interval that controls automatic numbering for contracts of this type. Must be defined before creating contracts.

Type of Contract Partner

Mandatory field that specifies whether the contract partner is a customer, supplier, or no contract partner. Value "No Contract Partner" is either used for lists or for condition contracts for which contract partners are determined dynamically in the settlement run through business volume selection criteria.

Type of Eligible Partners

Mandatory field that determines if eligible partners are relevant for this contract type and specifies the partner type (customer, supplier, or plant).

Condition Contract Category

Contract categories provide a grouping mechanism that enables effective reporting and selection functionality by organizing condition contracts into logical business segments. These categories are automatically copied to condition contract headers to support downstream processes such as reporting and selection.

Default Condition Contract Process Variant

Set a default process variant. In Lesson 7, we will dive deeper into configuring process variants.

Condition Maintenance

Hide Conditions Area

Checkbox that simplifies the layout for condition contracts representing lists or any other scenario without condition maintenance by hiding the conditions maintenance area

Sales / Purchasing Condition Type Group

Assignment of sales/purchasing condition type group that determines which condition types can be maintained in customer contracts. These settings control available rebate and accrual conditions and can be further controlled by the process variant.

Text Determination

Procedure Header

Text determination procedures for the contract header control which text types are available and how they are proposed when creating or maintaining condition contracts. This allows standardized documentation and communication related to contracts.

Configuration Steps

  • Define text types in the system (if not using copies of the standard text types)
  • Create text determination procedures via Customizing
  • Assign text determination procedures to condition contract types in the "Text Determination" section of the contract type configuration

Text Type Options

Standard text types include:

  • Contract terms
  • Internal notes
  • External notes
  • Legal clauses
  • Settlement instructions

Custom text types can be defined based on specific business requirements.

Control Data

Cursor hovers over the Critical Changes Group field label in a Control Data configuration form.

Field Status Group

A Field Status Group is a configuration tool that controls how users can interact with fields in a condition contract. It defines whether a field is visible, editable, or mandatory when maintaining the contract. This allows you to enforce business rules, e.g., making currency mandatory or hiding irrelevant fields depending on the contract type. The configuration needs to be matched to the settlement process and billing types that are applicable.

  • Logistics - General → Settlement Management → Condition Contract Management → Condition Contract Maintenance → Define and Configure Field Status Groups
  • Control header fields visibility and requirements (hide, display-only, or required)
  • Different field status groups can be used per condition contract type

Field status groups are defined in Customizing and then assigned to condition contract types. The assignment directly affects the condition contract maintenance screens (Transaction WCOCO or Fiori app "Maintain Contract – Condition Contracts").

Example Configurations

  • Sales rebate contracts: Might require "Sales Organization" and "Distribution Channel" fields as mandatory
  • Purchasing rebate contracts: Might hide sales-related fields and require "Purchasing Organization" as mandatory
  • Process Variant Field: You can configure the Process Variant field as required, ensuring that every contract is assigned to a defined settlement logic upfront.

Field Status Group Types

Configuration table lists field controls, names, statuses, and change restrictions for Sales Rebate field status group 0S01.

Dynpro controls how fields appear on the screen, meaning whether they are visible, hidden, or mandatory within specific tabs such as Basic Data, Sales, or Settlement Data. It is primarily used to structure and simplify the user interface by hiding irrelevant fields or even entire tabs depending on the business scenario. When the setting "Only User Interface" is used, these controls apply strictly to what the user sees on the screen. The underlying system logic, including APIs, BAPIs, and background processing, can still fill or modify these fields independently of the UI restrictions.

Field Control extends beyond the user interface and defines how fields behave across the entire system. It ensures that restrictions are enforced consistently not only in the UI but also in integrations, services, and internal processing logic. This means that if a field is restricted at this level, it cannot be bypassed through technical interfaces. When both UI-only and general field control settings exist for the same field, the system-wide (general) control takes precedence.

The "No Change After Settlement" setting prevents modifications to specific fields once settlement documents have been created. This ensures that contract data remains stable after financial postings have occurred, avoiding inconsistencies between previously posted accruals and final settlement results. From an accounting perspective, this mechanism is essential to guarantee auditability and consistency of financial data, as it protects the integrity of postings in Financial Accounting.

Check Group for Additional Checks

Check groups define additional validation rules and system checks that are executed during condition contract processing. They ensure that specific data sets are consistent based on custom logics.

Validation Types

  • Custom ABAP classes can be implemented to perform specific checks
  • Checks can validate data consistency, business rules, or cross-field dependencies
  • Validation can occur at different processing stages (creation, change, release, settlement)

System Behavior

If checks fail, the system can:

  • Issue error messages (blocking save)
  • Issue warning messages (allowing save with confirmation)
  • Influence document status or workflow progression
  • Prevent contract release or settlement execution

Configuration Steps

Check groups are defined in Customizing and assigned to condition contract types. Custom validation logic is implemented through ABAP classes that are called during document processing.

Customizing path: SAP Customizing Implementation Guide -> Logistics - General -> Settlement Management -> Condition Contract Management -> Condition Contract Maintenance -> Additional Checks -> Define Check Groups

Example Scenarios

  • Check that business volume selection criteria are complete and consistent
  • Check that specific data sets are consistent based on custom logics
  • At contract creation, check groups can ensure that business volume selection criteria are complete and consistent by enforcing minimum entry requirements for field combination groups

Critical Changes Group

This configuration allows for tracking and controlling critical changes to condition contracts. Critical changes are grouped in a critical changes group that you assign to relevant condition contract types.

For each critical change, you can set a lock for the whole condition contract or a lock for the condition contract settlement.

Note: When you specify settlement locks in a critical changes group you also have to configure L Settlement Lock is supported for the Support of Settlement Lock parameter in the condition contract types to which you assign the critical changes group. Otherwise these entries for critical changes are not considered when checking critical changes.

Customizing path: SAP Customizing Implementation Guide -> Logistics - General -> Settlement Management -> Condition Contract Management -> Condition Contract Maintenance -> Define and Configure Critical Changes Groups

Action Profile

Assignment of action profile that controls Post Processing Framework actions, workflow triggers, and approval processes. Using this configuration, you can initiate SAP Business Workflow tasks, route contracts for approval based on value thresholds or organizational rules or integrate with SAP Fiori My Inbox for task management.

Example Configurations

Note

These examples may require enhancements.

  • Automatically send notification to purchasing manager when supplier rebate contract reaches 80% of target volume
  • Create successor contract automatically 30 days before current contract expires
  • Trigger approval workflow when contract value exceeds defined threshold
  • Automatically release contract when all required approvals are obtained