Your Credit Management & Collections Data Template

SAP S/4HANA
Your Credit Management & Collections Data Template

Your Credit Management & Collections Data Template

This template provides a clear guide for gathering the necessary data to analyze and optimize your Credit Management & Collections process. It outlines key attributes to collect, essential activities to track, and practical extraction guidance from your SAP S/4HANA system. Use this resource to ensure you capture all critical information for a robust process analysis.
  • Recommended attributes to collect for your event log
  • Key process activities to track across the invoice lifecycle
  • Specific extraction guidance for SAP S/4HANA
New to event logs? Learn how to create a process mining event log.

Credit Management & Collections Attributes

These are the recommended data fields to include in your event log for a comprehensive analysis of your credit management and collections process.
3 Required 5 Recommended 11 Optional
Name Description
Activity Name
ActivityName
The name of the specific business event that occurred in the credit management and collections process.
Description

This attribute describes a single step or task within the process, such as 'Invoice Generated', 'Dunning Procedure Initiated', or 'Payment Received'. The sequence of these activities forms the process flow for each case.

Analyzing the Activity Name is fundamental to process mining, as it allows for the discovery of the process map, identification of variants, and measurement of transitions between different steps. It is the basis for nearly all process analysis, including KPI calculations like 'Dunning Success Rate' which tracks events following a dunning activity.

Why it matters

It defines the steps of the process, which is essential for visualizing the process map, analyzing variants, and understanding the process flow.

Where to get

Generated from a combination of transaction codes (TCODE), table change logs (CDHDR/CDPOS), or status fields within SAP documents.

Examples
Invoice Sent To CustomerDunning Procedure InitiatedPayment ReceivedDispute Case Registered
Event Time
EventTime
The timestamp indicating when the activity occurred.
Description

This attribute provides the exact date and time for each recorded activity. It is critical for determining the sequence of events and calculating the duration between them.

Event Time is used to order activities chronologically, build the process map, and compute performance metrics. For example, it is used to calculate 'Average Dispute Resolution Time' by measuring the duration between the 'Dispute Registered' timestamp and the 'Dispute Resolved' timestamp.

Why it matters

It provides the chronological order of events, which is necessary for calculating cycle times, analyzing process performance, and discovering bottlenecks.

Where to get

Sourced from various date and time fields in SAP tables, such as BUDAT (Posting Date) in BKPF, or CPUDT/CPUTM (Date/Time of Entry) in various tables. Change log tables CDHDR/CDPOS also contain timestamps.

Examples
2023-04-15T10:00:00Z2023-05-01T14:30:00Z2023-05-10T09:15:00Z
Invoice Number
InvoiceNumber
The unique identifier for the customer invoice, which serves as the primary case ID for the credit management and collections process.
Description

The Invoice Number, often represented as the Accounting Document Number, uniquely identifies each receivable transaction. It acts as the central thread connecting all process events, from invoice creation and dunning notices to dispute management and final payment or write-off.

In process mining, analyzing the journey of each Invoice Number allows for a complete view of the end-to-end process. This helps identify common pathways, bottlenecks in payment processing, and variations in handling different invoices, which is crucial for dashboards like 'Invoice Process Variants Analysis' and 'Overdue Invoice Aging & Status'.

Why it matters

It is the essential case identifier that links all related credit and collection activities, enabling a full lifecycle analysis for each receivable.

Where to get

Typically found in tables like BKPF (Accounting Document Header) as field BELNR, or VBRK (Billing Document: Header Data) as field VBELN.

Examples
190000012319000004561900000789
Customer Number
CustomerNumber
The unique identifier for the customer account.
Description

The Customer Number is the identifier for the business partner to whom the invoice was issued. It links the financial transaction to the customer's master data record.

This attribute is crucial for customer-centric analysis, such as identifying payment behaviors of specific customers or segments. It is used in dashboards like 'Customer Payment Behavior Trends' to track which customers consistently pay late and supports KPIs like 'High-Priority Account Coverage' by grouping invoices by customer.

