Your Quality Management Data Template
Your Quality Management Data Template
- Recommended attributes to collect for comprehensive analysis
- Key Quality Management activities to track
- Guidance on extracting data from SAP S/4HANA Quality Management
Quality Management Attributes
| Name | Description | ||
|---|---|---|---|
|
Activity
ActivityName
|
The name of the specific business event or task that occurred within the quality management process. | ||
|
Description
This attribute describes a single step or milestone in the quality event lifecycle, such as 'Notification Created', 'Root Cause Analysis Completed', or 'Usage Decision Made'. These activities are derived from changes in system status, creation of related documents, or specific user actions recorded in change logs. Analyzing the sequence and timing of these activities is the core of process mining. It allows for the discovery of the actual process flow, identification of bottlenecks between steps, and measurement of conformance to standard operating procedures. The granularity of activities determines the level of detail in the process analysis.
Why it matters
This attribute defines the steps of the process, making it possible to visualize and analyze the process flow, identify deviations, and measure performance between activities.
Where to get
Derived from status changes in tables JEST and JSTO, or from activity records in tables like QMSM (Tasks). Event logs can also be constructed from change document tables CDHDR and CDPOS.
Examples
Quality Notification CreatedInvestigation Task AssignedCorrective Action ImplementedNotification Closed
|
|||
|
Quality Event
QualityEvent
|
The unique identifier for a quality notification, serving as the primary case ID for tracking a quality issue from initiation to closure. | ||
|
Description
The Quality Event is the central case identifier that connects all activities, tasks, and decisions related to a single quality issue. In SAP, this typically corresponds to the Quality Notification Number (QMNUM). In process mining, analyzing events by this identifier allows for the reconstruction of the end-to-end journey of each quality case. This is fundamental for visualizing process flows, calculating cycle times for the entire case, and identifying common or deviant paths in the resolution process. It serves as the backbone for almost all quality management analyses.
Why it matters
It is the essential key to link all related activities into a single, cohesive process instance, enabling end-to-end analysis of how quality issues are handled.
Where to get
This is the Quality Notification number, found in the QMEL table, field QMNUM.
Examples
200000018200000019200000020
|
|||
|
Start Time
EventTimestamp
|
The exact date and time when a specific activity or event occurred. | ||
|
Description
The Start Time, or event timestamp, records the precise moment an activity took place. This is crucial for ordering events chronologically and calculating durations between them. For example, it captures when a notification was created, when a task was completed, or when a status was changed. In process mining analysis, this attribute is fundamental for calculating all time-based metrics, such as cycle times, processing times, and waiting times. It enables the identification of bottlenecks, the analysis of throughput, and the monitoring of performance against time-based SLAs or targets. Accurate timestamps are critical for the integrity of the entire process model.
Why it matters
This timestamp is essential for ordering events, calculating all performance metrics like cycle times and waiting times, and understanding process dynamics.
Where to get
Typically sourced from date and time fields associated with status changes or document creation. Examples include ERDAT/ERZEIT (Created on/time) in QMEL or the change timestamps in CDHDR.
Examples
2023-04-15T09:00:12Z2023-04-18T14:35:00Z2023-05-01T11:21:45Z
|
|||
|
Priority
NotificationPriority
|
The priority level assigned to the quality notification, indicating its urgency. | ||
|
Description
Priority defines the urgency for addressing a quality event. It helps teams organize their work and ensures that the most critical issues are handled first. SAP allows for configuring different priority types which can influence target response times. This attribute is used to analyze if high-priority items are actually processed faster than low-priority ones. It can reveal inefficiencies where high-priority cases get stuck in the process. It is a key dimension for dashboards like 'Quality Event Throughput Analysis'.
Why it matters
Helps analyze if process performance aligns with business urgency, ensuring that high-priority issues are resolved faster.
Where to get
Located in the QMEL table, field QMPRI. The description is in table TQ05.
Examples
1234
|
|||
|
Product
MaterialNumber
|
The unique identifier for the product or material affected by the quality event. | ||
|
Description
This attribute links the quality event to a specific product or material. This connection is vital for quality assurance, as it helps identify products with recurring issues or high defect rates. In process mining, analyzing by product enables the detection of patterns, such as whether certain products have longer resolution times or are associated with specific root causes. This supports the 'Recurring Issue Pattern Detection' dashboard by correlating products with quality problems, which is crucial for targeted quality improvement initiatives.
Why it matters
Links quality issues to specific products, enabling analysis of product-specific defect rates, root causes, and resolution patterns.
Where to get
Found in the quality notification item table QMFE, field MATNR.
Examples
FIN-1001RAW-205ASEMI-303B
|
|||
|
Quality Notification Type
QualityNotificationType
|
The classification of the quality notification, such as customer complaint, internal problem, or supplier defect. | ||
|
Description
This attribute categorizes the quality event based on its origin and nature. Standard SAP types include customer complaints, internal problem reports, and vendor-related defects. This categorization determines the subsequent process flow and required documentation. Analyzing the process by notification type is essential for understanding if different types of issues are handled differently or have varying levels of efficiency. It supports dashboards like 'Quality Event Throughput Analysis' by allowing filtering and comparison of cycle times and process paths for different issue categories.
Why it matters
It allows for segmentation of the process to see if different types of quality issues follow different paths or have different performance characteristics.
Where to get
Located in the QMEL table, field QMART.
Examples
Q1Q2F2
|
|||
|
Responsible Department
ResponsibleDepartment
|
The department or functional area responsible for executing a specific task or managing the quality event. | ||
|
Description
This attribute indicates the organizational unit assigned to an activity or the overall quality event. This could be a quality assurance team, an engineering department, or a production unit. This is a critical dimension for analyzing cross-departmental collaboration and handoffs. It helps identify delays that occur when responsibility shifts from one department to another, supporting the 'Cross-Department Handoff Delays' dashboard. It also allows for filtering the process view to understand how specific departments operate.
Why it matters
Crucial for analyzing inter-departmental handoffs, identifying organizational bottlenecks, and understanding how different teams contribute to the process.
Where to get
Often derived from partner functions associated with the notification or task, or from the user's organizational assignment in HR master data. It may not be a direct field.
Examples
Quality AssuranceProduction Line 3Supplier Quality Engineering
|
|||
|
Root Cause
RootCauseCode
|
A code or text identifying the determined root cause of the quality issue. | ||
|
Description
The Root Cause attribute captures the underlying reason for the quality defect or non-conformance. Identifying the correct root cause is a critical step in the quality management process, as it is the basis for defining effective corrective and preventive actions. This attribute is essential for the 'Root Cause Analysis Cycle Time' and 'Recurring Issue Pattern Detection' dashboards. Analyzing by root cause helps to identify systemic problems. For example, by filtering the process map for a specific root cause, one can see if it leads to unique process paths or longer resolution times.
Why it matters
Enables analysis of systemic issues by correlating root causes with products, departments, and process inefficiencies to guide preventive actions.
Where to get
Typically stored in the QMUR table (Notification Causes), field URCOD.
Examples
OPERATOR_ERRORDEFECTIVE_MATERIALMACHINE_MALFUNCTION
|
|||
|
Target Resolution Date
TargetResolutionDate
|
The planned or required completion date for the quality event. | ||
|
Description
This date represents the deadline by which the quality event is expected to be fully resolved and closed. It is often used as a benchmark for measuring performance and adherence to service level agreements (SLAs). This attribute is fundamental for calculating on-time completion rates and identifying overdue cases. The 'Quality Event On-Time Completion' dashboard and the 'Quality Action On-Time Rate' KPI are directly dependent on comparing the actual completion date with this target date. It helps in prioritizing work and managing resources effectively.
Why it matters
Provides a baseline for measuring on-time performance, which is a critical KPI for assessing process efficiency and compliance with SLAs.
Where to get
Can be found in QMEL-QMDAT (Required end date) or at the task level in QMSM-PSTER.
Examples
2023-05-302023-06-152023-07-01
|
|||
|
User
ChangedBy
|
The user ID of the person who performed the activity or made the last change. | ||
|
Description
This attribute identifies the specific user responsible for executing a given process step. In SAP, this often corresponds to the 'Changed By' (AENAM) or 'Created By' (ERNAM) fields. Analyzing by user helps in understanding workload distribution, identifying training needs, and pinpointing user-specific process deviations. It is fundamental for resource-based analysis, such as investigating why certain users have longer processing times or tend to follow non-standard paths.
Why it matters
It enables analysis of user performance, workload distribution, and adherence to standard procedures, which is key for resource optimization.
Where to get
Found in header and item tables like QMEL-ERNAM (Created by) or derived from change logs (CDHDR-USERNAME).
Examples
SMITHJWILSONAPROCESS_AUTOMATION_BOT
|
|||
|
Action Effectiveness
EffectivenessEvaluation
|
The outcome of the verification check to determine if an implemented action was effective. | ||
|
Description
This attribute records the result of the effectiveness check, a crucial final step in the quality management loop. It confirms whether the corrective or preventive actions taken have successfully resolved the root cause and prevented recurrence. This is the primary attribute for the 'Action Effectiveness Verification' dashboard and the 'Action Effectiveness Verification Rate' KPI. It provides direct insight into the quality of the problem-solving process itself. A high rate of ineffective actions indicates a need to improve the root cause analysis or action planning stages.
Why it matters
Directly measures the success of the problem-solving process, indicating whether actions are truly preventing issue recurrence.
Where to get
This information is often stored in follow-up actions or specific task statuses within the quality notification. It may be a custom field or based on a specific status code.
Examples
EffectiveNot EffectiveMonitoring Required
|
|||
|
Activity Processing Time
ProcessingTime
|
The duration of time spent actively working on a single activity. | ||
|
Description
Processing Time, also known as cycle time, is the time elapsed from the start to the end of a single activity. This is distinct from waiting time, which is the time spent between activities. It is calculated by taking the difference between the start and end timestamps of an activity. This metric is fundamental for identifying which specific tasks are the most time-consuming. In the 'Process Bottleneck Identification' dashboard, high processing times for certain activities can indicate complexity, lack of resources, or inefficient procedures. It helps pinpoint exactly where to focus process improvement efforts.
Why it matters
Measures the time spent on value-adding activities, helping to identify the most time-consuming steps in the process that are prime candidates for optimization.
Where to get
Calculated field derived from the start and end timestamps of each activity in the event log. (EndTime - StartTime).
Examples
2 hours 15 minutes3 days 4 hours30 minutes
|
|||
|
Customer
CustomerNumber
|
The identifier for the customer associated with the quality event, if applicable. | ||
|
Description
This attribute links a quality event to a specific customer. This is most relevant for notification types like 'Customer Complaint'. Tracking this information is vital for customer relationship management and for understanding the customer impact of quality issues. Analyzing by customer allows the business to identify if certain customers experience more quality issues than others, or if resolution times vary by customer. This supports the 'Quality Events By Severity And Impact' dashboard by adding the customer dimension to the analysis of impact.
Why it matters
Connects quality events to customers, enabling analysis of customer-specific issues and ensuring high-value customers receive priority support.
Where to get
Usually found in partner functions for the notification. Can also be in QMEL-KUNUM if it's a complaint from a sales order.
Examples
CUST-10045CUST-20399CUST-80110
|
|||
|
Is Rework
IsRework
|
A boolean flag that indicates if an activity or sequence of activities represents rework. | ||
|
Description
This flag is set to true if a case repeats certain steps, indicating that the initial work was insufficient. For example, if a 'Root Cause Analysis' activity is followed later by another 'Investigation Task Assigned' for the same case, it signals a rework loop. This attribute directly supports the 'Corrective Action Rework Rate' KPI. Identifying and quantifying rework is a primary goal of process mining, as rework represents wasted effort and process inefficiency. Highlighting rework loops in the process map can reveal significant opportunities for improvement in quality and efficiency.
Why it matters
Quantifies process inefficiency by identifying when steps are repeated, highlighting wasted effort and opportunities to improve first-time-right rates.
Where to get
This is a calculated attribute. It is derived during process mining analysis by detecting repeated sequences of activities within a single case.
Examples
truefalse
|
|||
|
Last Data Update
LastDataUpdate
|
The timestamp indicating when the data for this record was last refreshed from the source system. | ||
|
Description
This attribute provides a timestamp for the last data extraction or update from the source system. It informs users about the freshness of the data they are analyzing. In any analytical dashboard or report, displaying this information is key to managing user expectations about data currency. It helps distinguish between recent process changes and artifacts of stale data.
Why it matters
Informs users of the data's freshness, which is critical for making timely and accurate decisions based on the process mining analysis.
Where to get
This is a metadata field generated and populated by the data extraction tool or pipeline at the time of data refresh.
Examples
2023-10-27T02:00:00Z2023-10-28T02:00:00Z
|
|||
|
Notification Status
SystemStatus
|
The current processing status of the quality notification, such as 'Outstanding' or 'Completed'. | ||
|
Description
The system status indicates the current state of the quality event in its lifecycle. SAP uses a status management system where statuses like OSNO (Outstanding Notification), NOPR (Notification in Process), and NOCO (Notification Completed) reflect progress. This attribute is often used to derive the activities in the event log. It is also valuable as a dimension for filtering cases, for example, to analyze only open or recently closed quality events. Understanding status transitions is key to building an accurate process model.
Why it matters
Indicates the current state of a case, allowing for filtering of active versus closed cases and helping to derive the process activities themselves.
Where to get
Derived from the JEST and JSTO tables, which store status information for various SAP objects. The link is from QMEL-OBJNR.
Examples
OSNO NOPRNOCOTSCO
|
|||
|
On-Time Completion
IsOnTimeCompletion
|
A boolean flag indicating whether the quality event was completed by its target resolution date. | ||
|
Description
This calculated flag compares the actual completion timestamp of a quality event with its 'Target Resolution Date'. It is true if the event was closed on or before the target date, and false otherwise. This attribute provides a simple, direct measure for performance monitoring and is the basis for the 'Quality Event On-Time Completion' dashboard and the 'Quality Action On-Time Rate' KPI. It allows for easy filtering and aggregation to understand on-time performance across different dimensions like department, product, or notification type.
Why it matters
Provides a clear, binary outcome for performance tracking against deadlines, making it easy to measure and report on SLA compliance.
Where to get
Calculated attribute derived by comparing the timestamp of the final closing activity with the 'TargetResolutionDate' attribute.
Examples
truefalse
|
|||
|
Plant
Plant
|
The manufacturing plant or location where the quality event originated or is being managed. | ||
|
Description
The Plant attribute specifies the physical location, such as a factory or warehouse, associated with the quality event. It provides a geographical or organizational context for where quality issues occur. This is a powerful dimension for comparative analysis. By filtering or grouping by plant, management can compare the performance of different locations, identify site-specific problems, and share best practices from high-performing plants. It helps answer questions like 'Which plant has the longest root cause analysis cycle time?'.
Why it matters
Allows for performance comparison across different operational locations, helping to identify site-specific issues and best practices.
Where to get
The plant associated with the notification header is in QMEL-WERKS. If related to a specific material, it can also be found at the item level.
Examples
100017102000
|
|||
|
Source System
SourceSystem
|
Identifies the source system from which the data was extracted, such as the specific SAP S/4HANA instance. | ||
|
Description
This attribute specifies the origin of the quality management data. In an environment with multiple ERPs or integrated systems, this field is crucial for distinguishing data sources and ensuring data integrity. For analysis, it allows for filtering or comparing processes across different systems or organizational units. It is often a constant value for a given dataset but is mandatory for data governance and context.
Why it matters
Provides essential context about the data's origin, which is crucial for data governance and in environments with multiple interconnected systems.
Where to get
This is typically a static value added during the data extraction process to identify the SAP S/4HANA client and system ID.
Examples
S4H_PROD_100SAP_QM_EUS4HANA_QAS_200
|
|||
Quality Management Activities
| Activity | Description | ||
|---|---|---|---|
|
Action Effectiveness Verified
|
Confirms that the implemented corrective or preventive action was successful and the quality issue is resolved without recurrence. This is captured upon completion of the effectiveness check task or a final quality review. | ||
|
Why it matters
This is a critical milestone for validating the entire resolution process. A high rate of successful verifications indicates an effective quality management system and supports a reduction in recurring issues.
Where to get
Typically inferred from the completion of an 'Effectiveness Check' task in the QMSM table (using completion date ERLDT).
Capture
Identify the completion timestamp of the effectiveness verification task in QMSM.
Event type
inferred
|
|||
|
Corrective Action Implemented
|
Marks the completion of the work defined in the corrective action plan. This is typically captured when the assigned corrective action task within the quality notification is marked as complete. | ||
|
Why it matters
This is a key milestone indicating that steps have been taken to resolve the quality issue. It is crucial for measuring the on-time completion rate of actions and the overall efficiency of the resolution phase.
Where to get
Inferred from the completion of a corrective action task in the QMSM table. The completion date is recorded in the ERLDT field or via a 'Completed' status change in tables JEST/JCDS.
Capture
Identify the completion timestamp (ERLDT) of the corrective action task in the QMSM table.
Event type
inferred
|
|||
|
Notification Completed
|
Indicates the business completion of the quality notification, signifying that all required actions have been taken and the issue is resolved from an operational standpoint. This is a formal status change in the system. | ||
|
Why it matters
This activity serves as the primary end-point for measuring the business resolution time. It confirms that from a process owner's view, the case is finished, even if technical closure is pending.
Where to get
Inferred from a status change on the Quality Notification object. This is captured by identifying the timestamp when a status like 'NOCO' (Notification completed) is set in the JCDS table.
Capture
Identify the timestamp when the 'Notification completed' status is set in the JCDS table.
Event type
inferred
|
|||
|
Quality Notification Created
|
This activity marks the official start of the quality management process, where a quality-related issue, defect, or complaint is formally logged. The creation of the Quality Notification in SAP S/4HANA captures the initial details and assigns a unique identifier, initiating the case. | ||
|
Why it matters
As the primary start event, this activity is essential for measuring the end-to-end cycle time of the quality resolution process. It provides the baseline for tracking how long it takes to address and close quality events.
Where to get
This is an explicit event captured from the Quality Notification header table QMEL. The creation timestamp is typically found in the ERDAT field for the corresponding notification number QMNUM.
Capture
Use creation timestamp (ERDAT) from the QMEL table for the given notification.
Event type
explicit
|
|||
|
Root Cause Analysis Completed
|
Marks the completion of the investigation phase where the underlying cause of the quality issue has been identified. This is typically inferred from the completion of a specific 'Root Cause Analysis' task within the notification. | ||
|
Why it matters
This is a critical milestone for measuring the duration and efficiency of the investigation process. Identifying delays before this step helps pinpoint bottlenecks in problem analysis and decision making.
Where to get
Inferred from the completion of an investigation or RCA-specific task in the QMSM table. The completion is identified by a status change or the population of the task completion date field (ERLDT).
Capture
Identify the completion timestamp (ERLDT) of the relevant root cause analysis task in the QMSM table.
Event type
inferred
|
|||
|
Usage Decision Made
|
Represents the formal decision on the quality of goods from an inspection lot, such as acceptance or rejection. This is a distinct event for quality issues originating from inspections and is captured when the usage decision is saved. | ||
|
Why it matters
For inspection-driven processes, this is a major milestone that dictates subsequent actions like material blocking or release. Analyzing its timing and outcomes is key to understanding product quality control efficiency.
Where to get
This is an explicit event recorded in the usage decision table QAVE. The creation timestamp of the record associated with the inspection lot (PRUEFLOS) signifies this activity.
Capture
Use the creation timestamp for the relevant inspection lot in the QAVE table.
Event type
explicit
|
|||
|
Action Plan Approved
|
Signifies that a proposed corrective or preventive action plan has been reviewed and approved to proceed with implementation. This step is often not a distinct event and may be inferred from the release of a task for processing. | ||
|
Why it matters
Long delays at this approval stage can significantly slow down the entire resolution process. Analyzing this duration helps identify administrative bottlenecks and opportunities to streamline governance.
Where to get
This is typically inferred from a status change on a task in table QMSM, such as 'Released'. The timestamp for this status change would be found in the JCDS table, linked to the task object.
Capture
Identify the timestamp when the 'Released' status is set for the corrective or preventive action task.
Event type
inferred
|
|||
|
Corrective Action Proposed
|
This activity represents the point where a plan to correct the identified issue is formally documented. In SAP, this is often captured through the creation of a 'Corrective Action' task within the quality notification. | ||
|
Why it matters
This event initiates the resolution phase of the process. Measuring the time from root cause analysis to this step can reveal delays in action planning.
Where to get
This event is captured when a task with a 'Corrective Action' code is created in the QMSM table for the relevant Quality Notification.
Capture
Use the creation timestamp (ERDAT) from the QMSM table for tasks with a corrective action type.
Event type
explicit
|
|||
|
Effectiveness Check Required
|
Indicates that a follow-up verification is needed to confirm that the implemented actions have successfully resolved the issue. This is often represented by a specific status on the notification or the creation of a dedicated verification task. | ||
|
Why it matters
This activity ensures that the quality management process includes a crucial validation loop. It separates the implementation of an action from the confirmation of its success.
Where to get
Can be inferred from a status change on the Quality Notification (via JEST/JCDS) or the creation of a specific 'Effectiveness Check' task in the QMSM table.
Capture
Identify timestamp of status change or creation of a verification task in QMSM.
Event type
inferred
|
|||
|
Investigation Task Assigned
|
This event occurs when a specific task, such as investigating the root cause, is formally created and assigned to a person or department. This is captured when a task record is created within the Quality Notification. | ||
|
Why it matters
Tracking task assignment is crucial for understanding workload distribution and identifying bottlenecks in resource allocation. It marks the start of the investigation phase, a key input for measuring root cause analysis cycle time.
Where to get
Captured from the task management table QMSM, linked to the Quality Notification. The creation date (ERDAT) of a task with a relevant code, e.g., for investigation, marks this event.
Capture
Use creation timestamp (ERDAT) from the QMSM table for tasks related to investigation.
Event type
explicit
|
|||
|
Notification Closed
|
Represents the final, technical closure of the quality notification in the system. After this point, no further changes can be made to the notification, marking the absolute end of the record's lifecycle. | ||
|
Why it matters
This activity provides the final end event for the process. Analyzing the time between 'Notification Completed' and 'Notification Closed' can reveal delays in administrative closing procedures.
Where to get
Inferred from a status change on the Quality Notification, specifically when an archival or final closing status is set. This change is logged with a timestamp in the JCDS table.
Capture
Identify the timestamp when the final 'Closed' status is set for the notification in the JCDS table.
Event type
inferred
|
|||
|
Notification Put In Process
|
Represents the moment a newly created notification is actively picked up for processing by the quality team. This is typically an inferred event, derived from a system status change indicating that work has commenced. | ||
|
Why it matters
This activity helps distinguish between the mere logging of an issue and the actual start of work. Analyzing the time lag between creation and this step reveals potential delays in issue acknowledgement and resource assignment.
Where to get
Inferred from a status change on the Quality Notification object. This can be tracked by analyzing status change logs in tables JEST and JCDS for a status like 'NOPO' (Notification in process).
Capture
Identify the timestamp when the 'in process' status is set for the notification in the JCDS table.
Event type
inferred
|
|||
|
Preventive Action Implemented
|
Marks the successful execution of the planned preventive action. This is captured by recording the completion of the corresponding preventive action task in the system. | ||
|
Why it matters
The completion of preventive actions is a vital step in mature quality processes. Tracking this activity helps measure the commitment to preventing future issues and reducing recurring problems.
Where to get
Inferred from the completion of a preventive action task in the QMSM table, indicated by the ERLDT field or a 'Completed' status change.
Capture
Identify the completion timestamp (ERLDT) of the preventive action task in the QMSM table.
Event type
inferred
|
|||
|
Preventive Action Proposed
|
This activity occurs when a plan is created to prevent the recurrence of a quality issue. Similar to corrective actions, it is often captured through the creation of a 'Preventive Action' task. | ||
|
Why it matters
This event is critical for assessing the organization's focus on proactive quality improvement rather than just reactive fixes. It marks the start of long-term resolution efforts.
Where to get
This event is captured upon the creation of a task with a 'Preventive Action' code in the QMSM table for the specific Quality Notification.
Capture
Use the creation timestamp (ERDAT) from the QMSM table for tasks with a preventive action type.
Event type
explicit
|
|||
|
Stakeholders Notified
|
Represents the communication of the resolution to relevant stakeholders, such as customers or internal departments. This is rarely an automated system event and is often a manual step. | ||
|
Why it matters
Timely stakeholder communication is critical for customer satisfaction and transparency. Measuring the delay between closure and notification can highlight gaps in communication processes.
Where to get
This activity is difficult to capture directly from SAP. It may be inferred from the completion of a manual task in QMSM labeled 'Notify Stakeholder' or would require analysis of external systems like email logs.
Capture
Identify completion of a manual communication task, if one is used. Otherwise, this is not typically available.
Event type
inferred
|
|||