Work center formula - rounding to zero?
Hi
I have set up a new formula for a work center, using a new parameter Z_BKP5 (Parameter1.jpg). It should be fixed to 2000.
My formula is: Operation qty/Z_BKP5* Variable machine time.
However, if my operation qty is bigger than Z_BKP5 (2000), then I get the result (Test1.jpg), for example 2000/2000*180 MIN => result is 180 MIN
If my operation quantity is smaller, I don't get anything calculated (Test2.jpg). The same happens on Test formula screens as well on planned orders.
Example 1900/2000*180 MIN
Is it some rounding issue? I have tried finding a parameter in customizing for this, but I cannot find anything related. Can this be solved somehow, or is this standard behaviour?
Thank you
Just for future help, I'd expect that means your data container is integer. In that case, it's important to do your multiplications first and your divisions last.
An alternate problem that you can also run into is that you can exceed the max size of the container and get an overflow. Then you need to look at the expected size of the max and min values of each variable and try to work them in alternately so as neither to go below 1 nor above max value.
Neal
Similar Messages
-
Pls guide me how to create formulas for work center activities for setup etc. pls guide.
Hi,
Create Formula parameters in OP17 . Refer to the std. parameters SAP_01, SAP_02
Create Work center formulas in OP21. Refer to the std. parameters SAP001, SAP002 , SAP003
Create formulas based on the Business process.
Hope you can proceed with this...
-Thaila Shree -
Can work center formula use function floor()?
I create a formula in a work center.
I must use function floor() in formula.
But it appear error.
Can it use in formula?Hi Philip,
We cannot use Mathematical Functions in formulas.
Check url
http://help.sap.com/saphelp_47x200/helpdata/en/b1/c0392e439a11d189410000e829fbbd/frameset.htm
Check for Formuls->Rules for Maintaining Formulas
Hope this helps.
Thanks
Lakshman -
Hi,
I have few quires on the subject cited .
in the define formula parameters for work centers i have found the and i could not understand the meaning and usage
especially of SAP_11 operation splits , what they mean ?
SAP_09 Operation quantity
SAP_10 Other formula
SAP_11 Operation splits
once we define work centers formulas with these formula parameters how these work ? when standard cost is run for the part number how it takes these defined formulas in to consideration to give the manufacturing cost
please provide some thoughts on these work center formula parameters and formulas and usage
regards,
madhu KiranHi jagadeesh ,
thanks for your details
my doubts are why we define these ? for the purpose of standard cost ?
any way when we run standard cost for the part number , based on the times mentioned in routing it will calculate the cost ?
or is it like this
standard values like handling time , machine time etc.. if we can not enter for an operation ,then for the calculation of these we
define work center formulas and through this system picks the handling and machine times while calculating the standard cost
is this thinking correct ? might be wrong alos , pl let me know
i am really not clear with these work center formulas and their usage
1. for example in our system for a work center the formula defined as
ZPT100 --Cost - Painting & Laquering
formula = ( PITCH CONSTANT * Operation quantity ) / ( JIG DENSITY * Conveyor Speed )
this is defined for the standard value Jig density used in painting
2. for handling time the below formula is defined
ZMG001------COST - Handlng Time
formula = HANDLING TIME * Operation quantity / Base quantity / Operation splits
3. What is the difference between base quantity and operation quanity ?
is it that base quantity is for the quantity with reference to which we are creating routing ?
operation quantity is the out put of that operation ?
if so operation quantity and all where we mention in routing ? i understand if we wrok on discrete we create routing with base quantity 1 and based on the order quantity , it will become the operation qty
but we work on REm
how to go about ?
can you please thorw ur thoughts on this ?
regards,
madhu Kiran
Edited by: madhu kiran on Sep 18, 2009 1:29 PM -
Dear Exports,
I have a requirement in my project
1. In a work center we have 3 activities. 1. Labour time
2. Machine Time
3. No. Kgs treated.
I am able to give labour & Machine reates by giving price at kp26. and number of minitus in routing.
But my client wants machine hour rate : no. labours worked X Time worked X rate per hour .
i.e he wanted to give time in labour time activity and no of employees worked in machine time the formula must claculate
Labour time X Machine time(No of Workers worked) X KP26 Price(Per Labour hour).
Can Any body help me please...
RaoCheck if there is an existing WC formula that you can use or create your own formula for the work center.
My challenge (at a different business, so I don't have the exact work in front of me, but I have notes) was Crew size x Machine Hours x Activity rate.
In the routing Operation Details is a section General Data.
There is a field: Number of Employees, field name ANZMA, That is where we populated Crew size
Use an existing formula if possible
Which formula do I use??
Work Center Basic Data (CR02) determine standard value key
Go to "Define Standard Value Key" in IMG (OP19); select std value key and click detail button
Note the Parameter used IMG path: Production>Basic Data>WorkCenter>General Data>Standard Value >Define Standard Value Key
Go to "Define formulas for work centers" in IMG (OP54); select formula that uses the field parameters required IMG path: Production>Basic Data>WorkCenter>Capacity Planning>Work Center Formulas>
Define formulas for work centers
Not there? Create the formula
In English - what do you want to calculate?
Find parameters for the fields in the calculation
Write formula (op54) Copy from existing formula if possible - spaces in the equation are necessary
OP17 is where to create new Parameters.
This is all configuration - with some high leve security (in our system). Configur and TEST CAREFULLY -
Hi Gurus,
My client is in fabrication work. Client has a huge open space where they perform the work. Now client want to do the capacity planning for the open space. Suppose has the space of 10000 sq meter. In that space can produced 3 finished products. If the fourth order order comes system should show the overloading? How can i do this scenario in sap?
Its an urgent.
Thanks in advance.
Regards,
MayurHi Mayur,
For your requirement, below are some suggestions:
1. Create work center category as Free Space:
You can define the task list usability of the work center category by customizing transaction: OP40.
2. if required create the capacity category as "Free Space" by copying from 001/Machine.
Maintain all the other settings related to Work center like: Standard available capacity, shifts etc..
Whether to consider the capacity for 3 products or more is entirely depends on your work center formulas and standard values..
Hope this helps..
Revert for further discussion..
Regards,
Siva -
Confirmation of a formula in work center in the confirmation
Hi All,
I want a result of a formula of work center of particular operation in confirmation. Can any body guide the stepsHi Vachanala,
1. You create a standard value parameter in OP7B which is to be used in the formula.
2. Your standard value key created through OP19 should be containing this parameter which you have created and this key should be assigned in the basic data in the work center. Check generate box before saving the SVK.
3. You define the formula which uses this parameter through OP21. You should check allowed for calculation box.
4. In the costing tab of work center you maintain the formula against this parameter. If you want to cost it In that case and should also maintain an activity through KL01 and maintain a price for it through KP26. This activity should also then be maintained against the parameter in the costing tab of work center. Also check the reference indicator against the parameter.
5. Assign this work center to the operation in routing.
6. Create order, release and do confirmation, if you click actual data system should propose you the quantity as per calculation. Cost will be calculated if you maintained as per point 4, in the planned cost against the order.
Please check and revert.
Regards
Sm. -
PP costing Formula for work center
Hello Experts
I am having issue to set up formula for given below case,
I have on my work center three parameters, x time (unit: Hr) and Y Power (unit:kw).
i want to multiply both the parameters and get the answer in terms of energy Z (unit: kwh) paramenter.
so i already define activity type unit with KWH.
for example:
From Routing:
work center: 1111,
x: 10
Y: 20
so Z= X*Y
= 10hr * 20kw = 200kwh
So which would i apply formula for all 3 parameters to get result 200 kwh? Do i need to assign 3 different formula to X,Y,Z or 1 formula direct to Z?
Sooner response highly appreciated
Thanks
NixalDear Nixal,
Assume this 10 hours is for some base quantity and this value gets changed based on operation(order quantity) means,you can
check with standard SAP formula SAP006 = Machine * Operation quantity / Base qty.
In case if the duration 10 hours is for any operation quantity means,then there is no relation between base quantity and
operation,so you have to assign a formula which has only duration alone.
Likewise you can decide and select the suitable formula and use the formula key in the costing tab to calculate the cost based on
the formula selected.
Regards
Mangalraj.S -
Formula parameter in Work Center for 'Costing' tab
Hi all
In the 'costing' tab of the Work center I am using a formula which uses the operation quantity ' which has field name 'MGVRG'. Is there a way I can use an alternate unit of measure as an operation quanity in the formula? Let us say my Routing is defined in Cases and my operation qty is is in cases but I want to pass on the alternate unit of measure LB which is defined in the Material Master. Is there a way I can do it.
thanks a lotHi John,
Not sure if i have understood your query correctly, but when you click on test forumla in the work center it does not display the UoM, so here you can pass the UoM as per your need. In OP52, for SAP_09 you can verify the same.
If my understanding is not correct, please let me know.
Regards,
Vivek -
What is formula key in work center, how to configure it urgent plzzzzzzzzzz
iam trying to create work center. in costing tab of work center it is asking me to enter formula key. what is formula key. how to configure it. plz explain me
thanks,
monicaHi,
Formula key is used for calculating the execution time of an activity or for calculating capacity requirements or for calculating costs of a work center's activity type. It can be configured in transaction code OP54.
What is the activity type description you are using?
Thanks
Murali. -
Hi SAP Gurus...
When creating a Work Center, on tabs "Capacities" and "Scheduling", there are a lot of formulas.
I understand the objective of the formulas, and I know how to create new formulas and parameters in SPRO.
The only thing that I cannot do, is to see some results of the formulas calculation. It only makes a calculation when I run a test in Extras ® Formula ®Test.
Is this normal, or we can see the results of the formulas somewhere else?
My objective was to have the formulas working on the results of the tab "Operations" in the Maintenance Order.
Thanks in advance.Hi
As per Pete Advice
TCODE : IW49N
Enter the Work Center and Execute
In the change Layout... select the actual time start, end, actual Work, Forcast Work...
It will display the Hours
- Pithan -
FORMULAS IN WORK CENTER (ELSE, IF, OR)
HI PP GURUS
Hope you can help me with next scenario:
When defining formulas in work center I want to calculate values using conditionals (IF), let me explain it:
FORMULA NAME: XXXX
OPERATIONS:
LINE 1 : IF SAP_02 > 0 THEN ( SAP_02 + SAP_09) ELSE (SAP_02 * SAP_09 / SAP_08 / SAP_11 )
LINE 2: EMPTY
LINE 3 : EMPTY
Unfortunately the system does no perform any action because the operands IF and ELSE are not allowed.
Any idea?????
Thanks a lot
EliasHi
No you cannot create this type of Formula in SAP std, other way of mapping is you have to create different std keys and you have to have to assing in different workcenters at the time of routing or production order you need to assing that type of workcenter, just iam thinking in that manner, till what extent it works.
Regards
Mohan -
Hi Experts,
I hav a confusion...that is...
Suppose that. ....we create a work center (5111) with category MACHINE...& maintain capacity data tab with both catagories (labor+ m/c).....then after......again we create this work center(5111) with different category LOBOR & maintain " capacity data tab" with only labor capacity catagory.....& then this w/c (5111) is assingned with in routhing of product "A"...
Note--all relavant data formula/std value key etc is properly maintained.......
My question is that... During .production order creation of prodt "A" .....FROM WHERE THE DATA IS TO BE PICK FROM WHICH WORK CENTER CATAGORY??? if possible... how..plz explain me...i will be thnkful to u..Hi,
the same workcenter CODE "5111" cant b use for 2 categories.
But if you want to include both in one code, decide the orientation or the bottleneck capacity in this workcenter.
whether its Machine or labor. Out of these which is ur deciding factor in scheduling and capacity planning.
only use that as category and in capacity tab, u can use both Machine and labor as capacity and their data.
Regards
Raghu -
Hello Guru,
I have some question about the work center when pick up by the creation of production order. When we create production order manually via CO01, SAP pick workcenter BSBA111 for this order. And when we convert a planned order to a production order SAP pick work center CAWORK01. same finished product is been consider with this material number 1111002 in plant 0012. why in different way of creating production order, but the system is been picking two different work center with different formula? please explain deeply for my concern.
ThanksIn this case what is happening is that while creating manual Production order you are manually selecting the production version . therefore the routing assigned to that particular production version gets copied & subsequently the work centre assigned to th routing gets copied along with that.
Since you have used selection methood as 3 (selection only by production version) the system searches for the valid production version starting from the 1st production version in your list of production versions & stops as soon as it finds the valid one & selects it.(I.e. the 1st version which is valid for the date of exposion & within the lot size defined)
Now in this case the one which you selected & the one which the system finds during MRP can differ.
Thats why your work centres differ , because the production versions differ.
Therefore If you want the selection to be same in Manual PO & PO by MRP , in OPL8, for your plant & order type , select indicator 0 for Production version i.e. automatic selection of production version. -
Block production work center during maintenance order
Dear Experts,
iam trying to do the integration between PM and PP, I want to block the production work center from any production order when there is any maintenance order opened for a certain equipment which is inside this work center ,
till now i did the following:
1) the production work center is now inside the equipment location tab
2) when i open any maintenance order i put system condition as zero
now what i only achieved ,
- in transaction CM25 the capacity is black for the period of the maintenance order
BUT the work center is not blocked and any production order can be created without any error
please help and much thanks in advance
Best RegardsHi,
Till time you have performed right things to integrate PP-PM & system is also responding according to setting.
Showing block capicity in CM25 against the Maintenance Order.
If you want to block production order as well, you need to do one more setting.
go to t- code OIOI, selection Production order types (those you want to block) & in capacity Availabilty choose Collect conversion as 3 : No creation if there is insufficiant caacity.
i hope this will definately solve your problem.
- Yatharth
Maybe you are looking for
-
Canon iR-ADV C7260 - Stuck in Queue until Reboot of Printer
Hello All, Have an interesting issue going on with (2) Canon iR-ADV C7260 Printers. Randomly every 2 to 3 days the printer queue on the users end machine will display the job but will not print it. Troubleshooting leads me to believe it is printer r
-
I am not able to open my iTunes on my HP pavilion dv7-3173nr entertainment notebook: I receive error message: The file "iTunes Library.itl" cannot be read because it was created by a newer version of iTunes". How can I correct this so that I can o
-
How to upload photos directly to my Ovi account
Hi, How can I upload photoes directly from my 5800 phone to my Ovi account I have checked the "share online" menu and found only "Vox" & "Ikbis" I tried to add a new account - "update services" but didn't work for me Regards
-
HTTP-CODE 500 when POST via https
Hi, I've a serious problem here. When I try to post some data to a https server I'll always get an 500 internal Server Error back. What could be the problem? Here is my code that is responsible for posting: System.setProperty("proxySet","true
-
I have a JPG. that shows up in my Library. I can actually see it. when I choose show info. and use that name to find it's path, only an alias comes up. when I double click on the alias, it says, can't find the photo. I also have searched for it by da