Configuring Usage Decisions

Objective

After completing this lesson, you will be able to configure usage decisions

Configuring Usage Decisions

As Application Consultant, you configure usage decision codes in the customizing of SAP S/4HANA. Play the video to get introduced to the configuration tasks.

The following figure shows an example of a list of code groups and codes with possible usage decision codes. The codes are grouped together into two selected sets. The first set contains codes used for inspection lots from procurement. The second set contains codes used for inspection lots from production.

The image shows a list of code groups and codes with possible usage decision codes. The codes are grouped together into two selected sets. The first set contains codes used for inspection lots from procurement. The second set contains codes used for inspection lots from production. For more information, refer to the following text.

As an Application Consultant, you are responsible for defining codes and code groups for usage decisions in catalog type 3. Unlike in R/3, UD codes are considered configuration objects, so they must be defined in Customizing (IMG: Quality ManagementQuality InspectionInspection Lot CompletionEdit Code Groups and Codes for Usage Decisions and Edit Selected Sets for Usage Decisions).

In this example, two code groups have been defined. The first code group includes all variants of acceptance (such as accepted, accepted with minor deviations, etc.), while the second code group includes all variants of rejection (such as rejected, rejected - rework required, etc.). To use these codes for making a usage decision, they must be grouped in selected sets and also assigned a valuation. In this example, there are two selected sets: the first one is used by default for goods receipt inspections of procured materials, and the second one is used for goods receipt inspections from production. It's important to note two things:

  • In a selected set, the Application Consultant combines codes from multiple code groups. For example, the code Accepted with minor deviations is maintained in the code group Accepted, and the code Rejected - Rework required is maintained in the code group Rejected.

  • A selected set does not need to contain all codes. You can limit the codes required for the business process, allowing the Quality Engineer to select from a list of reasonable codes.

Hint

It is recommended to maintain one selected set for each business process (for example, goods receipt, production, stock transfer, etc.). When defining an inspection type in Customizing, the Application Consultant assigns the selected set to the inspection type. This ensures that the system only allows usage decisions that are included in the selected set for the inspection type.

The following two images demonstrate how to maintain a selected set for the usage decision:

The Application Consultant defines a selected set for each business process and assigns a default code for the Quick Usage Decision. For more information, refer to the following text.

In this example, the Application Consultant defines several selected sets in step 1. Each selected set exists in plant 1010 and is used in a different business process, such as Goods Receipt (→ 01), Goods Issue (→ 02), Production (→ 03), and more. For each selected set, a default code group and code are defined in step 2. The system will use this code when the user makes a Quick Usage Decision in the Manage Usage Decisions app. To add codes to the selected set, the user selects a line item and opens the folder on the left in step 3.

Then, they add codes to the selected set, assign a valuation, a quality score, and the movement type for automatic stock posting. For more information, refer to the following text.

The Application Consultant has added a list of codes from catalog type 3 to the selected set 01 Goods Receipt (step 1). For each code, they must enter a valuation (Accepted or Rejected; step 2). In step 3, they assign a quality score (a value between 1 and 100). This quality score will be used if the Quality Planner, defined in the inspection type in the material master, determines that the quality score during usage decision originates from the selected UD code. In the final step (step 4), the Application Consultant can assign a movement type, which the system will use for the posting proposal and the automated goods posting when the Quality Engineer saves the usage decision. To enable automatic goods posting, also set the Background indicator, which is not displayed in the screenshot.

Let's consider two examples:

  1. The first entry pertains to code A - Accept. This code is valuated as accepted in plant 1010. It has a quality score of 100 points (the highest grade) and automatically moves the inspection lot stock to unrestricted use stock.
  2. The entry R - Rejected is valuated as rejected in plant 1010. It has the lowest possible quality score (1 point) and there will be no automated goods movement when the Quality Engineer uses this code. Consequently, the stock controlled by the inspection lot will not be automatically moved out of the quality inspection stock and will remain there until the Quality Engineer explicitly makes a stock posting in the Manage Usage Decision app.

Additionally, the Application Consultant can assign a follow-up action (for example, send an email, change a status, etc.) that the system will automatically execute together with the usage decision.

Hint

Follow-up actions are defined in Customizing: Quality ManagementQuality InspectionInspection Lot CompletionDefine Follow-Up Actions for Usage Decisions. You can define chains of follow-up actions that the system performs in sequence.

