Data Template: Order to Cash - Sales Order Processing

SAP S/4HANA
Data Template: Order to Cash - Sales Order Processing

Your Order to Cash - Sales Order Processing Data Template

This data template provides a comprehensive guide to collecting the necessary information for analyzing your Order to Cash - Sales Order Processing. It outlines the essential attributes and key activities required to build an accurate event log. Additionally, you'll find detailed guidance on how to extract this data from your SAP S/4HANA system to kickstart your process optimization.
  • Recommended attributes to collect
  • Key activities to track
  • Extraction guidance for SAP S/4HANA
New to event logs? Learn how to create a process mining event log.

Order to Cash - Sales Order Processing Attributes

These are the recommended data fields to include in your event log for comprehensive order to cash, sales order processing analysis.
3 Required 7 Recommended 13 Optional
Name Description
Activity Name
ActivityName
The name of the business activity that occurred at a specific point in the sales order process.
Description

This attribute describes a specific step or event in the sales order lifecycle, such as 'Sales Order Created', 'Goods Issue Posted', or 'Payment Received'. These activities are derived from various status changes, document creation dates, and log entries across different SAP modules.

Analyzing the sequence and duration of these activities is the foundation of process mining. It allows for the visualization of process maps, the identification of bottlenecks between steps, and the analysis of process variants to understand how orders actually flow through the system compared to the designed process.

Why it matters

It defines the steps in the process, allowing for the construction of the process map and the analysis of process flow and bottlenecks.

Where to get

This is a derived attribute, typically generated during data extraction by mapping status changes or document creation events from tables like VBAK, LIKP, VBRK, and CDHDR/CDPOS to meaningful activity names.

Examples
Sales Order CreatedDelivery CreatedInvoice CreatedPayment Received
Event Time
EventTime
The timestamp indicating when a specific activity or event occurred.
Description

Event Time provides the precise date and time for each activity in the process, forming the chronological backbone of the event log. For instance, it records when a sales order was created, when goods were shipped, and when an invoice was paid.

This attribute is critical for all time-based analysis. It is used to calculate cycle times between activities, identify delays, measure process performance against service level agreements, and analyze the overall duration of the sales order process. The accuracy of these timestamps directly impacts the quality of the process mining insights.

Why it matters

This timestamp is essential for calculating all durations, cycle times, and waiting times, which are fundamental to performance analysis.

Where to get

This is a derived attribute, sourced from various date and time fields in SAP tables, such as ERDAT/ERZET (creation date/time) in VBAK, LIKP, VBRK, or change log timestamps from CDHDR.

Examples
2023-01-15T09:00:00Z2023-01-18T14:30:00Z2023-01-25T11:20:00Z
Sales Order
Vbeln
The unique identifier for a sales document, serving as the primary case identifier for the Order to Cash process.
Description

The Sales Order number uniquely identifies a customer's request for goods or services. It is the central object that links all activities in the sales order processing lifecycle, from creation and confirmation to delivery and invoicing.

In process mining, this attribute is essential for tracking the end-to-end journey of each individual order. Analyzing processes by Sales Order allows businesses to identify bottlenecks, understand process variations, and measure key performance indicators like cycle time and on-time delivery for each specific customer transaction.

Why it matters

This is the core identifier that connects all related process events, enabling a complete case-level view of the order lifecycle.

Where to get

This attribute is the Sales Document number from the VBAK table (field VBELN).

Examples
100002341000056710000891
Customer Number
Kunnr
The unique identifier for a customer account.
Description

The Customer Number is a unique key assigned to each customer in the master data. It is used in all transactions related to that customer, including sales orders, deliveries, and payments.

Analyzing the process from a customer's view is critical. This attribute allows for segmenting order performance by customer, identifying which customers experience the longest delays, and understanding how process execution differs for key accounts. It is fundamental for dashboards that analyze cycle times by customer segment.

Why it matters

This allows for customer-centric analysis, helping to identify process issues that affect specific customers or customer groups and measuring customer-specific KPIs.

Where to get

This attribute is the 'Sold-to party' or 'Customer Number' from the VBAK table (field KUNNR).