Why it matters

It links transactions to specific customers, enabling analysis of payment behavior, segmentation, and relationship management.

Where to get

Found in accounting document line items in tables like BSEG (field KUNNR) or in the customer master data table KNA1.

Examples
CUST100234CUST200567CUST300890
Days Overdue
DaysOverdue
The number of days an invoice is past its payment due date.
Description

This is a calculated metric that measures the time elapsed between the 'Payment Due Date' and the current date (for open invoices) or the 'Payment Date' (for cleared invoices). A positive value indicates a late payment.

Days Overdue is a cornerstone KPI for collections. It is the primary metric in the 'Overdue Invoice Aging & Status' dashboard and is used to prioritize collection efforts. Analyzing the distribution of this metric helps to understand the overall health of the accounts receivable portfolio.

Why it matters

It is a critical performance indicator for collection effectiveness, used for aging analysis, prioritization of work, and measuring payment delays.

Where to get

Calculated during data transformation: (Current Date OR Clearing Date) - PaymentDueDate (BSEG-ZFBDT).

Examples
1530920
Invoice Amount
InvoiceAmount
The total value of the invoice in the document currency.
Description

This attribute represents the total monetary value of the invoiced goods or services. It is a critical measure of the financial impact of each case.

Analyzing the Invoice Amount is fundamental for prioritizing collection efforts, as seen in the 'Collection Portfolio Prioritization' dashboard. It is also used to assess the financial impact of process inefficiencies, such as the total value of disputed invoices or the amount of funds tied up in overdue receivables. It directly supports KPIs like 'Invoice Write-Off Percentage' by providing the value basis.

Why it matters

It quantifies the financial value of each case, which is essential for prioritization, risk assessment, and performance measurement.

Where to get

Derived from accounting document line items in table BSEG (field DMBTR for local currency amount or WRBTR for document currency amount).

Examples
1500.0025000.50750.75
Payment Due Date
PaymentDueDate
The date by which the invoice payment is due.
Description

The Payment Due Date is calculated based on the invoice date and the payment terms agreed upon with the customer. It is the baseline against which timeliness of payment is measured.

This date is fundamental for all overdue analysis. It is the starting point for calculating 'Days Overdue' and for triggering dunning procedures. Dashboards like 'Overdue Invoice Aging & Status' and KPIs such as 'Average Days Sales Outstanding (DSO)' rely heavily on this attribute.

Why it matters

It is the key date for determining if an invoice is overdue, triggering collections activities and calculating critical KPIs.

Where to get

Found in the customer line item of an accounting document, table BSEG (field ZFBDT).

Examples
2023-05-302023-06-152023-07-01
User Name
UserName
The user ID of the person who executed the activity.
Description

This attribute identifies the specific user responsible for a given process step, such as posting a payment or initiating a dunning run. In SAP, this is often stored as the 'User Name' (UNAME) or 'Entered by' field.

Analyzing by user helps identify high-performing individuals or teams, areas where additional training may be needed, and patterns of workload distribution. It can also be used to investigate compliance issues or unauthorized activities. For example, it supports the 'Collection Call Effectiveness' dashboard by tracking outcomes per collector.

Why it matters

It links process activities to specific individuals, enabling analysis of resource performance, workload, and compliance.

Where to get

Commonly found in header tables like BKPF (field USNAM) or change log tables like CDHDR (field USERNAME).

Examples
JSMITHRROEBATCH_USER
Company Code
CompanyCode
The organizational unit representing a legally independent company for which financial statements are created.
Description

The Company Code is a fundamental organizational entity in SAP Financials. All financial transactions, including invoices and payments, are posted to a specific company code.

In process mining, filtering or dimensioning by Company Code is essential for comparing process performance across different legal entities within a corporation. This helps identify best practices in one entity that can be applied to others, or pinpoint systemic issues affecting a particular company. It is a key filter for nearly all financial process analyses.