The follow-up actions consist of function modules. You can assign several function modules to a follow-up action. You should also review the IMG documentation when you decide to implement you own follow-up actions.

Let's delve deeper into the automatic stock posting at usage decision. There are two alternative approaches:

  • The system proposes the stock transfer.

    To use this approach, select a value in the field Posting in U" and do not flag the Background field. When the Quality Engineer makes a usage decision, they select a button that proposes moving the inspection lot quantity to the selected stock type. If necessary, the proposed quantities can be changed, for example, if a quantity split is required for unrestricted use stock, sample consumption, blocked stock, etc.

  • The system automatically performs the stock transfer.

    To use this approach, select a value in the field Posting in UD and flag the Background field. When the Quality Engineer makes a usage decision, the system automatically moves the entire lot quantity to the selected stock type. This transfer posting cannot be prevented, and no authorization is required for it.

Hint

To ensure that the stock is automatically moved out of quality inspection when making a Quick Usage Decision, we recommend using the second scenario in combination with the default code. This will prevent the stock from remaining in quality inspection after the decision is made. The same principle applies to the automated Usage Decision for skip lots and lots without rejected characteristics or defects, which will be discussed in the next chapter.

If you use your own movement types, the Application Consultant can assign them to the posting proposal in Customizing (IMG: Quality ManagementQuality InspectionInspection Lot CompletionDefine Inventory Postings).

Automatic Usage Decision

Implementing automated usage decisions in can significantly streamline quality inspection processes by efficiently handling inspection lots that are either skipped or found to have no problems. By automating this aspect of quality management, you can reduce the manual workload of Quality Engineers, allowing them to focus on more critical tasks that require their expertise and judgement. The following image shows two examples:

The image shows two variants of automated usage decisions using a job that is started at regular intervals. For more information, refer to the following text.

When automating the usage decision, we consider two scenarios:

  • Skipped inspection lots: By default, inspection lots that are skipped bypass quality inspection to save costs and effort. However, the system still creates these lots to allow for an unplanned quality inspection if necessary.

    In the upper section of the image, the automated usage decision for a lot in skip status is shown. For example, the system creates the lot at 7:45 when the goods receipt for the purchase order item is posted. To allow for an unplanned quality inspection, the Application Consultant has defined a delay time of 60 minutes for skip lots. Therefore, the earliest possible time for the automated usage decision is 8:45. Since the automated usage decision is performed by a periodically running job with a 1-hour interval, running at the full hour, the system performs the automated usage decision at 9:00.

  • Inspection lots without rejected characteristics and/or defects: For these lots, a regular quality inspection has been performed. However, the lot quantity is acceptable, meaning:

    • No inspection characteristic was rejected.

    • All required inspection characteristics were confirmed and completed.

    • There are no defect records or quality notifications for the inspection lot.

    This scenario is displayed in the lower section. The lot was created at some point in the past. The last result was recorded, completed, and evaluated at 7:45. The Application Consultant has defined a waiting time of 1 hour, so the earliest possible time for the automated usage decision is 8:45. Since the automated usage decision is performed by a periodically running job with a 1-hour interval, running at the full hour, the system performs the automated usage decision at 9:00.

To configure automated usage decisions, the following steps are required:

  • The Application Consultants defines the waiting time and the delay time for the plant in customizing (IMG: Quality ManagementQuality InspectionInspection Lot CompletionPlan Automatic Usage Decision).

  • The Application Consultant defines one or more job variants in the app Schedule Automatic Usage Decision. Here, they specify the plant, the inspection type, whether the job applies for skipped lots, for completed lots, or for both types of lots. Also, they define a default UD code.

    Hint

    Use a UD code that automatically performs stock posting. Otherwise, the inspection lot stock stays in quality inspection, requiring an additional manual step.

  • The Quality Planner enables Automatic UD in the inspection type settings in the material master.

Note

You can also manually run the job for the automated usage decision using the app Trigger Automatic Usage Decision if you have not defined a periodic job or the next job run occurs to late.

The system documents the automatic usage decision in the long text for the usage decision.

For the second scenario, the system offers a technical alternative that functions slightly differently: You can specify that an immediate usage decision is made directly after recording the results. This approach has the advantage of not having to wait until the next job run to automatically perform the usage decision. To use this function, the Application Consultant must enable the settings described in the Application Help.