Examples
C000123C000456C000789
Material Number
Matnr
The unique identifier for a product or material being sold.
Description

The Material Number is the unique key for a product in the material master data. Each line item in a sales order corresponds to a specific material number.

This attribute enables product-centric process analysis. It is used to analyze if certain products are associated with longer processing times, more frequent changes, or higher cancellation rates. This insight can help uncover issues related to specific product lines, such as supply chain complexities or data inaccuracies.

Why it matters

It facilitates product-level analysis, revealing if certain materials or product lines are associated with process delays, rework, or other inefficiencies.

Where to get

This attribute is the 'Material Number' from the sales order item table VBAP (field MATNR).

Examples
PROD-1001PROD-2005SERV-A01
Net Amount
Netwr
The net value of the sales order item or document in the document currency.
Description

Net Amount represents the value of the order after discounts and surcharges but before taxes. It is a key financial metric associated with each sales order.

In process mining, this attribute provides critical business context. It is used to prioritize analysis on high-value orders, understand if order value correlates with processing time or complexity, and measure the financial impact of process inefficiencies like cancellations or delays. For example, analysis may show that high-value orders are frequently delayed by manual credit checks.

Why it matters

Provides financial context to each case, allowing for value-based analysis to prioritize improvements on high-impact orders and quantify the cost of delays.

Where to get

This attribute is the 'Net value of the order item in document currency' from the VBAP table (field NETWR) or aggregated from the VBAK table.

Examples
1500.00250.5012345.75
Requested Delivery Date
Vdatu
The delivery date requested by the customer for the goods or services.
Description

This date represents the customer's desired delivery time for the items on the sales order. It is a key piece of information used for planning, scheduling, and service level agreement (SLA) measurement.

This attribute is essential for measuring customer service levels and logistical performance. It serves as the baseline for the 'On-Time Delivery Rate' KPI, where it is compared against the actual goods issue date or delivery date to determine if the customer's request was met. Analyzing deviations helps identify systemic issues in fulfillment or planning.

Why it matters

This is the primary date for measuring on-time delivery performance, a critical KPI for customer satisfaction and supply chain efficiency.

Where to get

This attribute is the 'Requested delivery date' from the sales order schedule line table VBEP (field VDATU).

Examples
2023-02-012023-03-152023-04-20
Sales Document Type
Auart
A classification that distinguishes different types of sales documents, such as standard orders, returns, or credit memos.
Description

The Sales Document Type controls how a sales document is processed in SAP. It defines details like the number range, required fields, and the overall transaction flow. Examples include 'OR' for a standard order or 'RE' for a returns order.

In process mining, this attribute is crucial for segmenting the analysis. Comparing the process flows for different document types can reveal significant variations in cycle times, rework rates, and automation levels. This helps in tailoring process improvement initiatives to specific order types.

Why it matters

It allows for the segmentation of sales orders into different categories, enabling a comparative analysis of how different types of orders are processed.

Where to get

This attribute is the 'Sales Document Type' from the VBAK table (field AUART).

Examples
ORRECRSO
Sales Organization
Vkorg
An organizational unit responsible for the sale of specific products or services.
Description

The Sales Organization represents a selling unit in a company. It is responsible for negotiating sales terms and distributing goods and services. Each sales transaction is assigned to a specific sales organization.

This attribute is a primary dimension for performance analysis. By filtering or comparing data across different sales organizations, businesses can benchmark performance, identify regional or divisional best practices, and understand how process efficiency varies geographically or by business unit.

Why it matters

Enables performance comparison and benchmarking across different business units, regions, or companies within a corporate group.

Where to get

This attribute is the 'Sales Organization' from the VBAK table (field VKORG).

Examples
10002000US01DE01
User Name
Ernam
The SAP user ID of the person who created or last changed the document.
Description

This attribute captures the user responsible for a particular activity, such as creating the sales order or posting the goods issue. It links process steps to the individuals or teams who performed them.

Analyzing activities by user helps in identifying training needs, understanding workload distribution, and detecting deviations that may be specific to certain users. It is also valuable for compliance and audit purposes, providing a clear record of who performed key actions within the process.