Why it matters

It allows for the comparison of process performance and compliance across different legal entities within the organization.

Where to get

Found in most financial tables, such as BKPF and BSEG (field BUKRS).

Examples
10002000US01DE01
Credit Limit
CreditLimit
The maximum amount of credit extended to a customer.
Description

The Credit Limit is a value stored in the customer's credit master data, defining the total credit exposure the company is willing to have with that customer. Activities like 'Credit Limit Requested' and 'Credit Limit Approved' directly relate to this attribute.

This attribute provides context for credit risk analysis. The 'Credit Approval Cycle Time Analysis' dashboard tracks the process of setting or changing this limit. Analyzing it in conjunction with overdue amounts helps to assess overall portfolio risk.

Why it matters

It defines the approved credit risk for a customer and is central to analyzing the credit approval process and overall credit exposure.

Where to get

Stored in the SAP Credit Management (FSCM) module, in tables such as UKM_BP_CMS_SGMT (field CREDIT_LIMIT).

Examples
50000.00100000.00250000.00
Customer Segment
CustomerSegment
A classification of the customer, for example based on size, industry, or strategic importance.
Description

Customer Segment is a marketing or sales classification used to group customers with similar characteristics. This could be based on factors like annual revenue, industry, geographical location, or relationship status (e.g., Gold, Silver, Bronze).

In collections analysis, segmenting by this attribute helps uncover patterns specific to certain groups. For instance, the 'Invoice Write-Off Analysis' dashboard can reveal if a particular segment is responsible for a disproportionate amount of write-offs, guiding strategic decisions on credit policies for that segment.

Why it matters

It enables the analysis of process performance and customer behavior across different customer groups, revealing valuable strategic insights.

Where to get

Typically sourced from the Customer Master data (table KNA1), often in a classification or attribute field like KDKG1-KDKG5 (Customer group 1-5).

Examples
Large EnterpriseSmall & Medium BusinessGovernmentStrategic Account
Dispute Reason
DisputeReason
The reason code provided for why a customer is disputing an invoice.
Description

When a customer disputes an invoice, a reason is typically assigned to categorize the nature of the issue, such as 'Incorrect Pricing', 'Damaged Goods', or 'Duplicate Invoice'. This is managed in the SAP Dispute Management module.

Analyzing Dispute Reasons is key to identifying root causes of customer dissatisfaction and payment delays. The 'Invoice Dispute Volume & Resolution' dashboard can be dimensioned by this attribute to pinpoint recurring problems in the upstream order-to-cash process that need to be fixed.

Why it matters

It provides critical insight into the root causes of invoice disputes, helping to identify and resolve underlying operational issues.

Where to get

Sourced from the SAP Dispute Management module, likely from tables like UDM_SCASE_ATTR or similar, based on the dispute case attributes.

Examples
PRC_ERR - Pricing ErrorQTY_DIF - Quantity DifferenceSHIP_DMG - Damaged Shipment
Dunning Level
DunningLevel
Indicates the current stage of the dunning process for an overdue invoice.
Description

The Dunning Level represents the intensity of the collection effort, typically escalating from a simple reminder to more formal legal notices. Each level corresponds to a specific dunning activity defined in the dunning procedure.

Tracking this attribute is essential for monitoring the effectiveness and compliance of the dunning process. The 'Dunning Process Effectiveness' dashboard uses this to analyze payment rates at different levels, while the 'Dunning Process Compliance' dashboard checks if the sequence of levels is followed correctly.

Why it matters

It tracks the progression of collection efforts, allowing for analysis of dunning effectiveness and process compliance.

Where to get

This information is stored in dunning data tables like MHND (Dunning data). The last dunning level for an item can be found in BSEG (field MANST).

Examples
123 - Final NoticeLegal Action
Invoice Currency
InvoiceCurrency
The currency in which the invoice was issued.
Description

This attribute specifies the currency code (e.g., USD, EUR) for the invoice amount. It provides the necessary context for interpreting monetary values, especially in multinational organizations.

