In SAP rework orders are created using trigger point. This blog present, creation of rework order with help of trigger point but we will be using reason for variance to create rework order.
Status profile: A status profile contains the individual user statuses and the business transaction rules defined for those statuses. You can define multiple limit number of user status profiles that can be maintained in SAP system.
Rework order: As we all know that rework might be of different problems/issues. These issue can be solve by single operation or might take multiple operation. It is also possible that even after doing the rework our product can not be use or fulfil our desire results.
Business Requirement:
Client has 5 operations, in that for the last operation they want to do rework if there is any rework quantity for Burr/dent issue only. Rework order should be created automatically if there is burr on the material. For reworking the burr, they use a specific operation called buffing. They want that cost of rework should go to main/actual production order.
Pre-requisites:
1. Create Status Profile: (T-code-BS02)
First we need to create a status profile.
Create a status profile as Rework & give a user status ZRW (Rework Order Created). Select Object types as PP/PM: operation.
2. Create Reason for Variance: (T-code-OPK5)
As per the requirement we have to create a reason for variance i.e. burr on material.
Create a reason for variance as ZRW (Burr – Create Rework Order). Assign the user status (Rework) & select the user status (ZRW) to this reason.
3. Create a ROS for rework (T-code-CA11).
As they will be using only buffing operation so we will create an reference operations set (ROS) with buffing as operation.
Rework ROS: Assign rework work center & give name to the operation.
4. Create Trigger Point (T-code-CO31)
In trigger point select function as: Create order with reference & assign the user status profile ZRW that we have created with help of status profile.
In parameter maintain below details:
- Assign User status as ZRW.
- Group & Group Counter: ROS that we have created.
- Order Type: ZRW (Rework Order Type).
Setup:
1. Assign status profile to standard order type in (T-code-OPJH).
As we are dealing at operation level therefore assign status profile to operation level.
2. In main routing assign, the trigger point to last operation OP50 (T-code-CA02).
Open Routing>>>Go to operation overview screen>>>click on go to>>>select trigger point overview.
Assign the trigger point to last operation (OP50).
We are able to see that trigger point is assigned to operation 50 which is our last operation.
Testing scenario:
We have a production order of 50 qty. & in that we have found 10 qty. that need to be reworked for burr.
First do the following steps:
- Create a production order with standard order type for production (PP01).
- Release the production order.
- Do the goods issue to production order with help of MIGO.
- Also, Confirm the first four (OP10, OP20, OP30, OP40) operations in CO11N.
We are considering that we have not found any burr related issue in the first four operations.
1. Go to confirmation of last operation (CO11N).
As mentioned above maintain rework quantity as 10qty.
Once you save the confirmation with Rework quantity & reason for variance as Burr (Create Rework Order).
Trigger point will be triggered & will create a Re-work production order.
2. Now to see the re-work order go to COOIS.
We can see that the rework order has been created with order type ZRW of 10 qty.
3. Open rework order & go to settlement header.
We can see that rework order needs to be settled to parent production order (Main order PP01).
That means the cost for rework will be booked to main order.
Note:
Automatic & manual creation of order can be controlled by trigger point with ACTIVATE function in parameters.
4. Check main production order:
User status has been updated as ZRW for the operation.