Why it matters

It enables analysis of process performance by user or team, helping to identify top performers, training opportunities, and workload distribution.

Where to get

This attribute is the 'Name of Person who Created the Object' from tables like VBAK (field ERNAM for creation) or from change document headers in CDHDR (field UNAME).

Examples
CBURNSDSCRANTONJHALPERT
Distribution Channel
Vtweg
The channel through which products or services reach the customer, such as retail, wholesale, or online.
Description

The Distribution Channel defines the method of selling and distributing products to customers. It is a key organizational element that, along with the Sales Organization, defines the sales area.

Analyzing processes by distribution channel helps businesses understand if certain channels are more or less efficient than others. For example, orders from the 'Online' channel might be highly automated and fast, while orders from the 'Direct Sales' channel might involve more manual steps and take longer. This enables targeted improvements for specific channels.

Why it matters

Allows for performance analysis across different sales channels, such as web, direct sales, or retail, to identify channel-specific bottlenecks or best practices.

Where to get

This attribute is the 'Distribution Channel' from the VBAK table (field VTWEG).

Examples
102001
Division
Spart
An organizational unit that represents a specific product line or business area.
Description

The Division is used to group materials or services, often representing a product line. It is part of the sales area definition and helps structure the business from a product-oriented point of view.

This attribute is useful for analyzing process performance for different product groups. It can help answer questions like, 'Does the processing of spare parts orders differ from the processing of finished goods orders?' This segmentation is key for the 'Cycle Time by Product Line' KPI and related dashboard analysis.

Why it matters

Enables process analysis based on product line or business area, helping to uncover performance differences between various parts of the business.

Where to get

This attribute is the 'Division' from the VBAK or VBAP tables (field SPART).

Examples
000105
Document Currency
Waerk
The currency code for the amounts specified in the sales document.
Description

This attribute defines the currency (e.g., USD, EUR, JPY) for monetary values like the Net Amount within the sales document. It provides the necessary context for correctly interpreting and aggregating financial data.

While not directly a driver of process flow, the currency is essential for any financial analysis. It ensures that monetary values are understood correctly and is necessary when converting amounts to a common currency for reporting on a global scale.

Why it matters

Provides essential context for all monetary values, ensuring accurate financial analysis and reporting, especially in global operations.

Where to get

This attribute is the 'SD document currency' from the VBAK table (field WAERK).

Examples
USDEURGBP
End Time
EndTime
The timestamp indicating when a specific activity or event concluded.
Description

EndTime marks the completion time for an individual activity. While StartTime indicates when a task began, EndTime captures when it finished, making it possible to measure the duration of active work.

This attribute is crucial for accurately calculating activity processing times. It allows analysts to distinguish between the time spent actively working on a task (Processing Time = EndTime - StartTime) and the time spent waiting for the next task to begin (Waiting Time = NextActivity.StartTime - CurrentActivity.EndTime). This distinction is fundamental for precise bottleneck analysis.

Why it matters

It enables the precise calculation of activity processing time, which is essential for distinguishing active work time from idle waiting time.

Where to get

This is a derived attribute. For some activities, it may correspond to a specific timestamp in SAP. For others, it's often inferred or set equal to the StartTime if the event is considered instantaneous.

Examples
2023-01-15T09:05:10Z2023-01-18T15:00:00Z2023-01-25T11:20:00Z
Is Manual Entry
IsManualEntry
A flag that indicates whether the sales order was created manually versus through an automated channel like EDI or an e-commerce portal.
Description

This attribute distinguishes between orders entered by a user directly in the SAP GUI and those created automatically via electronic data interchange (EDI), APIs, or other integrated systems. This information can sometimes be inferred from the user who created the order (e.g., a system user vs. a human user) or specific indicators in the sales document.

This attribute is essential for automation analysis and supports the 'Manual Order Entry Rate' KPI. It allows for a direct comparison of process efficiency, error rates, and cycle times between manually and automatically created orders, helping to build a business case for further automation.

Why it matters