Inspection lots for production orders (inspection lot origin 03) are a special case. The Quality Engineer or Production Supervisor must make formal decisions for these inspection lots, once the orders have been completed (even though these usage decisions have no bearing on the use of the lot quantity since lots of origin 03 are not stock relevant). These formal usage decisions only update the status of the inspection lots, so that they can be identified as completed and ready for archiving. The evaluation of inspection results does not play a part in this type of automatic usage decision. To plan and execute a respective job, use the app Schedule Automatic Usage Decision for Production.

Stock Posting and Batch-Related Functions During Usage Decision

Stock Posting with the Usage Decision

The following image shows an example of a manual stock posting together with the usage decision.

The image shows an example of a manual stock posting together with the usage decision. For more information, refer to the following text.

The example demonstrates a stock-relevant inspection stock with a lot quantity of 100 PC in quality inspection. After reviewing the inspection results provided by the Quality Technician, the Quality Engineer decides to allocate the stock as follows:

  • 80 PC for unrestricted use: The quantity is acceptable and can be used in subsequent processes.

  • 2 PC for scrap: Two items are irreparably damaged and must be discarded.

  • 16 PC for blocked stock: The quantity has been identified as damaged during inspection. However, it is uncertain whether it will be returned to the supplier, scrapped, or repaired in-house. Therefore, the Quality Engineer moves this quantity to blocked stock until a decision is made.

  • 2 PC for return posting: The quantity has been identified as damaged and needs to be sent back to the supplier for repair. Please note that this movement type directly removes the quantity from your company's stock. If you prefer an alternative approach for managing returns using quality notifications, do not use this movement and instead post the goods to blocked stock. We will discuss this approach in a later part of this course.

The system automatically considers the quantities of materials destroyed during a quality inspection when making stock postings for an inspection lot. It suggests the respective quantity in the To Sample Consumption field. To configure this function, the Quality Planner enables the Destructive Sample setting in the inspection characteristics control key. Depending on your business process, the Additive Sample setting may also be relevant in this context. Enabling this indicator increases the sample quantity by the amount needed to inspect this characteristic. For more information and an example, refer to the system and the value help of the respective fields.

Note

It is not possible to reverse goods movements that were generated from usage decision transactions. If you require this function, see SAP Note 175842.

Usage Decision for Batch-Managed Materials

When the Quality Engineer makes a usage decision for an inspection lot with a batch-managed material, the system provides additional functions:

  • Changing the status of the batch
  • Posting the quantity to a different batch
  • Transferring the inspection results, usage decision, and quality score to the batch characteristics

The process for an externally procured batch-managed material is illustrated in the image below:

During goods receipt of a batch managed material, the system creates an inspection lot and a batch in status blocked. Then, results are recorded which are all accepted. During usage decision, a UD code with valuation accepted is chosen. This UD code is configured to change the batch status to unrestricted.

The example demonstrates the management of a material (paint) in batches. In step 1, the Warehouse Clerk posts the goods receipt for the purchase order item. As the material master has an active inspection type for goods receipt inspection, the system generates an inspection lot. The inspection lot header also includes the batch number CH01, which the system created during the goods receipt posting. In step 2, the Quality Technician records the inspection results, which are all within the specified limits and therefore accepted. In step 3, the Quality Engineer makes a usage decision and selects the UD code Accepted - Release Batch. The Application Consultant configured this code in the selected set, so that along with the automatic stock posting, the system changes the batch status to unrestricted. Now, the batch is available for subsequent processes, such as production.

When using the app Record Usage Decision, the Quality Engineer also has the option to split the lot quantity and distribute it across multiple batches. From a business perspective, this alternative is used, for example, when the supplier delivers 300 liters of paint in three containers. During quality inspection, it is observed that the quality of the paint in container one differs from the quality of the paint in containers two and three. In such cases, the containers with identical properties can be grouped into one batch.

To transfer inspection results to batch characteristics when making the usage decision, the Quality Planner linked the master inspection characteristic to the batch characteristic. This was discussed in detail in the lesson on Setting up Master Inspection Characteristics.

Note

In addition to inspection results, you can also transfer the usage decision code and the quality score to the batch. To do this, add the default characteristics LOBM_UDCODE and LOBM_QSCORE to the batch class of the material.

This option is recommended if you need to access this inspection information for later batch search strategies. For example, you can use it to search for a suitable batch of raw material to use in production or sales.

Log in to track your progress & complete quizzes