(TEST CASE) Creating Formulas For Work Centers - ERP Manufacturing (PP) - Community Wiki

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

You are viewing the desktop version of Confluence on a mobile supported device.

Switch to Confluence Mobile


Pages / … / TEST CASES for PP-CRP

[TEST CASE]Creating Formulas for Work Centers


Created by Jessica Li on Apr 04, 2016

Purpose
This is to test how Formulas is created and how Formulas works for Capacity Calculation and Execution time Calculation.

Overview
Do you know how to create the formulas on Capacity and Scheduling tab? Do you know the difference between the
formulas on these 2 tabs? Do you know how the formulas works during Capacity requirement calculation and Execution
duration calculation? Hope the info here can give you a clear picture.

Steps
1. Create parameters in t-code OP17.

If Origin is 2:Standard value in the operation, then the value is taken from routing or from operation details in
order(with high priority).
If Origin is 1: General operation value, the value is taken from the operation field, e.g. Base quantity BMSCH,
Operation quantity MGVRG, etc.
2. Create formulas in t-code OPK3.

2.1 Generate
      When ON, extended program will be generated to execute this formula; Whatever change are make to the
formula, the program will be regenerated to make the change reflect. You can debug in report RCR05GEN if formula
calculation is not correct.
2.2 Allowed for Calculation
      When ON, the formulas can be used for calculation.
2.3 Work Center for Capacity Reqmts
      When ON, the formulas can be used under Capacity tab.
2.4 Allowed for Scheduling
      When ON, thesformulas can be used under Scheduling tab.
"Work Center for Capacity Reqmts" and "Allowed for Scheduling" can be ON at same time.
3. Assign the formulas to the work center in t-code CR01/CR02. The formulas with "Work Center for Capacity
Reqmts" ON can be assigned into Capacity tab, and will be used for Capacity Requirement Calculation; The
formulas with "Allowed for Scheduling" can be assigned into Scheduling tab, and will be used for Execution Time
Calculation during scheduling.
TEST

Capacity Requirement Calculation 


When create a production order in t-code CO01 and go to "Cap. reqt. assignment" tab of an operation, you can check the
Capacity Requirement. How the result is calculated?

1. Go to check what formulas are assigned at "Capacity" tab of the work center in t-code CR02/CR03.

Operation Segment Formula


Operation Segment Formula

Setup SAP005

Processing SAP006

Teardown None
2. Go to check what parameters the formulas contain in t-code OPK3.

Formula Parameters

SAP005 SAP_01 * SAP_11

SAP006 SAP_02 * SAP_09 / SAP_08


3. Go to check what fields the parameters refer in t-code OP17.

Parameters Fields Value 

SAP_01 Standard value in the operation - Setup  10 MIN

SAP_02 Standard value in the operation - Machine  30 MIN

SAP_08 General operation value - Base qty BMSCH    1 PC

SAP_09 General operation value - Operation qty MGVRG  10 PC

SAP_11 General operation value - No. of splits SPLIM    1


4. Calculate the formula using the actual value.
Operation capacity requirement = Setup capacity req. + Processing capacity req. + Teardown capacity req.
                                                   = SAP_01 * SAP_11 + SAP_02 * SAP_09 / SAP_08
                                                   = 10 MIN * 1 + 30 MIN * 10 PC / 1 PC
                                                   = 310 MIN 
                                                   = 5.17 Hours

Execution Time Calculation during Scheduling 


When create a production order in t-code CO01 and go to "Dates" tab of an operation, you can check the duration of each
segment of the operation. How the result is calculated?
***For production orders, each operation is seperated to 3 segments: setup, processing, teardown. This is standard
design.

1. Go to check what formulas are assigned at "Scheduling" tab of the work center in t-code CR02/CR03.

Operation Segment Formula

Setup SAP001

Processing SAP002
Operation Segment Formula

Teardown None
2. Go to check what parameters the formulas contain in t-code OPK3.

Formula Parameters

SAP005 SAP_01

SAP006 SAP_02 * SAP_09 / SAP_08 / SAP_11


3. Go to check what fields the parameters refer in t-code OP17.

Parameters Fields Value 

SAP_01 Standard value in the operation - Setup  10 MIN

SAP_02 Standard value in the operation - Machine  30 MIN

SAP_08 General operation value - Base qty BMSCH    1 PC

SAP_09 General operation value - Operation qty MGVRG  10 PC

SAP_11 General operation value - No. of splits SPLIM    1


4. Calculate the formula using the actual value.

Segment Duration Result 

Setup SAP_01  10 MIN

Processing SAP_02 * SAP_09 / SAP_08 / SAP_11  30 MIN * 10 PC / 1 PC / 1 = 300 MIN

Teardown No formula assigned  0

Related Content

Related Documents
Related SAP Notes/KBAs
 

No labels

Privacy Terms of Use Legal Disclosure Copyright


Trademark Cookie Preferences

You might also like