It helps measure the level of automation in the order entry process and compare the efficiency and error rates of manual versus automated orders.

Where to get

This is often a derived attribute. It can be inferred by checking the 'Created by' user (ERNAM) in VBAK against a list of known system/batch users, or by specific channel indicators.

Examples
truefalse
Is On Time Delivery
IsOnTimeDelivery
A boolean flag indicating whether the order was delivered on or before the confirmed or requested delivery date.
Description

This attribute provides a clear, binary outcome for delivery performance on each order. It is calculated by comparing the actual 'Goods Issue Posted' timestamp with the 'Requested Delivery Date' (VDATU) or a confirmed delivery date from the order schedule.

This flag is the foundation for the 'On-Time Delivery Rate' KPI and the 'Delivery Date Promise Adherence' dashboard. It simplifies analysis by allowing users to quickly segment all orders into 'on-time' and 'late' categories, and then investigate the process characteristics of each group to find the root causes of delays.

Why it matters

Directly measures fulfillment performance against customer expectations, forming the basis of the critical 'On-Time Delivery Rate' KPI.

Where to get

This is a calculated attribute, derived by comparing the timestamp of the 'Goods Issue Posted' activity with the 'Requested Delivery Date' (VBEP-VDATU).

Examples
truefalse
Is Rework
IsRework
A boolean flag indicating if an activity or case involves rework, such as a repeated confirmation or significant change.
Description

This flag is used to identify sales orders that have undergone rework, such as being changed after confirmation or having the same activity occur multiple times. The logic for setting this flag can be based on the occurrence of 'Sales Order Changed' activities or multiple 'Order Confirmed' events for the same case.

This attribute directly supports the 'Sales Order Change and Rework Rate' dashboard and related KPIs. It allows for easy filtering and quantification of rework, helping businesses to measure the cost and frequency of process inefficiencies and target the root causes of these deviations.

Why it matters

This flag helps quantify the frequency and impact of rework, enabling analysis to reduce process deviations, manual changes, and inefficiencies.

Where to get

This is a calculated attribute. The logic is defined during data transformation, often by detecting repeated activities or specific change events (e.g., from CDHDR/CDPOS tables).

Examples
truefalse
Last Data Update
LastDataUpdate
The timestamp of the most recent data refresh or extraction from the source system.
Description

This attribute indicates when the data for the process analysis was last updated. It provides transparency to business users and analysts about the freshness of the data they are viewing, ensuring they understand the time frame covered by the analysis.

In dashboards and reports, this information is vital for context. It helps users understand if they are looking at real-time information or a periodic snapshot, which affects the interpretation of recent trends and operational performance.

Why it matters

Informs users about the timeliness of the data, ensuring they understand the temporal context of the analysis and preventing misinterpretations.

Where to get

This attribute is generated by the data extraction or ETL tool, recording the timestamp when the data pipeline was last executed.

Examples
2023-10-27T02:00:00Z2023-10-28T02:00:00Z
Order Quantity
Kwmeng
The quantity of the material ordered in a specific sales document item.
Description

This attribute represents the number of units of a specific material requested by the customer in a sales order line item. It is a fundamental piece of transactional data.

Analyzing order quantity provides valuable business context. It can be used to segment analysis by order size (small vs. large orders) to see if volume correlates with processing efficiency. Furthermore, it's a key metric for business reporting and understanding the scale of operations.

Why it matters

Allows for analysis based on order size, helping to understand if order volume impacts processing times, complexity, or error rates.

Where to get

This attribute is the 'Cumulative order quantity in sales units' from the VBAP table (field KWMENG).

Examples
101505
Overall Delivery Status
Lfstk
The overall delivery status of the sales order, indicating if it's not yet processed, partially delivered, or fully delivered.
Description

This status field provides a high-level summary of the fulfillment progress for a sales document. It is aggregated from the status of all its line items to show whether the order is open, in progress, or complete from a delivery standpoint.

In process analysis, this attribute is valuable for understanding the current state of open orders and for filtering cases. For example, analyzing only 'Fully Delivered' orders provides a view of completed processes, while analyzing 'Not yet processed' orders can help identify backlogs and initial bottlenecks.

