Realtime machine time calculation in PISheet
Hi ,
When enter confirmation in COR6N they system automatically recalculates the machine time depending on the value we enter in the yield field.
I want to achieve the same functionality in PI sheet also. Currently, I have copied the PH_CON PI category and created my own category which is very much similar to the standard. When I enter the yield value I want the system to change the machine time according to formula in resource in realtime as it does in COR6N.
Can anyone advise on this.
Next question.
While entering the confirmation in PI sheet. I want to have a check on the tolerance values maintained in the material master and the system needs to give error accordingly. That means over or under delivery needs to be under check according to tolerance limits maintained in material master. How to put this condition in the PI sheet?
Any advise.
Thanks!
Dear,
PI sheet is basically used for logging the data by a operator. All checks happens when you send the data, IF you want the check to happen at entry/ save stage then you may need to create your own message function module with checks.
Raj
Similar Messages
-
How to safely remove all backups from Time Machine/Time Capsule?
I plan to 'clean up' my Time Machine/Time capsule completely, whereby I want to make it impossible for third parties to recover all or part of these old backups.
After I have accompished this I want to start from scratch backing up my Mac.
Can you please let me have a step by step procedure to accomplish my goal.
Thank you in advance!Muizen wrote:
Thank you WZZZ.
1) I am now specifically looking for info regarding deleting emails from backups.
It is my impression so far, that this is not possible?
Delete all backups of <home folder>/Library/Mail, per Time Machine - Frequently Asked Question #12.
And exclude that folder from future backups, per FAQ #10.
2) In addition I feel that being somewhat better in control of TM that it would be an advantage to really clean out TH completely and start a new back up, thereby systematically blooking certain matters from backing-up since there is no need for doing so.
How would I best accomplish this?
If the emails are all you're worried about, the procedure above will be fine.
But if you want to erase the TC's internal HD, see #Q5 in Using Time Machine with a Time Capsule. -
SharePoint 2010 (SP2010 SP1+ AU CU 2011) site built with Project Web Access template shows message in yellow "Your Local Machine Time Zone does not match your current Sharepoint Regional Settings."
KB Article http://support.microsoft.com/kb/2749599/en-us suggests applying Windows and SharePoint updates, but does not points to a specific update. Also suggests to enable "Always follow
web settings" for affected users who are in different time zone than the server time zone, but it does not work either.
Manjeet SinghHi,
According to your post, my understanding is that SharePoint 2010 (SP2010 SP1+ AU CU 2011) site built with Project Web Access template shows warning "Your Local Machine Time Zone does not match your current Sharepoint Regional Settings".
Users are getting this message even after correctly specifying and changing the timezone in their Sharepoint Settings. This is a common problem across the net, but we've found a workaround
that will eliminate this problem.
Step 1: Open your Web Database in your Browser
Step 2: Click the Arrow Under the Login ID (upper right corner)
Step 3: Choose My Settings
Step 4: Click the My Regional Settings Link
Step 5: Uncheck the 'Always Follow Web Settings' check and specify your time zone.
Step 6: Click OK
For more information, you can refer to:
Warning Message about time zone difference between your computer and the regional settings
of Sha...
Thanks & Regards,
Jason Guo
Jason Guo
TechNet Community Support -
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. -
Mass change in routing - operation details - machine times
Dear all,
I want to do mass change in machine times of aprox 20 materials in routing.
So can anyone guide me for the procedure.
Thanks.
Edited by: sapsarang on Aug 19, 2009 1:39 PMHI ,
As suggested by Mervin,better option is record in LSMW for CA02 transaction.
For creating LSMW ,please refer the link which explain the step by step procedure.
http://nabiljirani.com/SAP/SAP%20ABAP/SAP%20brain/LSMW_STEPS.doc
https://wiki.sdn.sap.com/wiki/display/CRM/LearningLSMWStepbyStep!!!
Hope it helps
Edited by: Girish Adaviswamy on Aug 20, 2009 6:59 AM
Edited by: Girish Adaviswamy on Aug 20, 2009 7:00 AM -
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 -
JSP getting local machine time?
I need to create a program which the users are located in two time zone. I will hence need to use the local machine time from their PC to check against certain record in my database. I understand JSP is processed at the server end. Is JSP capable of requesting the local machine time when a user hit the page?
otherwise, is there a way to use javascript to parse the local machine time into JSP?
Thank you.create a javascript function to get the local time:
function getLocalTime() {
var dDay = new Date();
var nHours = dDay.getHours();
var nMinutes = dDay.getMinutes();
var localTime = nHours + ":" + nMinutes;
document.localTime.value=localTime;
in your jsp include a hidden field to accept the local time:
<input type=hidden name=localTime value="">
call the getLocalTime() function onload, in this way you can get the local time of the client machine when the page is loaded, store it in a hidden field and then retrieve it in the next jsp using request.getParameter("localTime") method. -
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 -
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.' -
Setup, Labor and Machine time
Hi experts,
I am from BW and need to extract data from Production Order for Setup, Labor, Machine time and Control Key for a BW report. I found these details in talbe PLPO. My question is since these are all Standard Values, it should be Master Data? I am assuming they do not change from Production Order to prod order? If it is master data, what table should I find them in?
Also, table PLPO does not have the field MATNR. How can I identify these values are for which Material in the table?
Thanks in advance.Dear Kumar,
This is master data But it changes for Production order as per the Order Qty. In Routing you give this std values for Base Qty & according to this base Qty it calculates for Production ord qty. You will get the Link of Material through MAPL & PLPO table. You have to pass PLLNR field of MAPL to PLPO
For Production Order wise Confirmed values you can see in AFVV & AFVC table.
It will be helpful for you if you take help of PP consultant to understand the PP cycle. -
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 -
Machine time in activity types
Hi ,
Machine time is used as an activity. How can we see the total machine time booked for the day/ month / year.
Any standard report / transaction.
Regards
ShankarRDear,
You will get these details in S_ALR_87013617 or GR55 reports.
Also COOIS use List as Operation or Capacity and change the layout accordingly. OR From the T code co28 choose OP/sub Operation.
Regards,
R.Brahmankar
Edited by: R Brahmankar on Jan 14, 2011 2:14 PM -
Maintenance Machine time in ERP
Dear Gurus
My client want to record there Maintenance Machine time in ERP, since they don't have any PM module. So is it possible to record these things in ERP and will get as a report?.....Vry urgent pls tell me the sol'n for this.
regards
PPRHi,
you can maintain this as idle time in ur production order confirmation screen and for this reason of variance also you can give it so that if production order report runs then there you can save one layout which will give the idle time and reason of variance is xxxx
reward if useful to you. -
I heard alot of negative reviews about time machine / time capsule.
Time Machine is about the only way to create a full system backup with a Mac.
Nope, bootable clones is another option and vastly superior actually to TimeMachines basic backup only and undelete ability.
A clone is just that, a exact copy of OS X, bootable, accessible and everything just like the orignal.
Make as many as you need, clone everything in OS X to a larger drive too.
Read about them here
Most commonly used backup methods -
Time Machine/Time Capsule issues
I have had a never ending series of Time Machine/Time Capsule issues. There's little to configure, so there's not much I could be doing wrong.
One thing I have especially noticed, is that Time Machine is interfering with iTunes. iTunes has frozen for a time or locked up when Time Machine is backing up.
Another problem I have seen is the console log flooded with some sort of waiting for index error. Yet another are messages like -
"Jul 14 14:43:56 MJBook /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder[176]: StatusMonitor::volumesChangedCallBack returned -47"
The only thing I have ever found odd about my situation is that I am running a Time Machine and three other Airport Express devices. One of the Airport Express units uses WDS, and I heard that could create issues.
Any ideas?I have the same question and I see you posted yours in March. So this forum is REALLY helpful...
My Mac consultant doesn't use either so is not much help. He says to erase T.C. and start over, but it also contains all my backups for my other Mac which have worked perfectly. When I select T.C. in T.M. the only option is to Remove Disk; I want to save the MacBook backups. I also tried wireless as he suggested but got the same warnings as above so went back to Ethernet. Plus nobody can tell me how to access T.C. in Disk Utility to try to fix it.
Maybe you are looking for
-
I am running OS 10.6.8, an upgrade that I did after Christmas. A couple of times a year, I need to make a video of my students' performances, and have always been able to add text over the still photos before, using the directions in iMovie "help."
-
File upload, with asp..
i have everything working except being able to pass the variable with the file name to the script and getting the asp script to take it.... does anyone have some knowledge on this topic? i'll settle for a cf script also. thanks!
-
Error -7 in iChat 4 (10.5)
Hello, i posted this Topic in "iChat AV" and read that 10.5 related Apps should/could be posted here. So here is the same Post again, hopefully in the right Place Hey there, well iChat appears to make Trouble again and as i read, i´m not the only one
-
Mountain lion randomly disconnect wireless
I have 2011 iMac bought in Nov 2011 and upgraded to Mountain Lion. Now wirless is randomly disconnected all the time. What should I do and how to fix it?
-
I'm trying to use the reverse function for an audio file. when I open the audio file editor, there is no "Functions" pull down menu. how do I find it? thanks!