# How to Create a Status Profile in SAP QM (BS02)

> Source: https://netray.co/erp-help/sap-qm-create-status-profile-bs02-how-to
> Publisher: Netray (netray.co), AI and integration engineering for ERP and manufacturing systems.
> Section: ERP Help

## Short answer

A user status profile adds your own statuses to QM objects such as quality notifications, tasks and inspection lots. Create it in BS02, choose the object types, define statuses with numbers and an initial status, set which business transactions each status allows or forbids, and then assign the profile in the QM IMG for the object type.

## Kind

how-to

## System

sap

## Erp

SAP S/4HANA and ECC

## Module

Quality Management (QM) / User Status Profiles

## Query

how to create status profile in sap qm

## Alternate Queries

- sap bs02 status profile
- user status profile inspection lot sap
- status profile quality notification sap

## Applies To

SAP ECC 6.0 and SAP S/4HANA on-premise with QM

## Steps

### Create and assign a status profile

**Items:**

- Run BS02 (Maintain Status Profile). Choose Create and enter a profile name, a short text and the maintenance language.
- Select the object types the profile applies to, such as Quality notification header, Notification task or Inspection lot.
- Define the statuses: a status key, description, and a status number if you want a sequence. Mark the initial status.
- For each status, set the lowest and highest status number allowed next if you want to control the order of status changes.
- In Business Transaction Control, set which transactions each status allows, warns on or forbids, such as 'Complete' or 'Usage decision'.
- Save to a customizing request.
- Assign the profile in SPRO: for notifications, in the notification type; for tasks, in the notification type's task status profile; for inspection lots, in the Quality Inspection customizing under inspection lot creation.

## Sections

### System status versus user status

**Body:**

SAP sets system statuses automatically, such as created, released or UD made. User statuses are your own, such as 'Awaiting supplier response' or 'Approved by engineering'. They sit alongside the system status, and both are visible in the object.

The advantage of user statuses is that they can control the business flow. A status can forbid the usage decision until a particular approval status is set, for instance.

Use them sparingly. Every status adds training and test effort, and a long profile is rarely followed.

### Status numbers and transaction control

**Body:**

Status numbers set a sequence. With a number set, a user can move from status 10 to 20 but not skip to 40 if the lowest and highest rules say so. If you do not need a sequence, leave numbers empty and let users set any status.

Business transaction control is where the status gets teeth. For each status, a business transaction such as 'Notification completion' is set to Allowed, Warning or Forbidden. This is how you implement 'the notification cannot be completed until the corrective action is verified'.

Authorization codes can restrict who may set a status. You define the authorization code in the profile and then grant it in a role. This is a good fit for approvals.

**Code:**

- BS02    Maintain status profile
- BS03    Display status profile
- QM01    Create quality notification
- SPRO > Quality Management > Quality Notifications > Notification Creation > Notification Types

### Assignment and testing

**Body:**

For notifications, the status profile is assigned on the notification type and a separate one can be set for tasks. Existing notifications created before the assignment do not get the new statuses automatically, so create a test notification.

For inspection lots, the user status profile is assigned through the inspection lot customizing. The exact node depends on your release, so search the IMG for 'status profile' under Quality Inspection if you cannot find it.

Always test the full path: create the object, change status in the allowed order, then try a forbidden transaction and confirm the error message. Document the profile so support knows what each status means.

## Pitfalls

- Creating a profile but never assigning it in the notification type or inspection customizing.
- Defining many statuses with no business transaction control, so the statuses are only labels.
- Forgetting that existing objects do not pick up a newly assigned profile.
- Changing statuses in production without a transport, so development and production differ.
- Leaving the initial status unset, so new objects have no user status.

## Ai Angle

Status profiles often grow until nobody remembers why a transaction is forbidden. A grounded assistant can read the profile, list the statuses and the transactions each blocks, and explain to a quality engineer why a notification cannot be closed. Netray can run the assistant on your own servers so the explanation draws on live configuration without exposing it to an outside service.

## Faq

### What is the tcode for a status profile in SAP?

**Answer:** BS02 creates and changes user status profiles, and BS03 displays them. The profile is then assigned in customizing for each object type.

### Can a user status block a usage decision?

**Answer:** Yes, if the status profile applies to the inspection lot and the business transaction for the usage decision is set to Forbidden in the status. The user must reach an allowed status first.

### What is the difference between a status profile and a status?

**Answer:** The profile is the container with the list of user statuses for an object type. Each status in it is one value an object can have, with its own rules about what is allowed.

### Do I need a transport for a status profile?

**Answer:** Yes. BS02 saves to a customizing request and you transport it like any other configuration. Remember to transport the assignment in the QM IMG as well.

## Search terms

how to create status profile in sap qm, sap bs02 status profile, sap user status profile qm, quality notification status profile sap, inspection lot user status sap, sap business transaction control status, sap status profile authorization code

---
Talk to an engineer: https://netray.co/contact?intent=erp_ai | Machine catalog: https://netray.co/agent/catalog.json