Why it matters

Provides a snapshot of an order's fulfillment progress, allowing for filtering and analysis based on whether an order is open, partially, or fully delivered.

Where to get

This attribute is the 'Overall delivery status of all items' from the VBUK status table (field LFSTK).

Examples
ABC
Processing Time
ProcessingTime
The duration of time spent actively working on a specific activity.
Description

Processing Time, also known as activity duration, measures the time between the start and end of a single process step. It represents the active work time, as opposed to waiting time between steps.

This calculated metric is crucial for identifying which specific activities are the most time-consuming in the process. It is a key component of bottleneck analysis and helps pinpoint inefficiencies within a task, such as a lengthy 'Credit Check Performed' activity, which might indicate a need for automation or resource allocation.

Why it matters

It measures the active work time of an activity, helping to pinpoint which specific tasks are the most time-consuming and are candidates for optimization.

Where to get

This is a calculated attribute, derived by taking the difference between the EndTime and StartTime of an activity.

Examples
360086400300
Rejection Reason
Abgru
A code indicating the reason why a sales order or item was rejected or canceled.
Description

The Rejection Reason provides context when a sales order or a specific line item is canceled. These reasons are typically configured by the business and can include codes for 'Out of stock', 'Customer canceled', or 'Incorrect price'.

This attribute is fundamental for root cause analysis of order cancellations. By analyzing the most frequent rejection reasons, businesses can identify underlying problems in their sales, inventory, or pricing processes. This insight is crucial for the 'Sales Order Cancellation Analysis' dashboard to reduce lost sales and improve efficiency.

Why it matters

It provides the 'why' behind order cancellations, enabling root cause analysis to address issues like pricing errors, stock unavailability, or poor data quality.

Where to get

This attribute is the 'Reason for rejection of quotations and sales orders' from the sales order item table VBAP (field ABGRU).

Examples
010215
Source System
SourceSystemId
Identifies the source system from which the data was extracted.
Description

This attribute specifies the system of origin for the event data, for example, 'SAP S/4HANA Production' or 'ECC Quality'. In environments with multiple ERP systems or a mix of legacy and modern platforms, this field is crucial for data lineage and validation.

For analysis, it allows for filtering and comparing processes across different systems or organizational instances. This can reveal variations in process execution or data quality that are specific to a particular system landscape.

Why it matters

It provides context about the data's origin, which is crucial in multi-system environments for ensuring data integrity and enabling comparative analysis.

Where to get

This is typically a static value added during the data extraction process to label the dataset with its system of origin.

Examples
S4H_PROD_100ECC_DEV_200S4H_QAS_100
Required Recommended Optional

Order to Cash - Sales Order Processing Activities

These are the key process steps and milestones to capture in your event log for accurate process discovery and bottleneck identification.
7 Recommended 8 Optional
Activity Description
Delivery Created
This activity signifies the creation of an outbound delivery document, which initiates the shipping and logistics process. This is an explicit event where a delivery document is created in reference to the sales order.
Why it matters

This milestone marks the transition from sales processing to logistics. Analyzing the time from order confirmation to delivery creation helps identify bottlenecks in fulfillment planning.

Where to get

Captured from the LIKP table (SD Document: Delivery Header Data) creation timestamp. The link back to the sales order is stored in the VBFA table (Sales Document Flow).

Capture

Captured from the creation timestamp of the delivery document header in table LIKP.

Event type explicit
Goods Issue Posted
This is the legal and financial handover of the goods, marking their official departure from the company's inventory. This explicit event reduces stock levels and is a prerequisite for invoicing.
Why it matters

Posting Goods Issue is a critical financial and logistical milestone. It is often considered the point of 'shipment' and directly impacts inventory valuation and revenue recognition.

Where to get

The timestamp is recorded in the LIKP table (WADAT_IST - Actual goods movement date) when the goods issue is posted. The VBFA document flow table links this back to the sales order.

Capture

Captured from the actual goods movement date (LIKP-WADAT_IST) on the delivery header.