While most analysis is done in a standardized local currency, the document currency is important for understanding the original transaction and for any analysis related to foreign exchange effects. It provides context to the InvoiceAmount attribute.

Why it matters

It provides essential context for the Invoice Amount, enabling accurate financial analysis in multi-currency environments.

Where to get

Typically found in header tables like BKPF (field WAERS) or line item tables like BSEG (field PSWSL).

Examples
USDEURGBP
Is Automated
IsAutomated
A flag indicating whether the activity was performed by a system user or a human user.
Description

This boolean attribute distinguishes between activities performed automatically by the system (e.g., a scheduled dunning run, an automatic payment posting) and those performed manually by a user (e.g., a collection call).

Analyzing this attribute helps to measure the level of automation in the process. It allows for comparing the efficiency and consistency of automated versus manual steps, identifying opportunities for further automation, and understanding the true manual effort involved in the collections process.

Why it matters

It helps quantify the level of automation in the process, enabling analysis of the impact of automation on efficiency and cost.

Where to get

This is a derived attribute, typically based on the 'UserName'. If the user ID matches a predefined list of system or batch users (e.g., 'BATCH_USER'), the flag is set to true.

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 dataset was last updated. It provides users with context on the freshness of the data they are analyzing.

This is a critical piece of metadata for any dashboard or analysis. It informs the user about the time period covered by the analysis and prevents misinterpretations based on outdated information. For example, an analysis of overdue invoices is only meaningful if the user knows when the data was last pulled.

Why it matters

It ensures users understand the timeliness of the data, which is critical for making accurate, data-driven decisions.

Where to get

This value is generated and stored during the data extraction, transformation, and loading (ETL) process.

Examples
2023-10-27T02:00:00Z2023-10-26T02:00:00Z
Processing Time
ProcessingTime
The duration of a specific activity.
Description

This attribute measures the time it takes to complete an activity, calculated as the difference between the activity's end time and start time. This is most relevant for activities that are not instantaneous.

For many financial transactions in SAP, the start and end times are the same. However, for processes like dispute resolution, this metric can measure the time a case spends in a particular status. It directly supports KPIs like 'Payment Posting Cycle Time' by measuring the duration of the posting activity.

Why it matters

It helps identify time-consuming activities that are potential bottlenecks in the process.

Where to get

Calculated from event data as (EndTime - StartTime). Requires both a start and end timestamp for each activity.

Examples
P1DPT2H30MP3DT5H
Source System
SourceSystem
Identifies the system from which the data originated.
Description

This attribute specifies the source information system, which in this case is SAP S/4HANA. It is particularly important in environments where data might be consolidated from multiple systems, such as different ERP instances or a separate CRM.

In process analysis, this helps differentiate processes that may span multiple systems or allows for filtering the analysis to a specific system instance. It ensures data lineage and provides context, especially during data validation and troubleshooting.

Why it matters

It provides crucial context about the data's origin, ensuring clarity in multi-system environments and aiding in data governance.

Where to get

This is typically a static value added during the data extraction process, identifying the specific SAP S/4HANA instance (e.g., by System ID, or SID).

Examples
S4H_PROD_100S4HANA_FINANCE_EUSAP_ECC_US
Write-Off Reason
WriteOffReason
The reason code explaining why an invoice was written off as uncollectible.
Description

When a receivable is deemed uncollectible, it is written off the books, and a reason code is assigned to classify the cause, such as 'Bankruptcy', 'Small Balance Write-Off', or 'Unresolved Dispute'.

This attribute is essential for the 'Invoice Write-Off Analysis' dashboard. By analyzing the frequency and value of write-offs by reason, a company can identify weaknesses in its credit policy or collection strategy and take corrective action to minimize future losses.

Why it matters

It explains the root causes of financial losses from uncollectible debt, informing improvements to credit and collection policies.

Where to get

