Snp plnd ord duration calculation
hi.
how r the order durations are calculated in SNP plnd ords. esplly when we have multiple oprns in the routing.
thanks
Use BADI:
WORKORDER_GOODSMVT to prevent any goods movement posting (take a look at MB_DOCUMENT_BADI as well if it helps) and
WORKORDER_CONFIRM to prevent any confirmations.
Select the relevant method in the above BADI's to prevent any postings to your 1 series order as per your logic. This should give you control on the cost postings.
Similar Messages
-
PM Order method of work completed duration calculation
Hi
Please advice how to configure the PM order work completion duration calculation.
I need to calculate the work completed hours based on the user status.
Not based on the Order status ( TECHO). It User status = TECHO order work completed hours should be calculated.
Please advice how to do this..
Regards
KesharikaHi
if you want to calculate the time using user status yo have to create the Z report which will fetch the when the user status has activated ,consult with you technical team on this
regards
thyagarjan -
SNP:PL-ORD to be created 2 months in advance from PReqRel
Dear Experts,
Is there a way we can configure APO to have SNP:PL-ORD to be created 2 months in advance after running Location heuristic?
Lets say we have a PReqRel on M 05/2012 in the Planning book after running Location Heuristic the SNP: PL-ORD will be created on M 03/2012 which is two months in advance with the exact quantity from the requirement.
Thanks in advance,
MarcusThis can be addressed by CTM through "order creation Frame" field of SNP2 tab of product master (/SAPAPO/MAT1).
Maximium earliness can be used in case of Heuristics.
Niteen Gonnade -
CTM SNP:PL-ORD not ciffed to ECC system
Hi all,
We have implemented MTS & MTO scenario.
The issue is: for MTO the SNP PL-ORD created by CTM SNP aren't ciffed on ECC side. They are ciffed only if I made the conversion from SNP PL-ORD to PP/DS PL-ORD.
For MTS, I don't have any transfer problem for SNP PL-ORD or PP/DS PL-ORD.
Is there a system constraint or I missed something at configuration level?
Thanks, MariusHi Rajesh,
Note 832393 - Release Restrictions for SCM 5.0
Make to order process in CTM
Since SCM 4.0 CTM can also support Make to Order + This is only possible when using CTM time continous planning. (this is CTM PPDS)
I really think that it's a system limit. CTM Bucket Oriented Planning (SNP) for MTO is not supported. However at least the CTM Heuristic create SNP PL-ORD and then with conversion all things are OK.
Your note 996299 is for CTM MTO PPDS
You are in Production Planning and Detailed Scheduling (PP/DS) mode and in the CTM profile, you chose the variant for the bucket-oriented planning in the field for the planning type............
Thanks, Marius -
Process Order operation scheduling duration calculation
Hi
We have following formula has been maintained for processing time calculation in resource.
Machine * ( Operation quantity / Base quantity / Operation splits ) + Setup + Change-over
As per above formula for following procee order qty and time, SAP caulates time.
Opeartion qty - 100,
Base qty - 100,
Op split - 1
Machine - 0.5 hrs (30 Mins)
Processing time calculated as 30 mins (.5hrs)
When I schedule the process order with same resource for same qty and machine time, processing time is calculated as 33 mins. We dont have maintained any floats in scheduling margin key in material master. We dont have any wait times also.
Can you please let us know why process order operation is having 3 mins tolerance? Any idea where such settings has been maintained?
Any pointers will be helpful.
Edited by: nilesh sankpal on Dec 8, 2011 5:47 AMHi Mangalraj,
Thanks for your reply.
We have not maintained ay reduction levels in OPUZ for plant and order type combination.
In resource, we have 2 hrs break time and total operating time is 18.50 hrs.
I got following SAP help link for calculation of duration for processing time.
http://help.sap.com/saphelp_46c/helpdata/en/b1/c04387439a11d189410000e829fbbd/content.htm
Is processing time is calculated based on following formula.
Processing time u2013 Calculated Processing time * (1+ (Length of break / Operating time)
Can you please correct my understanding here?
Thanks in advance.
Nilesh -
Can someone help me with a simple duration calculation?
I created a simple workbook for calculating hours worked. I am entering the start time, end time, and using the DUR2HOURS formula to calculate the duration. For some reason the calculation is wrong. I am sure it is somethign simple, but I could not find an answer and it has been bothering me for a couple of days now. Here is an example of what is happening:
Start Time | End Time | Duration
7:15 AM 5:30 PM 10.25 (formula: =DUR2HOURS(ENDTIME - STARTTIME)
The duration in this example should be 10.15?
Thanks,
NateHi NorthrailDrive,
DUR2HOURS gives the value in decimal hours, not hours:minutes.
Your answer (in decimal hours) is correct (10.25, or ten and a quarter hours).
Cell C2 contains the formula you need to calculate a duration:
=B2-A2
C2 is formatted as Duration h (hours) m (minutes). You can change the display to show 10:15
Regards,
Ian. -
Hi dear APO experts,
In SNP PPM, for each activity duration only days allowed. So if there are 2 activities in one PPM and each take 1 day, then SNP planned orders created with such PPM will take 2 days in scheduling. Is it possiblle to set the schedule duration to only 1 day in such case?
Best regardsHi,
the details of SNP PPM is as below:
For example, the SNP PPM only have one operation and under this operation there are 2 activities -
activity 1 and 2, which are both of type Produce. Each activity will take a fix duration of 1 day. The sequence relationship between these two activities will be activity 2 to follow activity 1.
And dear Digambar Narkhede, could you kindly tell me where in PPM to define the "increment"? -
Date duration calculation in the BLS
All,
We are using MII 12.0.6
I am looking at a very peculiar behavior while calcualting the date difference between 2 dates.
For ex. the following expression:
(datediffminutes(datetoxmlformat("2010-3-21 14:06:30 ", "yyyy-MM-dd hh:mm:ss"), datetoxmlformat("2010-05-24 08:14:54","yyyy-MM-dd hh:mm:ss")))/60
yields 1530.13 as the result(this is the correct evaluation) when tested from within the Link editor (clicking the evaluate button).
Now saving this transaction and giving the value of the above expression to an output param followed by calling this trx from an Xacute query yields 1529.13 as the result (I hr difference than above).
I have tested this with a few more dates going as far back as Dec 2009 yielding the same one hour difference.
On the other hand for any start date in May 2010 yields a correct result even when called from an Xacute query.
I tested this in a 12.0.2 system and found this behavior absent as in all was working as expected.
Has anyone come accross this before?Do you know if the latest patch has this fixed?
Just to cross check can anyone giive this a try in their 12.0.6 or higher system and report back?
Thanks a lot for your help.
Kind Regards
UdayanHi Udayan,
Please open a ticket. It sounds like a bug, although a few years back there was a problem with one of the java packages and Daylight Savings Time. If you search this forum for all time, you will find some of the postings.
Since there have been changes to when Daylight Savings Time start and ends, it is likely related and could possibly be java related instead of MII. I doubt it, but it is possible.
Edit:
A little more research turned up differences in how Daylight Savings Time is calculated in different countries/continents. Coincidentally, the US started on March 14th this year while the European Union started on March 28th (this date sounds familiar). Not sure what timezone, you are in, but you may want to play around with the timezone settings for your computer to see if the error is consistent with US vs European timezones (or wherever you happen to be located).
[Daylight Savings Times around the world|http://www.worldtimezone.org/]
Thanks,
Mike
Edited by: Michael Appleby on May 25, 2010 12:41 PM -
KANBAN ; In-house : working with plnd ord/mrp - 0005
Hi
Iam working on kanban in house production as the replensihment stratergy, i chose option 0005 (woring with planned orders/mrp). I had created the kanbans, triggered replenishment for a kanban, converted the planned order to prod ord, released it, carried out goods movement. Then i change the status of kanban to full( there is a minus sign on kanban saying that seperate GR not carried out,in control cycle i chose sep GR) When i try to withdraw quantity from kanban it says actual qty does not exist in kanban ( i still have the minus sign on kanban saying that sep GR is not posted - i did GR posting once by co15 and the other time thru MIGO), so NOW i changed the kanban status to empty and reversed the empty status to full by using pk31, the reversed kanban bin which is now to status full does not have the minus sign and it says that there is an actual qty of X, NOW i can use pk31 to withdraw qty from kanban...... .....
iam not sure why this occurs or am i missing some information. ...any suggestions why this is happeningh.. ......... .is working with planned orders only for rep mfg or its also for discrete mfg ??????
ShankarHi ,
Please confirm if a material document is posted when u did co15 or MIGO ..
regards
Krishna -
Help with Query - Duration Calculation/Time Overlap
Hello All,
Here is the scenario.
We have a table of events which has event id, start datetime and end datetime. This is essentially a calendar of a person.
EventID StartTS EndTS
21 8 AM 4 PM
20 9 AM 11 AM
18 3 PM 4 PM
2 10 AM 12 AM
The result I need is event id, duration where the duration is the duration of the event minus the overlap duration of any other event with event id less than the current event id.
Answer :
EventID StartTS EndTS Duration Overlap
21 8 AM 4 PM 8 - 4 = 4 All below 3 event
20 9 AM 11 AM 2 - 1 = 1 EventID #2
18 3 PM 5 PM 2 No Overlap
2 10 AM 12 PM 2 No Overlap
Thanks for you help!scott@ORA92> CREATE TABLE events
2 (EventID NUMBER,
3 StartTS DATE,
4 EndTS DATE)
5 /
Table created.
scott@ORA92> INSERT INTO events VALUES (21, TO_DATE ( '8 AM', 'HHAM'), TO_DATE ( '4 PM', 'HHPM'));
1 row created.
scott@ORA92> INSERT INTO events VALUES (20, TO_DATE ( '9 AM', 'HHAM'), TO_DATE ('11 AM', 'HHPM'));
1 row created.
scott@ORA92> INSERT INTO events VALUES (18, TO_DATE ( '3 PM', 'HHAM'), TO_DATE (' 5 PM', 'HHPM'));
1 row created.
scott@ORA92> INSERT INTO events VALUES ( 2, TO_DATE ('10 AM', 'HHAM'), TO_DATE ('12 PM', 'HHPM'));
1 row created.
scott@ORA92> COMMIT
2 /
Commit complete.
scott@ORA92> ALTER SESSION SET NLS_DATE_FORMAT = 'fmHH AM'
2 /
Session altered.
scott@ORA92> SELECT * FROM events
2 /
EVENTID START ENDTS
21 8 AM 4 PM
20 9 AM 11 AM
18 3 PM 5 PM
2 10 AM 12 PM
scott@ORA92> SET SERVEROUTPUT ON FORMAT WRAPPED
scott@ORA92> DECLARE
2 v_overlap NUMBER;
3 v_ts DATE;
4 BEGIN
5 DBMS_OUTPUT.PUT_LINE ('EventID StartTS EndTS Duration Overlap Duration-Overlap');
6 FOR rec1 IN
7 (SELECT eventid, startts, endts,
8 (endts - startts) * 24 AS duration
9 FROM events)
10 LOOP
11 v_overlap := 0;
12 v_ts := rec1.startts;
13 FOR rec2 IN
14 (SELECT *
15 FROM events
16 WHERE eventid < rec1.eventid
17 AND startts < rec1.endts
18 AND endts > rec1.startts
19 ORDER BY startts)
20 LOOP
21 v_ts := GREATEST (v_ts, rec2.startts);
22 IF rec2.endts > v_ts
23 THEN
24 v_overlap := v_overlap + ((LEAST (rec2.endts, rec1.endts) - v_ts) * 24);
25 v_ts := LEAST (rec2.endts, rec1.endts);
26 END IF;
27 END LOOP;
28 DBMS_OUTPUT.PUT_LINE
29 (LPAD (rec1.eventid, 7)
30 || ' '
31 || LPAD (rec1.startts, 7)
32 || ' '
33 || LPAD (rec1.endts, 7)
34 || ' '
35 || LPAD (rec1.duration, 8)
36 || ' '
37 || LPAD (v_overlap, 7)
38 || ' '
39 || LPAD ((rec1.duration - v_overlap), 16));
40 END LOOP;
41 END;
42 /
EventID StartTS EndTS Duration Overlap Duration-Overlap
21 8 AM 4 PM 8 4 4
20 9 AM 11 AM 2 1 1
18 3 PM 5 PM 2 0 2
2 10 AM 12 PM 2 0 2
PL/SQL procedure successfully completed. -
MRP background job generating Plnd Ord instead of Pur Req
Hi Gurus,
There is a variant created for background job of MRP, which is running once in a day. In this varaint, I have control parameters set in such a way in that , it should create purchase requisition ( Purchase requisitions in opening period = 3 ) . But its creating planned order only.
When I am running in foreground, it is generating Pur Req as expected but not generating Pur Req when running in background.
Please help me creating purchase requisitions instead of planned order.
Regards,
Om
Edited by: Om.P.Singh on Nov 24, 2011 5:12 PMDear Om.P.Singh,
As per your settings (Setting value 3 for Create Purchase Req paremeter) it will create only planned orders for the externally
procured items.
If you have set the value as 1 then it creates only purchase req's for all the externally procured materials.
If you have set the value as 2,then it creates PR in the opening period(mentioned in the scheduling margin key) and planned
orders for the remaining period.
This parameter setting works only for the externally procured items.
Check and revert back.
Regards
Mangalraj.S -
Hi All,
How to use the manually entered Hours/Days in the Duration field for BG_ABSENCE_DURATION fast formula?
Requirement is to restrict employees for applying for leave more than the accrued balance. In SSHR, apply leave functionality, the employee enters the start date, end date and duration manually. The entered duration must be used in the fast formula to check against available balance.
In the BG_ABSENCE_DURATION FF, I have a function to calculate the net accrual balance as on the calculation date.
I want to add the logic as - If to_number(Duration) /*[manually entered value]*/ > net accrual balance then
Duration = 'FAILED'
invalid_msg = 'Error'
return duration, invalid_msg
Thanks!Hi,
We have a standard functionality to override the duration calculation and you don't need to add a validation for the same. Please set the value of profile option HR: Absence Duration Auto Overwrite to Yes
When you do this user will not have to enter the duration value manually. It will get auto calculated based on the duration calculation in BG_ABSENCE_DURATION when you click on the next button.
For not allowing negative leaves to be applied, If you are on R12 then, this is a standard functionality and you need to set profile option HR Allow Absence Negative Balance to No
If you are on 11i then refer Note: 268171.1: How Do You Stop Accrual Plans from Going Negative?
Try and let me know in case you need further help.
Thanks,
Sanjay -
Is BG_ABSENCE_DURATION called again for duartion calculation after final ap
Dear All,
1. Create an absence request using self servcie and submit for approval, absence duration calculated is X
2. change the BG_ABSENCE_DURATION fast formula, in such a way that the duration of the leave created in step 1 changes to Y
3. approve the absence created in step 1
4. the absence is committed to database but note that the absence duration is not as per the change in the BG_ABSENCE_DURATION fast formula, the absence committed shows absence_days as X and not the actual Y
Is the duration not being calculated again before the absence is committed after final approval?
Thanks & Regards,
SupriyaI finally got the call that my phone has arrived at the centre on Friday and is ready to be collected.
I'll finally get my phone back on Monday, 4 December i.e. after 4 and half months ! And it cost me Rs. 2500 (Around $50).
So now I ask is it worth waiting for 5 months for a phone repair which will cost you 50 dollars?
I love Sony Ericsson phones and that is the only reason I'm going to stick up for them. But there's no way I'm giving the phone to any Sony Ericsson outlet in future for repairs and nor am I encouraging any of my friends and aquaintaces do the same !
Thank you. -
MS Project 2010 customizing duration field in hours
I have a problem:
My Schedule are defined in days (duration). This is ok, but I want for me a 2nd column with the duration calculated in hours. Is it possible?SeemaHoleyavar --
You would need to create a custom field containing a formula to do the necessary calculation. If it were me, I would use a custom Text field and rename it as something like Duration in Hours. In that custom Text field, I would use the following
formula:
([Duration])/60 & "h"
Also, when you create the custom Text field, be sure to select the Use Formula option in the Calculation for Task and Group Summary Rows section of the Custom Fields dialog. Keep in mind that the preceding formula assumes an 8-hour working day.
Hope this helps.
Dale A. Howard [MVP] -
Planned order is creating before planning bucket for a specific material.
Planned order is creating before planning bucket for a specific material.
Eg: Planning Bucket future: 12 months & Start date- 01/02/2012, but Planned order Availability/Requirement date is 12/23/2011.
What causes this, how to fix it? Please suggest u2026
Thanks
RaviSince your planning bucket start date is in the future, so this is normal that the system is trying to satisfy the demand in jan2012 bucket by creating a receipt on Dec23, 2011.
Reasons for RECEIPT to be generated earlier is
(1) There might be a FIRM HORIZON( SNP PROD HOR)
OR
(2) There might be a GR time and the system is considering that time
In Customizing for Advanced Planning and Optimization -> Supply Chain Planning -> Supply Network Planning (SNP) -> Basic Settings -> Maintain Global SNP Settings, in the SNP:GR for Plnd Ords field, you have selected Processing Time.
Blank out these times and see if it works, else do one of the following:
(1) Set Period Factor(LOT SIZE TAB of PRODUCT MASTER) to 1, so that the receipts get created at the end of the bucket.
OR
(2) Create your demand at the end of the planning bucket period
Thanks
Kumar
Maybe you are looking for
-
My bookmarks are really gone from my computer but I have them in my android phone. I've tried to use this sync but it doesn't work. How can I get them back to the computer from my android phone ? I have checked also backup files but they are really g
-
Paid for and always asking me to pay again. What's Up?
-
Running a database update in the background
I have a web application which needs to allow the user to run a process in the background. The user needs the ability to kick off a long-running process that will move data from a Sybase database to a datawarehouse. However, since the process may tak
-
Profile problems with Adobe Prof 9?
Hi Guys, I apologise if this is a stupid question but I just want to check that we're not doing something daft. We're installing Adobe Professional 9.3.2 on a number of Windows XP SP3 machines in a standalone network. The Adobe Customisation Wizard w
-
PowerBook G4 will not shut down after installing Leopard
Hi - has anyone found shut down problems (or restart for that matter) after installing Leopard. I've got 30Gb of hard drive free on a Powerbook G4 (3 years old).