Event type explicit
Invoice Created
Represents the creation of the customer billing document, which details the products, quantities, and prices for payment. This is an explicit event where an invoice document is generated in reference to the delivery or sales order.
Why it matters

This activity marks the start of the payment collection cycle. The time between goods issue and invoice creation is a key KPI for measuring the efficiency of the billing process.

Where to get

Captured from the VBRK table (Billing Document: Header Data) creation date (ERDAT) and time (ERZET). The VBFA table links the invoice back to the preceding documents.

Capture

Captured from the creation timestamp of the billing document header in table VBRK.

Event type explicit
Order Closed
Marks the final status of a sales order, indicating that all related processes, including delivery, invoicing, and payment, are complete. This is inferred from the overall status of the sales document.
Why it matters

This activity provides a definitive end point for successfully completed orders in the process analysis. It ensures that the end-to-end cycle time is measured accurately for fulfilled orders.

Where to get

Inferred from the overall status field (VBUK-GBSTK) of the sales document changing to 'C' (Completely processed). The timestamp must be derived from the last update to a related document, like payment clearing.

Capture

Inferred when the document status VBUK-GBSTK becomes 'C', with the timestamp taken from the final event (e.g., Payment Received).

Event type inferred
Payment Received
This activity marks the successful completion of the process, where the customer's payment has been received and cleared against the open invoice. This is an explicit financial posting that closes the accounts receivable item.
Why it matters

This is the final, value-realizing step of the Order to Cash cycle. Analyzing the time from invoice to payment is essential for managing cash flow and Days Sales Outstanding (DSO).

Where to get

Captured from the clearing date (AUGDT) in the BSEG table (Accounting Document Segment) for the line item related to the customer payment that clears the invoice.

Capture

Captured from the clearing date (AUGDT) on the cleared customer item in table BSEG or the clearing document in BKPF.

Event type explicit
Sales Order Confirmed
Marks the point where material availability has been checked and a confirmed quantity and delivery date have been committed for the order items. This is inferred from the creation of schedule lines with confirmed quantities.
Why it matters

This is a critical milestone representing the commitment to the customer. The time taken to reach this stage (Order Confirmation Cycle Time) is a key measure of internal processing efficiency.

Where to get

Inferred from the creation of records in the VBEP table (Sales Document: Schedule Line Data) with a confirmed quantity (BMENG > 0) for the sales order items.

Capture

Derived from the creation date of the first schedule line in table VBEP with a confirmed quantity.

Event type inferred
Sales Order Created
This activity marks the initiation of the sales process when a new sales order is formally created in the system. This event is captured explicitly when a user saves a new sales order document (e.g., using transaction VA01), which creates a new entry in the VBAK table.
Why it matters

This is the primary start event for the Order to Cash process. Analyzing the time from this activity to subsequent milestones is fundamental for measuring overall cycle time and identifying initial processing delays.

Where to get

Recorded in the VBAK table (Sales Document Header Data) upon creation. The creation date (ERDAT) and time (ERZET) fields provide the timestamp.

Capture

Captured from the creation timestamp of the sales order header record in table VBAK.

Event type explicit
Accounting Document Created
This activity occurs when the invoice is successfully posted to the financial accounting module, creating journal entries. It's an explicit event that generates a corresponding document in the financial ledger.
Why it matters

This event confirms that the revenue from the sale has been formally recognized in the company's books. Delays here can affect the accuracy of financial reporting.

Where to get

Captured from the BKPF table (Accounting Document Header) creation date (CPUDT) and time (CPUTM). The VBRK table often stores the corresponding accounting document number (VBRK-BELNR).

Capture

Captured from the creation timestamp of the accounting document header in table BKPF.

Event type explicit
Credit Check Performed
Represents the completion of a creditworthiness check for the customer associated with the sales order. This can be an automated or manual step, and its completion is typically inferred from a change in the overall credit status of the document.
Why it matters

Credit checks are a common bottleneck that can significantly delay order confirmation and fulfillment. Tracking this activity helps measure its duration and impact on the overall process.

Where to get

