Interoperation Time Calculation in Routing
Dear All,
can anyone help me how Interoperation time is calculated?
Thanks in advance.
Hi,
Basically time between operations consists of queue time of the succeeding operation and wait and move times of the preceeding operation. These times are entered in the operations in the routing, or might as well transfered from the work center master data.
Check below link for the related SAP help page;
[Date Determination at Operation Level|http://help.sap.com/saphelp_erp60_sp/helpdata/en/55/67049b95d711d3b6fb0000e8359890/content.htm]
Similar Messages
-
Transit time calculation through Route during Location Substitution
Hi All,
I have standard route determination set up in SD. I am picking up the route from Sales order and calculating the transit time in APO through condition technique TRAN.
But when I do a location substitution , my transit time calculation is being done with the original route.
EX: Original plant P1 Route: R1 Transit time: 24 hours
Substituted Plant: P2 Route : R2 Transit time :96 hours
But my transit time in the substituted plant P2 is also 24 hours. Although I can see the new route R2 in the sales order item of the substituted item.
Is there a user exit I can put?Hi ,
Please try using Plant and Ship To combination, I saw it does not work with Route and shipping point.
Thanks,
Pavan Verma -
hi expert,
my condition is, i create one routing for FG and input standard queue time for each operation. when i create production order with this routing and calculate for cost. i think time i input should include in costing but system not include standard queue time in process time , cost of each activity.
(ex. my machine speed is 100 pcs per minuite and std queue time is 90 minute. when i create production order with quantities 100 pcs and calculate for cost. system show process time as 1 minute not 91 minute)
as above, i want to know how to setting standard queue time or other interoperation time into costing.
regards.
kittisak.Hi,
Queue times defined thid way are used only for scheduling and LT calculation, not costing.
If you want to make these times relevant to costing, then you need to define them either as a standard value in a processing operation with it's proper formula, or as an operation by itself, depending on what suits best the situation in the shop.
Regards,
Mario -
time capsule only allows 2 devices at a time as a router. If I am using the iphone and macbook pro, it bumps the roku offline. Any suggestions?
At a guess you have cable internet connection.. please confirm exactly what you have.. two public IPs are allowed by some ISP.. once you use up the two IPs, there are no more..
Make sure the TC is in router mode. And to get it working you probably need to shut off the cable modem.. if it has battery backup remove the battery.. try 5min off .. if not long enough try 20min off. then overnight. The ISP equipment must reset to allow a new MAC address to capture the IP.
If you cannot work it out.. plug in the old router again.. and set the TC to bridge mode.. which I suspect it is in now.. and plug it into the main router.. it should work fine like that. -
I have a 2T apple time capsule and router. I bought a Hauppauge Win TV extender which allows TV to be broadcasted on a PC. The program allows for the TV to be streamed on a Mac, Iphone, Ipad. I need to access the router set up options to open a port on the router to allow this program to stream the TV to the Mac and Iphone. I do not know how to access the apple time capsule router to change the settings to open a port on the router. help please.
Firstly you do not need to open ports to stream locally.. there is no port block in local LAN.. only WAN to LAN. So there is a good chance it is not needed at all..
Opening ports on the TC I strongly recommend a v5 airport utility.. you can download one for windows if you don't have a Mac.. iOS version of the utility I am not sure but it will not work to do complex things.
In the v5 utility go to the NAT area, and click on port mappings.
Sorry I don't have a screen shot at the moment of the actual mapping page.. but simply put the IP of the device you want opened and the port.
There are plenty of posts with this info if you google.
But as noted.. this is purely WAN to LAN.. nothing else. -
Execution time calculation issue
Hi,
I have a proceudre which update the tables data and it will capture the execution time for each and every table.
For that i am using below procedure and its giving incorrect values. i.e., its giving end_time<start_time
PFB code(Line nos 25,26,33,73,7679,80 code for exeution time calculation) and output.
1 CREATE OR REPLACE PROCEDURE my_proc
2 IS
3 CURSOR c
4 IS
5 SELECT tablename, TYPE
6 FROM table_list;
7
8 TYPE emp_record IS RECORD (
9 empkey tab1.pkey%TYPE,
10 rid ROWID,
11 ID tab_join.ID%TYPE,
12 dt tab_join.dt%TYPE
13 );
14
15 TYPE emp_type IS TABLE OF emp_record
16 INDEX BY BINARY_INTEGER;
17
18 v_emp emp_type;
19
20 TYPE emp_type_rowid IS TABLE OF ROWID
21 INDEX BY BINARY_INTEGER;
22 tab_no Number:=0;
23 emp_rowid emp_type_rowid;
24 r_cur sys_refcursor;
25 v_start_time TIMESTAMP; /** Added for time calculation*/
26 v_end_time TIMESTAMP; /** Added for time calculation*/
27 string1 VARCHAR2 (1000) := 'SELECT b.empkey, b.ROWID rid, a.id id, a.dt dt FROM emp_base a,';
28 string2 VARCHAR2 (1000) := ' b WHERE a.empkey = b.empkey';
29 rowcnt Number;
30BEGIN
31 FOR c1 IN c
32 LOOP
33 tab_no:=tab_no+1;
34 v_start_time := SYSTIMESTAMP; /** Added for time calculation*/
35 BEGIN
36 string_d := string1 || c1.tablename || string2;
37
38 OPEN r_cur FOR string_d;
39
40 LOOP
41 FETCH r_cur
42 BULK COLLECT INTO v_emp LIMIT 50000;
43
44 IF v_emp.COUNT > 0
45 THEN
46 FOR j IN v_emp.FIRST .. v_emp.LAST
47 LOOP
48 emp_rowid (j) := v_emp (j).rid;
49 END LOOP;
50
51 upd_string := ' UPDATE ' || c1.tablename || ' SET id = ' || v_emp (1).ID || 'WHERE ROWID = :emp_rowid';
52 FORALL i IN emp_rowid.FIRST .. emp_rowid.LAST
53 EXECUTE IMMEDIATE upd_string
54 USING emp_rowid (i);
55 rowcnt := rowcnt + emp_rowid.COUNT;
56 END IF;
57
58 EXIT WHEN v_emp.COUNT < 50000;
59 v_emp.DELETE;
60 emp_rowid.DELETE;
61 END LOOP;
62
63 v_emp.DELETE;
64 emp_rowid.DELETE;
65
66 CLOSE r_cur;
67 EXCEPTION
68 WHEN OTHERS
69 THEN
70 DBMS_OUTPUT.put_line (SQLERRM);
71 END;
72
73 v_end_time := SYSTIMESTAMP; /** Added for time calculation*/
74
75 INSERT INTO exec_time
76 VALUES (tab_no||' '||c1.tablename, v_start_time, v_end_time, v_end_time - v_start_time, rowcnt); /** Added for time calculation*/
77
78 COMMIT;
79 v_start_time := NULL; /** Added for time calculation*/
80 v_end_time := NULL; /** Added for time calculation*/
81 rowcnt := 0;
82 END LOOP;
83END;
Output :
TableName: exec_time
"TABLE_NAME" "START_TIME" "END_TIME" "EXCUTION_TIME" "NO_OF_RECORDS_PROCESSED"
TAB7 5/29/2013 10:52:23.000000 AM 5/29/2013 10:52:24.000000 AM +00 00:00:00.521707 773
TAB5 5/29/2013 10:52:18.000000 AM 5/29/2013 10:52:15.000000 AM -00 00:00:03.381468 56525
TAB6 5/29/2013 10:52:15.000000 AM 5/29/2013 10:52:23.000000 AM +00 00:00:08.624420 49078
TAB2 5/29/2013 10:51:54.000000 AM 5/29/2013 10:51:42.000000 AM -00 00:00:11.932558 529
TAB4 5/29/2013 10:51:47.000000 AM 5/29/2013 10:52:18.000000 AM +00 00:00:31.208966 308670
TAB1 5/29/2013 10:51:45.000000 AM 5/29/2013 10:51:54.000000 AM +00 00:00:09.124238 65921
TAB3 5/29/2013 10:51:42.000000 AM 5/29/2013 10:51:47.000000 AM +00 00:00:04.502432 12118
Issue: I am getting execution time in negitive values because end_time<start_time coming.
Please suggest me how to resolve this.
Thanks.Welcome to the forum!!
Please read {message:id=9360002} from the FAQ to know the list of details (WHAT and HOW) you need to specify when asking a question.
I primarily hate 3 things in your code
1. The way you have used BULK update which is totally unnecessary
2. COMMIT inside LOOP
3. The use of WHEN OTHERS exception.
Your code can be simplified like this
create or replace procedure my_proc
is
v_start_time timestamp;
v_end_time timestamp;
v_rowcnt integer;
begin
for c1 in (
select rownum tab_no
, tablename
, type
from table_list
loop
sql_string := q'[
merge into #tablename# a
using (
select id, dt
from emp_base
) b
on (
a.empkey = b.empkey
when matched then
update set a.id = b.id;
sql_string := replace(sql_string, '#tablename#', c1.tablename);
v_start_time := systimestamp;
execute immediate sql_string;
v_end_time := systimestamp;
v_rowcnt := sql%rowcount;
insert into exec_time
values
c1.tab_no || ' ' || c1.tablename
, v_start_time
, v_end_time
, v_end_time - v_start_time
, v_rowcnt
end loop;
commit;
end; In the INSERT statement on the table EXEC_TIME try to include the column list.
NOTE: The above code is untested. -
How is Processing time calculated in Simulation
Hi,
How is processing time calculated for every simulation-relevant object?
say for example,
i have 2 objects of person type (p1 and p1)
4 human tasks (T1, T2, T3, T4)
T1 assigned to p1, processing time 2hrs
T2 assigned to p1, processing time 2hrs
T3 assigned to p2, processing time 2hrs
T4 assigned to p2, processing time 2hrs
start --> T1(p1) --> T2(p1) --> T3(p2) --> T4(p2) --> end
Have not set any other simualtion parameters. now,
* Duration for simulation is set to 6hrs,
T1, T2, and T3 are getting processes once, but start event is getting processed twice
# Why is start event getting processed second time?
# Will this take any processing time..
* Duration for simulation set to 7hrs,
start event and T1 gets processed 2 times, T2 and T3 once..
and the total processing time becomes *8hrs*..
# At wht point of time does the second processing of T1 start.
# If it is not after after the completion of one full process cycle, in this case, why not the second processing start at the end # of 2nd hour, or 4th hour.
Thanks,
VishnupriyaHi Vishnupriya,
"Why is start event getting processed second time?"Can you check the "Frequency" attribute of your start event? There you can specify how often the process will be triggered.
"At wht point of time does the second processing of T1 start."You should be able to check it in the Processes (det.). It provides an overview regarding the process instances started during the simulation run. Furthermore you can check the Events (det.) category.
Best regards,
Danilo -
Ess Leave Request -Change in Time calculation without changing work schedu
Hi All,
We are implementing a ESS Leave Request in EP6 with backend HR ECC5.0.
The time calculation is taken from the Work schedule rule in
HR backend which is 24*7.
For example if the leave taken is for 2 days-systems calculates as 24*2=48 hrs
but in actual the requirement is to calculate 2*8 =16 hrs without changing
the Work Schedule in 2001 infotype in HR Backend.
Can we do this change through
1.Validation in portal itself
2.Changing the RFC PT_ARQ_REQUEST_CHECK
3.Changing the Absence Types
Regards
Anand.Hello,
Please use:
programming
but without the spaces before and after } and {
Testing:
programming
regards
Rick Bakker
Hanabi Technology -
How to modeling BOM for operation which appears more than 1 time in a route
Dears,
We have a route like below, operation OP01 appears 2 times in different sequence.
OP01->OP02->OP01-.OP04
(seq1->seq2->seq3->seq4)
How can I modeling its BOM to let user assembly like below
OP01(seq1): use component01
OP01(seq3): use component03
Since BOM maintenance can not set to assembly a component in operation at a assigned sequence of a router, so in the OP01(seq1), it will display component01 and component03 to let user assembly.
How can we handle this problem?
Thank you.Ivan,
I looks like you are modeling two different operations as one operation. When process steps differ in the component you are assembling, it is almost always a gut idea to model then as separated operations (assemby component1 and assembly component3).
ME allows you to use the same operation several times in a route but they should really mean the same.
Best Regards,
Miguel -
Scout: Too much time calculating dirty regions
Hi All,
Frist of all, sorry for my English.
I have a problem with my AIR App, I'm developing for Android and iOS. In iOS works perfectly but on Android the performance is poor.
I checked with Scout and this is what i see:
I don't understand why it spends so much time calculating dirty regions but I didn't change anything on the DisplayList.
Edit: AS you can see in the screen the frames are 13 but in the next frames is over 200 frames and that repeats.
Can someone tell me how to interpret this results?
Thanks a lot.
Goratz
Mensaje editado por: goratzThe feature you are referring to exists in Logic but not in GarageBand (yet?). It is called the Marquee Tool that lets you drag a selection, and when hitting the delete key, that section of the Region(s) will be deleted, and the remaining part of the Region on the right will be moved to the left to close the gap (if you you have set the Drag Mode to "Shuffle L").
Hope that helps
Edgar Rothermich
http://DingDingMusic.com/Manuals/
'I may receive some form of compensation, financial or otherwise, from my recommendation or link.' -
Warning Time calculation "Before Aggregation" is obsolete
Hi,
Recently in our project we have upgraded BW 3.0B to BI7.
After upgrade to BI7, when we run some of the reports we are getting a warning message as below -
Warning Time calculation "Before Aggregation" is obsolete.
Pls refer to the attachment.
Any of our satyam colleagues encounter this warning, if so what was the solution you applied.
Note : I found some notes in Forum like saying use ' Exception Aggregation' for the Before Aggregation.. etc etc., but my problem is in our project thre are many CKFs are there which are using 'Before Aggregation'.
Please let me know if you have any other alternatives.
Thanks !!!!!!!!!Hi,
Try SAP notes 935903.
Symptom
Calculated Key Figures "Existance Indicator" with aggregation behaviour "Before Aggregation" will get now with NW 2004s warning popup "Time of calculation 'Before Aggregation' is obsolete" during execution.
this may be helpful.
thanks,
JituK -
Time Calculation Shell dimension is slow compared to hardcoded measure?
Hi,
I have a measuregroup with 200m+ rows with about 20 measures (sums). I've created a shell dimension to hold my time calculation members such as mtd, qtd, ytd, etc. My problem is that it performs REALLY poorly when using the time calculation dimension.
My script looks like this:
SCOPE
Measuregroupmeasures("MyMeasureGroup");
SCOPE
[Time Calculation].[Calculation].&[None];
THIS =
[Measures].CurrentMember;
END SCOPE;
SCOPE
[Time Calculation].[Calculation].&[MTD];
THIS =
Aggregate
[Time Calculation].[Calculation].&[None]
MTD([Date].[Calendar (YQMD)].CurrentMember)
END SCOPE;
SCOPE
[Time Calculation].[Calculation].&[QTD];
THIS =
Aggregate
[Time Calculation].[Calculation].&[None]
QTD([Date].[Calendar (YQMD)].CurrentMember)
END SCOPE;
SCOPE
[Time Calculation].[Calculation].&[YTD];
THIS =
Aggregate
[Time Calculation].[Calculation].&[None]
YTD([Date].[Calendar (YQMD)].CurrentMember)
END SCOPE;
END SCOPE;
When I use my Calendar hierarchy and time calculation dimension as a background selection it takes forever. It never returns anything. A profiler trace shows that it's just pushing 1 and 21 events (cache data).
If I create the following measure:
CREATE
MEMBER CURRENTCUBE.[Measures].[TestMTD] AS
SUM(MTD([Date].[Calendar (YQMD)].CurrentMember), [Measures].[MyMeasure]),
VISIBLE = 1 ;
it works just fine but the whole point here is I want to avoid creating new measure for every time calculation.
The measuregroup has been partitioned by month and I've set each partition slice to the corresponding month in the calendar hierarchy.
Why doesn't my script perform - please advice :)
Thanks.Hi Mortenbpost,
According to your description, the issue was solved by change Aggregate() function to Sum() function, now you want to know why it behaves like that, right?
In Aggregate function, if a numeric expression is not provided, this function aggregates each measure within the current query context by using the default aggregation operator that is specified for each measure. Here is a thread which discuss difference
between AGGREGATE() and SUM()https://social.msdn.microsoft.com/Forums/sqlserver/en-US/ef4b2555-45f2-4871-9137-a12a637ce2f5/whats-the-difference-between-aggregate-and-sum?forum=sqlanalysisservices
Besides, you can use SQL profiler to monitor what's the difference between using AGGREGATE() and using SUM().
Regards,
Charlie Liao
TechNet Community Support -
Hey Folks,
My home network is getting upgrade, in that I have purchased the new Asus router http://promos.asus.com/US/rt-n66u/index.htm and the plan is to stop using the time caspule as router but keep it as my target drive for time machine. I have unlugged all the network/modem cables and plugged them into the new router, and the network seems to be working fine. I have plugged the time capsule into the new router via USB 2.0 but it is not being detected.
Any thoughts?
ThanksThe Time Capsule connects to a network using Ethernet or wireless.
The USB port on the Time Capsule can be used to attach another hard drive, or a printer.
Ethernet would be your best performance option.
Connect from a LAN port on your main router to the WAN port on the Time Capsule and be sure that the Time Capsule is configured in Bridge Mode to work correctly on your network. -
Delivery Date in SO not calculated with Route Transit Time
Hello Experts,
We are not able to calculate the delivery date in Sales Orders based on the Route transit time.We are using the Transportation group from Material master , Shipping condition from sold to Party , and Receiving issuing plants and zones .
One thing I notices is if we don't use the Transportation group in the material master , then the delivery date calculated based on transit time.Not sure not why its not working with using Trans group in Mat master
Please advise.
Thanks in advanceHi,
Kindly do not post same questions twice
HI,
For delivery scheduling enter time
IMG >> SD >> Basic functions >> delivery scheduling and transportation >> maintain duration
Maintain here route, pick/pack & loading time
For in house production maintain time in material master in MRP view
Then now system will take in account what is production time + pick/pack + load time and then will schedule
Kapil -
Transit time calculation Route
Hi,
I have an issue in determining the delivery date for an STO.
My route is maintained as XXX--02 which is 2 days transit time and is correctly getting determined in the STO, however the delivery date is not correct on the STO
Order created date is 11th july
Material availability is 12th July
trnspt pllng/Load date is 12th July
Goods issue date is 13th July
Considering 13th july as goods issue date and route with 2 days transit time should determine 15th july as the delivery date, however I am getting 14th july as the delivery date instead of 15th.
Can you please let me know if this is something that you have seen before? and any suggestions.
ThanksHi,
Please check if delivery scheduling is active and 2 days has been defined in route determination under transit time.
The planned GI and Actual GI dates also play an important role in delivery date determination.
If you are just creating a sales order create a delivery for it and check what is determined.
Regards,
Amit
Maybe you are looking for
-
F110 - Customer is contained in proposal 06/20/2014 DAFT1 no editing
Hello SAP Experts I have 2 set of invoices with 2 different due dates Aug/15/2014 and AUG/20/2014 I have executed APP for a set of due date Aug/15/2014 on and before, now the process is at proposal stage and waiting for release the payment run. Now I
-
How to handle special characters in SQL statements
How do you handle special charactes in a SQL statement? Here is an example: update table set notefield = 'This is Waldo's note' where keyfield = 7; Because the database connectivity vi accepts a string datatype wire, the ' in Waldo's note is seen as
-
Hi , We have configured Soap to RFC scenario.Where XI has provided the WSDL to the Sender system.Sender system consumes our web service and they will connect to XI . But Sender system is recieving the below error when they test. <SOAP:Envelope xmlns:
-
Revision: 1543 Author: [email protected] Date: 2008-05-02 15:32:59 -0700 (Fri, 02 May 2008) Log Message: Bug: BLZ-152-lcds custom Date serialization issue - need to add java.io.Externalizable as the first type tested in AMF writeObject() functions QA
-
Controlling access to applications
To manage users acccess to applications (in this case users abusing iChat) must they be using a network home directory? Currently the users are logging in with a local account and then logging into the server with an Active Directory account that is