This is often captured via reason code fields (BSEG-RSTGR) during the specific financial posting transaction (e.g., F-30) used for writing off receivables.

Examples
BANKRUPTCYSMALL_BALANCEDISPUTE_LOSS
Required Recommended Optional

Credit Management & Collections Activities

These are the key process steps and milestones to capture in your event log for accurate discovery and optimization of your collections workflow.
6 Recommended 6 Optional
Activity Description
Dispute Case Registered
This activity signifies that a customer has formally disputed an invoice, and a case has been created in SAP Dispute Management. This is captured when a new dispute case is created and linked to the invoice document.
Why it matters

Registering disputes is a critical step for understanding process exceptions. Analyzing the volume, reasons, and resolution time of disputes helps identify root causes like pricing or shipping errors.

Where to get

This is an explicit event recorded in the SAP Dispute Management tables. The creation date of the case in tables like UKM_CASE or FDM_DCOBJ linked to the invoice serves as the timestamp.

Capture

Use the creation timestamp of the dispute case from the UKM_CASE table, filtering by the case type for disputes.

Event type explicit
Invoice Generated
This activity marks the creation of a customer invoice, which is the starting point for the collections process. This event is captured when a new accounting document with an invoice document type is posted in the SAP S/4HANA system.
Why it matters

This is the primary start event for the invoice-to-cash process. Analyzing the time from this point to payment is crucial for measuring Days Sales Outstanding (DSO) and overall process efficiency.

Where to get

This event is explicitly recorded. The creation date and time can be found in the accounting document header table, BKPF, for the relevant document number (BELNR). Document types like 'RV' typically denote customer invoices.

Capture

Use the document creation timestamp (CPUDT, CPUTM) from the BKPF table for the invoice document.

Event type explicit
Invoice Settled
This is the final, successful outcome for an invoice, indicating it has been fully paid and cleared from open items. This state is recognized when an invoice has a corresponding clearing document and date.
Why it matters

As the primary success endpoint of the process, this activity concludes the invoice lifecycle. Analyzing the paths and time taken to reach this state is fundamental to process optimization.

Where to get

This is not a discrete event but a state inferred from financial tables. An invoice is considered settled when it appears in the cleared customer items table, BSAD, and has a valid clearing date (AUGDT).

Capture

Use the clearing date (AUGDT) from the BSAD table as the timestamp for this concluding activity.

Event type inferred
Invoice Written Off
This activity represents the decision to absorb an unpaid invoice as a loss, classifying it as bad debt. This is captured when a specific type of clearing document is posted, often with a unique reason code.
Why it matters

Write-offs represent a direct financial loss. Analyzing their frequency, value, and preceding activities helps identify at-risk customers and failures in the collections process.

Where to get

This can be inferred by analyzing the clearing document that settles the invoice. A specific general ledger account or reason code (BSEG-RSTGR) used in the clearing document indicates a write-off.

Capture

Identify the clearing document and check for a specific reason code or posting to a bad debt account.

Event type inferred
Payment Due Date Passed
A calculated event that occurs when the current date surpasses the invoice's net due date without a clearing payment being posted. It signifies the transition of an invoice from 'current' to 'overdue' status.
Why it matters

This activity is the trigger for all collections and dunning activities. It is essential for analyzing payment behavior, overdue reasons, and the effectiveness of proactive reminders.

Where to get

This is not an explicit log. It is calculated by comparing the net due date (from tables like BSID field ZFBDT) with the timestamp of the analysis or a subsequent activity.

Capture

Derive by comparing the invoice net due date (BSID-ZFBDT) to the current timestamp or a subsequent event's timestamp.

Event type calculated
Payment Received
This activity represents the receipt of funds from the customer, which is then applied to the open invoice. It is captured by the creation of a clearing document that settles the invoice amount.
Why it matters

This is a critical milestone that directly impacts cash flow and DSO. Analyzing the time to payment and the activities that precede it reveals the effectiveness of the entire collections process.

Where to get