Inferred from status updates in the VBUK table (Sales Document: Header Status and Administrative Data). A change in the credit status field (CMGST) indicates the completion of the check.

Capture

Inferred from a timestamped change in the credit status field (VBUK-CMGST) of the sales document.

Event type inferred
Goods Picked
Represents the completion of the physical process of picking the goods from the warehouse storage locations for the outbound delivery. This is typically inferred from a status update on the delivery document.
Why it matters

Picking is a key step in the warehouse fulfillment process. Tracking its completion helps to measure warehouse efficiency and identify delays before goods are ready for shipment.

Where to get

Inferred from status fields in the LIPS (Delivery Item) or LIKP (Delivery Header) tables, such as the picking status (KOSTA). A change to 'Completely picked' signifies the event.

Capture

Inferred from a timestamped change in the picking status field (e.g., LIKP-KOSTA) of the delivery document.

Event type inferred
Invoice Sent to Customer
Indicates that the generated invoice has been transmitted to the customer, for example, via print, email, or EDI. This is typically inferred from the processing log of the output determination system.
Why it matters

The payment clock often starts when the customer receives the invoice. Tracking this event is crucial for accurately measuring the Payment Collection Cycle Time.

Where to get

Inferred from records in the NAST table (Message Status), which logs the processing of output types like invoices. The processing date and time can serve as the event timestamp.

Capture

Inferred from the processing timestamp of the relevant output message record in table NAST.

Event type inferred
Sales Order Block Removed
Represents the removal of a processing block, allowing the sales order to proceed to the next stage. This is inferred by detecting a change in the relevant block fields from a set value back to a blank or cleared status.
Why it matters

Tracking the time it takes to remove blocks is crucial for understanding the duration of delays. This activity helps quantify rework and the efficiency of resolution processes.

Where to get

Inferred from the change data tables (CDHDR, CDPOS) where a block field on the sales order (e.g., VBAK-LIFSK) is changed from a non-blank value to blank.

Capture

Identified by detecting a change in a block field (e.g., VBAK-LIFSK) from a non-blank value back to a blank value.

Event type inferred
Sales Order Block Set
This activity occurs when a processing block is applied to the sales order, preventing subsequent activities like delivery creation. This is inferred by monitoring change logs for specific block fields on the sales order header or item.
Why it matters

Setting blocks is a key deviation from the happy path. Identifying why and how often blocks are set helps uncover systemic issues with data quality, pricing, or customer master data.

Where to get

Inferred from the change data tables (CDHDR, CDPOS) for block fields on the sales order, such as VBAK-AUFSP (Order block) or VBAK-LIFSK (Delivery block).

Capture

Identified by detecting a change in a block field (e.g., VBAK-LIFSK) from a blank value to a non-blank value.

Event type inferred
Sales Order Changed
Indicates that a significant attribute of an existing sales order, such as quantity, price, or requested delivery date, has been modified after initial creation. This event is explicitly captured in SAP's change log tables.
Why it matters

Frequent changes indicate process instability and can lead to rework, fulfillment errors, and delays. This activity is key to measuring the Sales Order Change Rate and identifying root causes.

Where to get

Captured from the change data tables, CDHDR (Change document header) and CDPOS (Change document items), which log modifications to sales order tables like VBAK and VBAP.

Capture

Identified from entries in the CDHDR table linked to the sales order object (OBJECTCLAS 'VERKBELEG').

Event type explicit
Sales Order Item Rejected
Represents the cancellation or rejection of a specific line item on a sales order before it is fully processed. This is inferred from the application of a 'Reason for Rejection' to an item.
Why it matters

This activity represents an unsuccessful outcome for part of an order. Analyzing when and why items are rejected helps identify issues with product availability, pricing, or customer requirements.

Where to get

Inferred from change logs (CDHDR, CDPOS) showing when the 'Reason for Rejection' field (VBAP-ABGRU) is populated for a sales order item.

Capture

Inferred from the timestamp when the VBAP-ABGRU field is populated for one or more line items.

Event type inferred
Recommended Optional

Extraction Guides

How to get your data from SAP S/4HANA