This is inferred from the clearing document posted against the invoice. The clearing date (AUGDT) from the cleared items table, BSAD, for the specific invoice provides the timestamp.

Capture

Identify the clearing date (AUGDT) from the BSAD table for the corresponding invoice document number (BELNR).

Event type inferred
Collection Call Made
Represents a manual contact made by a collections agent to the customer regarding an overdue invoice. This is often not a standard SAP event and relies on custom logging or integration with a CRM system.
Why it matters

Manual interventions are a costly part of the collections process. Tracking these calls helps measure collector effectiveness and understand which accounts require manual effort.

Where to get

This information is typically not available in a standard S/4HANA setup. It might be stored in custom tables, as a note in the collections worklist, or in an external CRM system that needs to be integrated.

Capture

Requires analysis of system enhancements, notes, or data from an external system where collection activities are logged.

Event type explicit
Dispute Resolved
This activity marks the closure of a dispute case, either because the customer's claim was validated or rejected. This is captured when the status of the dispute case is updated to a 'closed' or 'resolved' state.
Why it matters

The time taken to resolve disputes is a key performance indicator for customer satisfaction and operational efficiency. Long resolution times can delay payments and strain customer relationships.

Where to get

This is inferred from a status change on the dispute case. A timestamp associated with the status change to 'Closed' or 'Confirmed' in the UKM_CASE table indicates when the resolution occurred.

Capture

Identify the timestamp of the status change to a final, resolved status within the UKM_CASE table or related status change log tables.

Event type inferred
Dunning Procedure Initiated
This activity represents the formal initiation of the automated dunning process for an overdue invoice. It is captured when a dunning run processes the invoice and assigns a dunning level.
Why it matters

This marks the start of automated collections. Tracking dunning activities is key to assessing the effectiveness of the dunning strategy and ensuring compliance with internal policies.

Where to get

This is an explicit event logged in the dunning data tables. The run date (LAUFD) from the dunning header table, MHNK, associated with the invoice indicates when the procedure was executed.

Capture

Extract the dunning run date (MHNK-LAUFD) and dunning level (MHNK-MAHNS) for the specific invoice.

Event type explicit
Invoice Sent To Customer
Represents the moment the invoice was transmitted to the customer, for example, via print, email, or EDI. This is typically captured through SAP's output determination logs which record when an output message was processed.
Why it matters

Delays between invoice generation and sending can extend the entire payment cycle. Tracking this helps identify bottlenecks in customer communication and document distribution.

Where to get

This can be inferred from the processing date and time in the message status table, NAST, where the output type corresponds to a customer invoice. This requires proper configuration of output determination.

Capture

Look for a successfully processed record in the NAST table linked to the invoice's billing document number.

Event type inferred
Payment Posted
Represents the accounting entry of the payment being recorded in the general ledger. In many cases, this happens concurrently with payment receipt but can be a separate step with its own delays.
Why it matters

Delays between receiving cash and posting it can distort financial reporting. Measuring this cycle time helps ensure accounting processes are efficient and accurate.

Where to get

This event can be inferred from the posting date (BUDAT) or creation date (CPUDT) of the clearing document found in the BKPF table. The clearing document number is found in BSAD-AUGBL.

Capture

Use the posting date (BUDAT) from the BKPF table for the clearing document that settled the invoice.

Event type inferred
Promise To Pay Created
This event occurs when a collections agent records a customer's promise to pay an overdue item on a specific date. This is an explicit action within the SAP Collections Management module.
Why it matters

Promises to pay are a key outcome of collection activities. Analyzing their frequency, fulfillment rate, and impact on payment times helps to refine collection strategies.

Where to get

This is an explicit event recorded in SAP Collections Management. The creation date of the promise to pay can be sourced from tables like UDM_P2P_ATTR.

Capture

Use the creation date from promise to pay tables, such as UDM_P2P_ATTR, linked to the invoice.

Event type explicit
Recommended Optional

Extraction Guides

How to get your data from SAP S/4HANA