Learning time for SPC

Dear All,
For manhour estimation purposes, grateful if you may comment on the likely learning time for the SPC toolkit.
We need to write a module to link up to our client's an existing
factory automation system using SPC.
We have never use SPC before. We
noted that LabVIEW has a SPC module.
Is the LabVIEW SPC toolkit easy to learn and easy to use?

Don't know about Labview SPC - have you had a look at SPC for Machines - we have used that to link Labview directly to SPC in one of our products....

Similar Messages

  • Opinions - time for a new computer?  need more RAM, Time Machine back up full - get new computer?

    I am in a quandary.  My early 2008 iMac needs more Ram.  I could upgrade from 2gb to 4gb for around $60.  My 1T external hard drive for Time Machine is full and I do not relish the idea of it erasing old data if I continue to use it this way, but then I am shelling out more money for a new hard drive.  Can get new 3T hd for about $200.  Is it worth it to shore up my computer?  I have recently upgraded OS to ML and it is really starting to act sluggish.  I hate the idea of having to transfer everything over to a new Mac and therefore new OS.   I need a working computer every day for business for my husband, so it would be impossible to go without a computer while things are being transferred over - and how long would it take for me to do that.  Plus, will files and photos be transferred over exactly as I have organized them?  I have spent a lot of time organizing bookmark folders in Safari, mailboxes in Mail and albums and folders in iPhoto.  Don't want to start from scratch again.   Also don't like the idea that the new iMacs don't have a slot for dvds and cds, playing and burning.  I do a lot of this kind of thing.  So then I would need to buy a separate thing for doing this as well as the computer itself.  Have wondered how many things have changed from ML to Maverick.  Another big learning curve???
    Would really appreciate any thoughts and opinions.  I am a senior citizen and don't know how to sort through this.  One thing I think about is that I don't know how much longer I will be living and able to do computer work. I know everything is a risk, but would like some advice even if it is only an opinion.

    It's probably time for a new machine. You won't have to start from scratch. Migration Assistant will bring over all of your data and apps (some may need to be re-activated using product keys). Depending on how much you actually have, a few hours should be all it takes over Ethernet.
    Time Machine should continually erase the oldest backups when it needs space for new ones.
    You might want to do both. Upgrade the RAM in the old machine to the max it will take, and buy a new machine as well. If your husband really needs a machine available all the time for business, having a 'spare' is a good thing.
    Check out what's available in the refurb store. They are virtually indistinguishable from new retail stock and come with a full warranty. You can save hundreds.
    http://store.apple.com/us/browse/home/specialdeals/mac

  • Slideshow issues with variable time for each picture

    Hi all,
    I've migrated from AS1 to AS3, and boy, a lot has changed...
    Anyhow, to learn and understand AS3, I'm modifying a slideshow I found through thetechlabs. I want it to play SWF as well as JPG. These files are passed through an XML file. I added an element called <delaytime> to the XML file that replaces the standard time a photo is shown in the slideshow.
    I modified the onSlideFadeIn() function as follows:
    function onSlideFadeIn():void {
         slideTimer.removeEventListener(TimerEvent.TIMER, nextSlide);
         slideTimer = new Timer(xmlSlideshow..file[intCurrentSlide].@time);
         slideTimer.addEventListener(TimerEvent.TIMER, nextSlide);
         if(bolPlaying && !slideTimer.running)
         slideTimer.start();
    However, when I run it, I get this error message:
    ## [Tweener] Error: [object Sprite] raised an error while executing the 'onComplete'handler.
    TypeError: Error #1010: A term is undefined and has no properties.
    at slideshow_fla::MainTimeline/onSlideFadeIn()
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at caurina.transitions::Tweener$/::updateTweenByIndex()
    at caurina.transitions::Tweener$/::updateTweens()
    at caurina.transitions::Tweener$/onEnterFrame()
    It stops at the first picture of my slideshow. When I push the 'next' button it displays the next pic, but I get the same error message again.
    When I comment out this line:
    slideTimer = new Timer(xmlSlideshow..file[intCurrentSlide].@time);
    the slideshow runs OK, but without the delaytime specified in the XML file.
    I'm lost here, what am I missing?
    Any help to get me back on track is highly appreciated!
    Thanks a bunch in advance,
    Dirk
    Here is the complete AS, should you need it:
    // import tweener
    import caurina.transitions.Tweener;
    // delay between slides
    const TIMER_DELAY:int = 5000;
    // fade time between slides
    const FADE_TIME:Number = 1;
    // flag for knowing if slideshow is playing
    var bolPlaying:Boolean = true;
    // reference to the current slider container
    var currentContainer:Sprite;
    // index of the current slide
    var intCurrentSlide:int = -1;
    // total slides
    var intSlideCount:int;
    // timer for switching slides
    var slideTimer:Timer;
    // slides holder
    var sprContainer1:Sprite;
    var sprContainer2:Sprite;
    // slides loader
    var slideLoader:Loader;
    // current slide link
    var strLink:String = "";
    // current slide link target
    var strTarget:String = "";
    // url to slideshow xml
    var strXMLPath:String = "slideshow-data2.xml";
    // slideshow xml loader
    var xmlLoader:URLLoader;
    // slideshow xml
    var xmlSlideshow:XML;
    function initSlideshow():void {
         // hide buttons, labels and link
         mcInfo.visible = false;
         btnLink.visible = false;
         // create new urlloader for xml file
         xmlLoader = new URLLoader();
         // add listener for complete event
         xmlLoader.addEventListener(Event.COMPLETE, onXMLLoadComplete);
         // load xml file
         xmlLoader.load(new URLRequest(strXMLPath));
         // create new timer with delay from constant
         slideTimer = new Timer(TIMER_DELAY);
         // add event listener for timer event
         slideTimer.addEventListener(TimerEvent.TIMER, nextSlide);
         // create 2 container sprite which will hold the slides and
         // add them to the masked movieclip
         sprContainer1 = new Sprite();
         sprContainer2 = new Sprite();
         mcSlideHolder.addChild(sprContainer1);
         mcSlideHolder.addChild(sprContainer2);
         // keep a reference of the container which is currently
         // in the front
         currentContainer = sprContainer2;
         // add event listeners for buttons
         btnLink.addEventListener(MouseEvent.CLICK, goToWebsite);
         btnLink.addEventListener(MouseEvent.ROLL_OVER, showDescription);
         btnLink.addEventListener(MouseEvent.ROLL_OUT, hideDescription);
         mcInfo.btnPlay.addEventListener(MouseEvent.CLICK, togglePause);
         mcInfo.btnPause.addEventListener(MouseEvent.CLICK, togglePause);
         mcInfo.btnNext.addEventListener(MouseEvent.CLICK, nextSlide);
         mcInfo.btnPrevious.addEventListener(MouseEvent.CLICK, previousSlide);
         // hide play button
         mcInfo.btnPlay.visible = false;
    function onXMLLoadComplete(e:Event):void {
         // show buttons, labels and link
         mcInfo.visible = true;
         btnLink.visible = true;
         // create new xml with the received data
         xmlSlideshow = new XML(e.target.data);
         // get total slide count
         intSlideCount = xmlSlideshow..image.length();
         // switch the first slide without a delay
         switchSlide(0);
    function fadeSlideIn(e:Event):void {
         // add loaded slide from slide loader to the
         // current container
         addSlideContent();
         // clear preloader text
         mcInfo.lbl_loading.text = "";
         // check if the slideshow is currently playing
         // if so, show time to the next slide. If not, show
         // a status message
         if(bolPlaying) {
              mcInfo.lbl_loading.text = "Next slide in " + TIMER_DELAY / 1000 + " sec.";
         } else {
              mcInfo.lbl_loading.text = "Slideshow paused";
         // fade the current container in and start the slide timer
         // when the tween is finished
         Tweener.addTween(currentContainer, {alpha:1, time:FADE_TIME, onComplete:onSlideFadeIn});
    function onSlideFadeIn():void {
         slideTimer.removeEventListener(TimerEvent.TIMER, nextSlide);
         slideTimer = new Timer(xmlSlideshow..file[intCurrentSlide].@time);
         slideTimer.addEventListener(TimerEvent.TIMER, nextSlide);
         if(bolPlaying && !slideTimer.running)
         slideTimer.start();
    function togglePause(e:MouseEvent):void {
         // check if the slideshow is currently playing
         if(bolPlaying) {
              // show play button
              mcInfo.btnPlay.visible = true;
              mcInfo.btnPause.visible = false;
              // set playing flag to false
              bolPlaying = false;
              // set status message
              mcInfo.lbl_loading.text = "Slideshow paused";
              // stop the timer
              slideTimer.stop();
         } else {
              // show pause button
              mcInfo.btnPlay.visible = false;
              mcInfo.btnPause.visible = true;
              // set playing flag to true
              bolPlaying = true;
              // show time to next slide
              mcInfo.lbl_loading.text = "Next slide in " + TIMER_DELAY / 1000 + " sec.";
              // reset and start timer
              slideTimer.reset();
              slideTimer.start();
    function switchSlide(intSlide:int):void {
         // check if the last slide is still fading in
         if(!Tweener.isTweening(currentContainer)) {
              // check, if the timer is running (needed for the
              // very first switch of the slide)
              if(slideTimer.running)
              slideTimer.stop();
              // change slide index
              intCurrentSlide = intSlide;
              // check which container is currently in the front and
              // assign currentContainer to the one that's in the back with
              // the old slide
              if(currentContainer == sprContainer2)
              currentContainer = sprContainer1;
              else
              currentContainer = sprContainer2;
              // hide the old slide
              currentContainer.alpha = 0;
              // bring the old slide to the front
              mcSlideHolder.swapChildren(sprContainer2, sprContainer1);
              //Van hier
              if (currentContainer.numChildren > 0) {
                   var slideObjRef:DisplayObject = currentContainer.getChildAt(0);
                   currentContainer.removeChildAt(0);
                   slideObjRef = null;
              //Tot hier
              // delete loaded content
              clearLoader();
              // create a new loader for the slide
              slideLoader = new Loader();
              // add event listener when slide is loaded
              slideLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, fadeSlideIn);
              // add event listener for the progress
              slideLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, showProgress);
              // load the next slide
              slideLoader.load(new URLRequest(xmlSlideshow..image[intCurrentSlide].@src));
              // show description of the next slide
              mcInfo.lbl_description.text = xmlSlideshow..image[intCurrentSlide].@title;
              // set link and link target variable of the slide
              strLink = xmlSlideshow..image[intCurrentSlide].@link;
              strTarget = xmlSlideshow..image[intCurrentSlide].@target;
              mcInfo.mcDescription.lbl_description.htmlText = xmlSlideshow..image[intCurrentSlide].@desc;
              // show current slide and total slides
              mcInfo.lbl_count.text = (intCurrentSlide + 1) + " / " + intSlideCount + " Slides";
    function showProgress(e:ProgressEvent):void {
         // show percentage of the bytes loaded from the current slide
         mcInfo.lbl_loading.text = "Loading..." + Math.ceil(e.bytesLoaded * 100 / e.bytesTotal) + "%";
    function goToWebsite(e:MouseEvent):void {
         // check if the strLink is not empty and open the link in the
         // defined target window
         if(strLink != "" && strLink != null) {
              navigateToURL(new URLRequest(strLink), strTarget);
    function nextSlide(e:Event = null):void {
         // check, if there are any slides left, if so, increment slide
         // index
         if(intCurrentSlide + 1 < intSlideCount)
         switchSlide(intCurrentSlide + 1);
         // if not, start slideshow from beginning
         else
         switchSlide(0);
    function previousSlide(e:Event = null):void {
         // check, if there are any slides left, if so, decrement slide
         // index
         if(intCurrentSlide - 1 >= 0)
         switchSlide(intCurrentSlide - 1);
         // if not, start slideshow from the last slide
         else
         switchSlide(intSlideCount - 1);
    function showDescription(e:MouseEvent):void {
         // remove tweens
         Tweener.removeTweens(mcInfo.mcDescription);
         // fade in the description
         Tweener.addTween(mcInfo

    Thanks, but no luck so far...
    With the debugging publish setting on, I get the following error message:
    TypeError: Error #1009: Cannot access a property  or method of a null object reference.
    at  slideshow_fla::MainTimeline/slideshow_fla::frame1()[slideshow_fla.MainTimeline::frame1:12 3]
    Line 123 says:
    trace(xmlSlideshow..file[intCurrentSlide].@time);
    However, when I comment out the trace() line it gives another error  message:
    ## [Tweener] Error: [object Sprite] raised an  error while executing the 'onComplete'handler.
    TypeError: Error #1010: A  term is undefined and has no properties.
    at  slideshow_fla::MainTimeline/onSlideFadeIn()[slideshow_fla.MainTimeline::frame1:118]
    Where line 118 is:
    slideTimer = new  Timer(Number(xmlSlideshow..file[intCurrentSlide].@time));
    Now, according to my Flash manual I bought, I need to 'instanciate' things.  Did I forget this?
    Just can't get my head around this OOP stuff...
    Thanks a bunch for helping me!

  • Display times for "action objects"

    I work on a MacBook Pro, MaxOSX 10.7.5, Captivate 6.
    I need to hide a button that we have made as part of a "overlay" GUI - a form of CSS. We created a master project and coded it to be downloaded to all our other projects as a overall GUI.
    But in some projects I'd like to hide a single button - not to be able to press. Not through the whole project but after let's say three to five slides. I tried using a simple smartshape but the hidden area can still be clicked. Using clickboxes or button allow me to over ride the "CSS-button" but they have a major flaw: they only last the rest of the slide and I'd like to have them throughout the entire project.
    Copy-paste is NOT an option in this case - the project lenghts are vast ...
    Is there a clickbox, button, other object or advanced action that could make an "action object" to be displayed throughout the entire project?
    Or is there a widget och well trimmed programmer out there that could solve this?
    Very grateful for all good tips and answers!
    /Cheers!

    Hi,
    Thank you for the welcoming seems like a good forum
    to hang out in and learn new things!
    I guess I wasn't as clear as I should when describing
    my issue.
    In our work we have made a "Master Project" to function
    as a sort of CSS (Cascade Style Sheet) - just like you did in
    former web design.
    The Master Project functions roughly as a Master Slide
    but it has some benefits that a Master Slide isn't capable of.
    We use the Master Project to export our interface to
    all the other projects within the e-learning project.
    So instead of having to make changes in the Master Slide
    in every project we have a better control of GUI
    changes affecting the overall e-learning project.
    Your links have given us a great tool to work with!
    We have completely missed the possibility to convert
    a smartshape to a button and with that making it
    posible to be displayed throughout the project.
    Many thanks for those tips!
    All the best and a happy week-end!
    /Patrik
    Från:  Lilybiri <[email protected]>
    Svara till:  <[email protected]>
    Datum:  torsdag 7 mars 2013 14:09
    Till:  Patrik Lögdqvist <[email protected]>
    Ämne:  Display times for "action objects"
    Re: Display times for "action objects"
    created by Lilybiri <http://forums.adobe.com/people/Lilybiri>  in Advanced
    Adobe Captivate Users - View the full discussion
    <http://forums.adobe.com/message/5128986#5128986>
    Hello and welcome to the forum, But I don't understand your question very
    well. Perhaps it is only a matter of terminology. What do you mean by 'Master
    Project'? Is that a template, in which you have a custom theme, perhaps some
    advanced actions, variables, and of course master slides? You need interactive
    objects on all or a lot of slides, correct? I have been blogging a lot about
    the shape buttons, only interactive objects that allow that. Even did a
    webinar about them for Adobe. Here are some
    links:http://lilybiri.posterous.com/why-i-like-shape-buttons-captivate-6http:/
    /lilybiri.posterous.com/toggle-shape-buttonshttp://lilybiri.posterous.com/want
    -a-button-on-question-slide-in-capti vate
    <http://lilybiri.posterous.com/want-a-button-on-question-slide-in-captivate>
    http://blogs.adobe.com/captivate/2012/09/training-lilybiris-favourite-
    shapes-to-trigger-advanced-actions.html
    <http://blogs.adobe.com/captivate/2012/09/training-lilybiris-favourite-shapes-
    to-trigger-advanced-actions.html>  If you want control over the visibility of
    such a shape button, do not put them on a master slide, but time them for the
    rest of the project, starting with the slide where they should appear for the
    first time. Reason is that objects on master slides do not have an ID, which
    means that they cannot be hidden or disabled using a (advanced) action.
    Lilybiri
    Please note that the Adobe Forums do not accept email attachments. If you want
    to embed a screen image in your message please visit the thread in the forum
    to embed the image at http://forums.adobe.com/message/5128986#5128986 Replies
    to this message go to everyone subscribed to this thread, not directly to the
    person who posted the message. To post a reply, either reply to this email or
    visit the message page: http://forums.adobe.com/message/5128986#5128986 To
    unsubscribe from this thread, please visit the message page at
    http://forums.adobe.com/message/5128986#5128986. In the Actions box on the
    right, click the Stop Email Notifications link. Start a new discussion in
    Advanced Adobe Captivate Users by email
    <mailto:[email protected]il.fo
    rums.adobe.com>  or at Adobe Community
    <http://forums.adobe.com/choose-container!input.jspa?contentType=1&containerTy
    pe=14&container=2268>  For more information about maintaining your forum email
    notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • HT1577 Why am I experiencing long download times for an HD movie rental from itunes?

    I have been experiencing long download times for movie rentals from itunes (this time 11 hours).  I have even tried to use ethernet, turn off simultaneous downloads, and shut down my browser, to speed up the time but that didn't help.  My internet download speed is about 7mbps.  Any suggestions?

    iTunes: Purchasing and viewing HD videos
    When you purchase an HD video on a supported device or computer, only HD video will be downloaded. To download the SD version, you need to download the video again from your Purchased page. Conversely, if you purchase an HD video on an unsupported device, the SD version will be downloaded. Then, you will need to download the HD version from your Purchased page. Learn more about downloading previous purchases."

  • Do I need to keep my external hard drive connected at all times for time capsule?

    Do I need to keep my external hard drive connected at all times for time capsule?

    Hi,
    I have a similar question. I have backed up my external hard drive through my computer, onto my TC. When I go into TM, it doesn't show the external hard drive unless it is connected to the computer. Can I access the info from the external hard drive that is on the TC if I don't have the hard drive plugged in? If so, how can I do that?
    Thanks,
    Bernadette

  • How to get users' login logout time for user IDs for a specific date?

    Dear All,
    There is a case I being requested to retrieve the Userid, User Name,
    User Group, User Dept, Date, Login Time, Logout Time in a specific date, for example, 21.05.2009.
    How should I retrieve the information? The user want to input specific date and user group then return the details that mentioned above.
    I try with SUIM->Users->By Logon Date and Password Change... but I can't specific the date that I want ...
    I try with SM19 (Security Audit Log), but unfortunately in my system this is not activated.
    I've seek for SAP's advise, and they say need to ask abaper to developr a report in order to get such details....
    Do you guys have any other methods?
    Do you guys know which tables will contain the details as mentioned above?
    Best Regards,
    Ken

    Unfortunately without the audit log, you're going have a hard time finding this information.  As mentioned, ST03N will give you some information.  If your systems daily workload aggregation goes back to the date you require then you'll be able to get a list of all users who logged on that day.  ST03N doesn't keep time stamps just response times.
    My only idea is VERY labor intensive.  If your DB admin can retrieve a save of the database from that day then table USR02 will hold a little more information for you.  It will contain last login times for that day.  If your system backup policy happened to have saved the contents of folder "/usr/sap/<SID>/<instance>/data" then you potentially have access to all the data you require.  The stat file will have recorded every transaction that took place during that day.  If that file is restored you could use program RSSTAT20 to query against it.
    Good luck and turn on the audit log as it makes your life much easier!

  • I updated my iphone and when it came time for activation it won't work and keeps telling me to try again. At the top it says "No Service" and I have my SIM card in and a good WiFi connection and have connected it through iTunes but it says I have no SIM

    I updated my iphone and when it came time for activation it won't work and keeps telling me to try again. At the top it says "No Service" and I have my SIM card in and a good WiFi connection and have connected it through iTunes but it says I have no SIM card and need to disconnect and insert my SIM. I don't understand why this keeps happening and it's been going on for a wile now. I have tried over and over again to get this iPhone to work but nothig is happening. I've even gone on the website for support (apple.com/support) but cannot find anything that will help me with this situation. Can someone please help me find a solution to this problem? I have been without a phone and do not have money to buy another one and it is crucial for me to get it fixed. Thanks.

    wesb
    What computer operating system is involved in the Premiere Elements 11 and 13 issues? Same computer or different ones? Are you installing from purchased download installation files or from purchased installation disc? Does Premiere Elements 11 work completely on this computer whereas 13 will not?
    Let us go through the typical drill so as to take nothing for granted.
    1. Does the problem exist with or without the antivirus and firewall(s) disabled? Are you working with an individual home computer or in a
    school or company network?
    2. Are you running the program as Administrator and is there any "domain" account involved?
    3. Is your video card/graphics card up to date according to the web site of the manufacturer of the card?
    4. Do you have the latest version of QuickTime installed on the computer with Premiere Elements?
    Let us start by ruling in or out any of the above, and then we can decide what next.
    Any questions or need clarification, please do not hesitate to ask.
    Thank you.
    ATR

  • Generic extractor FM : taking 5-6 hours time for 3 months to BW urgent:

    Dear experts,
    I have designed a FM for generic extraction , which is taking 5-6 hoours time for 3 months data i.e 24 lakhs records to BW up to PSA .
    i have given the coding below plz provide any modifications to improve the performance.....
    FUNCTION zhr_att_analysis.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_REQUNR) TYPE  SRSC_S_IF_SIMPLE-REQUNR
    *"     VALUE(I_DSOURCE) TYPE  SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
    *"     VALUE(I_MAXSIZE) TYPE  SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
    *"     VALUE(I_INITFLAG) TYPE  SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
    *"     VALUE(I_REMOTE_CALL) TYPE  SBIWA_FLAG DEFAULT SBIWA_C_FLAG_OFF
    *"  TABLES
    *"      I_T_SELECT TYPE  SBIWA_T_SELECT OPTIONAL
    *"      I_T_FIELDS TYPE  SBIWA_T_FIELDS OPTIONAL
    *"      E_T_DATA STRUCTURE  ZHR_ATT_MAIN OPTIONAL
    *"  EXCEPTIONS
    *"      NO_MORE_DATA
    *"      ERROR_PASSED_TO_MESS_HANDLER
    Auxiliary Selection criteria structure
      DATA: l_s_select TYPE sbiwa_s_select.
    Maximum number of lines for DB table
      STATICS: l_maxsize TYPE sbiwa_s_interface-maxsize.
    Select ranges
      RANGES: l_r_pernr FOR pa9004-pernr,
              l_r_bukrs FOR pa0001-bukrs,
              l_r_persg FOR pa0001-persg,
              l_r_begda FOR pa9004-begda,
              l_r_persk FOR pa0001-persk.
    Maximum number of lines for DB table
      STATICS: s_s_if TYPE srsc_s_if_simple,
    counter
              s_counter_datapakid LIKE sy-tabix,
    cursor
              s_cursor TYPE cursor.
    *"Declaration of store data
    TYPES : BEGIN OF ty_9004,
             pernr TYPE persno,
             endda TYPE endda,
             begda TYPE begda,
             zrs TYPE zrs,
             zstorecode TYPE zstorecode,
            END OF ty_9004.
    *"Declaration of employee data
      TYPES : BEGIN OF ty_0001,
              pernr TYPE pernr_d,
              endda TYPE endda,
              begda TYPE begda,
             AEDTM TYPE AEDAT,
              bukrs TYPE bukrs,
              persg TYPE persg,
              persk TYPE persk,
              END OF ty_0001.
    *"Declaration of expected mandays
      TYPES : BEGIN OF ty_0000,
              pernr TYPE persno,
              endda TYPE endda,
              begda TYPE begda,
              aedtm TYPE aedat,
              stat2 TYPE stat2,
              massn TYPE massn,
              END OF ty_0000.
    *"Declaration of man days swiped
      TYPES : BEGIN OF ty_teven,
              pernr TYPE pernr_d,
              ldate TYPE ldate,
              satza TYPE retyp,
              aedtm TYPE aedat,
              counter_swiped TYPE i,
              END OF ty_teven.
    *"Declaration of Man days regularized
      TYPES : BEGIN OF ty_2002,
              pernr TYPE pernr_d,
              subty TYPE subty,
              endda TYPE endda,
              begda TYPE begda,
              aedtm TYPE aedat,
              END OF ty_2002.
    *"Declaration of Man days lostdue to leave
      TYPES : BEGIN OF ty_2001,
              pernr TYPE pernr_d,
              subty TYPE subty,
              endda TYPE endda,
              begda TYPE begda,
              aedtm TYPE aedat,
              END OF ty_2001.
    *****Declaration of weekly off
      TYPES : BEGIN OF ty_2003,
              pernr TYPE pernr_d,
              subty TYPE subty,
              endda TYPE endda,
              begda TYPE begda,
              aedtm TYPE aedat,
              tprog TYPE tprog,
              END OF ty_2003.
    Auxiliary Selection criteria structure
      DATA :
            it_0001 TYPE TABLE OF ty_0001,
            wa_0001 TYPE ty_0001,
            it_0000 TYPE TABLE OF ty_0000,
            wa_0000 TYPE ty_0000,
            it_teven TYPE TABLE OF ty_teven,
            wa_teven TYPE ty_teven,
            it_2002 TYPE TABLE OF ty_2002 ,
            wa_2002 TYPE ty_2002,
            it_2001 TYPE TABLE OF ty_2001,
            wa_2001 TYPE ty_2001,
            it_2003 TYPE TABLE OF ty_2003,
            wa_2003 TYPE ty_2003,
            wa_target TYPE zhr_att_main.
      DATA : date  TYPE dats,
      doj TYPE dats,
      dol TYPE dats,
      date1 TYPE dats,
      date2 TYPE dats,
             counter(9)  TYPE n.
    Initialization mode (first call by SAPI) or data transfer mode
    (following calls) ?
      IF i_initflag = sbiwa_c_flag_on.
    Initialization: check input parameters
                    buffer input parameters
                    prepare data selection
    Check DataSource validity
        CASE i_dsource.
          WHEN 'ZHR_ATT_ANALYSIS'.
          WHEN OTHERS.
            IF 1 = 2. MESSAGE e009(r3). ENDIF.
            log_write 'E'                  "message type
                      'R3'                 "message class
                      '009'                "message number
                      i_dsource            "message variable 1
                      ' '.                 "message variable 2
            RAISE error_passed_to_mess_handler.
        ENDCASE.
        APPEND LINES OF i_t_select TO s_s_if-t_select.
    Fill parameter buffer for data extraction calls
        s_s_if-requnr    = i_requnr.
        s_s_if-dsource   = i_dsource.
        s_s_if-maxsize   = i_maxsize.
    Fill field list table for an optimized select statement
    (in case that there is no 1:1 relation between InfoSource fields
    and database table fields this may be far from beeing trivial)
        APPEND LINES OF i_t_fields TO s_s_if-t_fields.
      ELSE.                 "Initialization mode or data extraction ?
    Data transfer: First Call      OPEN CURSOR + FETCH
                   Following Calls FETCH only
    First data package -> OPEN CURSOR
        IF s_counter_datapakid = 0.
          LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'PERNR'.
            MOVE-CORRESPONDING l_s_select TO l_r_pernr.
            APPEND l_r_pernr.
          ENDLOOP.
          LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'BUKRS'.
            MOVE-CORRESPONDING l_s_select TO l_r_bukrs.
            APPEND l_r_bukrs.
          ENDLOOP.
          LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'PERSG'.
            MOVE-CORRESPONDING l_s_select TO l_r_persg.
            APPEND l_r_persg.
          ENDLOOP.
          LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'BEGDA'.
            MOVE-CORRESPONDING l_s_select TO l_r_begda.
            APPEND l_r_begda.
          ENDLOOP.
          LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'PERSK'.
            MOVE-CORRESPONDING l_s_select TO l_r_persk.
            APPEND l_r_persk.
          ENDLOOP.
          OPEN CURSOR WITH HOLD s_cursor FOR
    populate only store code employess does not have empty store codes
            SELECT apernr bpernr bendda bbegda bbukrs bpersg b~persk FROM pa9004 AS a INNER JOIN pa0001 AS b
                    ON  apernr = bpernr
                     WHERE a~pernr IN l_r_pernr AND
                          a~zstorecode <> ''    AND
                          bukrs IN l_r_bukrs  AND
                          persg IN l_r_persg AND
                          persk IN l_r_persk.
        ENDIF.
    Fetch records into interface table.
      named E_T_'Name of extract structure'.
        FETCH NEXT CURSOR s_cursor
                   APPENDING CORRESPONDING FIELDS
                   OF TABLE  it_0001
                   PACKAGE SIZE s_s_if-maxsize.
        IF sy-subrc <> 0.
          CLOSE CURSOR s_cursor.
          RAISE no_more_data.
        ELSE.
         break-point.
          IF l_r_begda-high = '00000000' AND l_r_begda-low = '00000000'.
            date1 = sy-datum - 1.
            date2 = sy-datum - 1.
          ELSE.
            date1 = l_r_begda-low .
            date2 = l_r_begda-high.
          ENDIF.
          SORT it_0001 BY pernr persg begda endda bukrs.
          DELETE it_0001 WHERE persg NE 'T' AND
                               persg NE 'K' AND
                               persg NE 'P' AND
                               persg NE 'W'.
          DELETE ADJACENT DUPLICATES FROM it_0001 COMPARING pernr begda endda bukrs.
    populate all the employees that are active in pa9004.
          IF NOT it_0001[] IS INITIAL.
            SELECT pernr endda begda aedtm massn FROM pa0000
                   INTO CORRESPONDING FIELDS OF TABLE it_0000
                   FOR ALL ENTRIES IN it_0001
                   WHERE pernr = it_0001-pernr
                     AND ( massn = 'A1' OR massn = '00' OR massn = 'A6' OR massn = 'A3' ).
            SORT it_0000 BY pernr begda DESCENDING.
          ENDIF.
    populate SWIPED MAN DAYS data
          IF NOT it_0001[] IS INITIAL.
            SELECT pernr ldate satza aedtm FROM teven
               INTO CORRESPONDING FIELDS OF  TABLE it_teven
               FOR ALL ENTRIES IN it_0001
               WHERE pernr = it_0001-pernr AND
                                 satza = 'P01'
                                 AND ldate IN l_r_begda.
            SORT it_teven BY pernr ldate.
          ENDIF.
    **populate REGULARIZATION DAYS data
          IF NOT it_0001[] IS INITIAL.
            SELECT pernr subty endda begda aedtm FROM pa2002
              INTO CORRESPONDING FIELDS OF  TABLE it_2002
               FOR ALL ENTRIES IN it_0001
               WHERE pernr = it_0001-pernr
                AND  begda >= date1
                AND endda <= date2 .
            SORT it_2002 BY pernr begda endda.
          ENDIF.
    **populate LEAVE DAYS data
          IF NOT it_0001[] IS INITIAL.
            SELECT pernr subty endda begda aedtm FROM pa2001
              INTO CORRESPONDING FIELDS OF   TABLE it_2001
               FOR ALL ENTRIES IN it_0001
               WHERE pernr = it_0001-pernr
                AND  begda >= date1
                AND endda <= date2  .
            SORT it_2001 BY pernr begda endda .
          ENDIF.
    **populate WEEKLY OFF data
          IF NOT it_0001[] IS INITIAL.
            SELECT pernr subty endda begda aedtm tprog FROM pa2003
              INTO CORRESPONDING FIELDS OF  TABLE it_2003
                 FOR ALL ENTRIES IN it_0001
                 WHERE pernr = it_0001-pernr AND
                              tprog = 'OFF'
                               AND  begda >= date1
                               AND endda <= date2  .
            SORT it_2003 BY pernr begda endda.
          ENDIF.
          date = sy-datum.
    ********added changes on 06.04.2008**************action type & date dependent extaction****
    loop over it_0001 table
         BREAK-POINT.
          LOOP AT it_0001 INTO wa_0001.
           if sy-tabix = 1.
            counter = 0.
    for expected mandays
            LOOP AT it_0000 INTO wa_0000 WHERE pernr = wa_0001-pernr .
              IF wa_0000-massn = 'A1' OR wa_0000-massn = '00' OR wa_0000-massn = 'A3'.
                doj = wa_0000-begda.
               if wa_0000-endda = '99991231'.
              date2  = sy-datum.
               else.
                dol = date2.
               endif.
              ELSEIF wa_0000-massn = 'A6'.
                dol = wa_0000-begda.
              ENDIF.
            ENDLOOP.
            IF  date1 <= wa_0001-begda AND date2 <= wa_0001-endda AND date2 >= wa_0001-begda AND date1 <= wa_0001-endda.
              counter = date2 - wa_0001-begda .
              counter = counter + 1.
              date = wa_0001-begda - 1.
            ELSEIF date1 >= wa_0001-begda  AND date2 >= wa_0001-endda AND date2 >= wa_0001-begda AND date1 <= wa_0001-endda.
              counter =  wa_0001-endda - date1.
              counter = counter + 1.
              date = date1 - 1.
            ELSEIF date1 >= wa_0001-begda AND date2 <= wa_0001-endda AND  date2 >= wa_0001-begda AND date1 <= wa_0001-endda.
              counter = date2  - date1.
              counter = counter + 1.
              date = date1 - 1.
            ELSEIF  date1 <= wa_0001-begda AND  date2 >= wa_0001-endda AND date2 >= wa_0001-begda AND date1 <= wa_0001-endda.
              counter = wa_0001-endda - wa_0001-begda.
              counter = counter + 1.
              date =  wa_0001-begda - 1.
            ELSE.
              CONTINUE.
            ENDIF.
    ********completed changes on 06.04.2008**************action type & date dependent extaction**
    split records from date of joining to till date
            DO counter  TIMES.
              CLEAR : wa_teven , wa_target.
              date = date + 1.
              wa_target-date1 = date.
              wa_target-pernr = wa_0001-pernr.
              wa_target-bukrs = wa_0001-bukrs.
              wa_target-persg = wa_0001-persg.
              wa_target-persk = wa_0001-persk.
    for expected mandays count
              IF wa_target-date1 >= doj AND wa_target-date1 <= dol.
                wa_target-expectedmandays = 1.
                wa_target-aedtm = wa_0000-aedtm.
    for swiped mandays
                READ TABLE it_teven INTO wa_teven WITH KEY pernr = wa_target-pernr
                                                           ldate = wa_target-date1 BINARY SEARCH.
                IF sy-subrc = 0.
                  wa_target-swiped_days = 1.
                  wa_target-aedtm = wa_teven-aedtm.
                ENDIF.
    for regularized days
                LOOP AT it_2002 INTO wa_2002 WHERE pernr = wa_target-pernr
                   AND  ( endda GE wa_target-date1 AND begda LE wa_target-date1 ).
                  wa_target-reg_days  = 1.
                  wa_target-subty2 = wa_2002-subty.
                  wa_target-aedtm = wa_2002-aedtm.
                ENDLOOP.
    for leave days
                LOOP AT it_2001 INTO wa_2001 WHERE pernr = wa_target-pernr
                   AND  ( endda GE wa_target-date1 AND begda LE wa_target-date1 ).
                  wa_target-leave_days  = 1.
                  wa_target-subty1 = wa_2001-subty.
                  wa_target-aedtm = wa_2001-aedtm.
                ENDLOOP.
    for weekly off days
                LOOP AT it_2003 INTO wa_2003 WHERE pernr = wa_target-pernr
                   AND  ( endda GE wa_target-date1 AND begda LE wa_target-date1 ).
                  wa_target-off_days   = 1.
                  wa_target-aedtm = wa_2003-aedtm.
                ENDLOOP.
    append work area to e_t_data
                APPEND wa_target TO  e_t_data.
              ENDIF.
            ENDDO.
          ENDLOOP.
    clear internal tables
          CLEAR :  it_0000 , it_0001 , it_2001 , it_2002 , it_2003 , it_teven.
        ENDIF.
        s_counter_datapakid = s_counter_datapakid + 1.
      ENDIF.   "Initialization mode or data extraction ?
    ENDFUNCTION.

    Hi Guys
    I can have both your cases looked into for you.
    Please send me an email using the contact us form in my profile. The address for this form in the section 'about me'.
    Thanks
    Stuart
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry that we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • Longer time for Material Availability check while creation of prd order.

    Hi guys,
    I am facing a weird problem while creating production orders thru CO01.
    I enter the component and plant and I am also using the forward scheduling option.
    for some reason, SAP is taking a long time for material availability check when I hit the release button.
    Sometimes its taking more than an hour. Its happening with few specific BOM's, and I have checked the master data but I could hardly find a problem in master data.
    Can someone suggest me some tips ??
    Thanks & Regards,
    Sashivardhan

    Hi,
    Please check the Availability check control maintained for Components it should be 01 or 02. Also check the issue storage location maintained or not. You can maintain issue storage location in BOM in Status/lng text tab in Production Storage Location.
    Hope this will help.
    Regards,
    Navin

  • Set frame delay time for animated gif using ImageIO

    I'm trying to change the delay time of each frame for an animated gif by changing the metadata for each frame as following but it doesn't change anything.
    static private IIOMetadata setMetadata(IIOMetadata metadata, int delayMS) throws IOException
              Node root = metadata.getAsTree("javax_imageio_gif_image_1.0");
              for (Node c = root.getFirstChild(); c != null; c = c.getNextSibling())
                   String name = c.getNodeName();
                   if (c instanceof IIOMetadataNode)
                        IIOMetadataNode metaNode = (IIOMetadataNode) c;
                        if ("GraphicControlExtension".equals(name))
                             metaNode.setAttribute("delayTime", Integer.toString(delayMS));
         }Does anyone know how to set delay time for animated gif using ImageIO ?

    I'm trying to change the delay time of each frame for an animated gif by changing the metadata for each frame as following but it doesn't change anything.
    static private IIOMetadata setMetadata(IIOMetadata metadata, int delayMS) throws IOException
              Node root = metadata.getAsTree("javax_imageio_gif_image_1.0");
              for (Node c = root.getFirstChild(); c != null; c = c.getNextSibling())
                   String name = c.getNodeName();
                   if (c instanceof IIOMetadataNode)
                        IIOMetadataNode metaNode = (IIOMetadataNode) c;
                        if ("GraphicControlExtension".equals(name))
                             metaNode.setAttribute("delayTime", Integer.toString(delayMS));
         }Does anyone know how to set delay time for animated gif using ImageIO ?

  • Taking too long time for booting

    Hi there,
    I just bought myself an iphone 5s. . Try to get up started for the 1st time but the thing keep booting or loading too long time for endless hours. What may go wrong? Appreciate if you could help me on this.

    But payment run before due date. you are not run before due date once check it

  • How to set up Airport Extreme with Charter ARRIS Modem TM902A for the first time for WIRELESS.

    How to set up Airport Extreme with Charter ARRIS Modem TM902A for the first time for WIRELESS.
    When Charter Tech goes to your site, have them connect the modem up, but do not connect the modem to your iMAC or MacBook Pro.  What you want to do is connect the Airport Extreme to the iMac or MacBook Pro first with the Ethernet Cable. You have to do this to configure via Airport Utility to set up the Base Station Name & Base Station Password.
    You will then create/configure a Wireless Network, create your Wireless Password that will be entered on each of your Devices, example, Apple Tv, your iPhone, etc., you want to allow access to your Wireless Network you are creating.
    Wireless Security will be -> WPA/WPA2 personal or just WPA2
    Enter the Wireless Password you want
    Verify the Wireless Password (enter it again)
    After it is created you will see it on the Airport Utility window with the name you created for it and to the left, will be a Dot (circle that will be yellow).
    Next you then want to unplug the power to the Airport Extreme, and then take the end of the Ethernet cable you unplugged from the iMac or Lap top MacBook Pro and connect it to the back of the Modem.
    Next unplug the power cord from the modem and wait about 5 minutes, then plug the power back into the Arris Modem and wait until all lights come back on the modem wait
    about 5 minutes, then plug the power cord back to the Airport Extreme and you will see it the light blinking yellow.  Wait about 5 to 10 minutes, during this time Restart you IMAC or MacBook Pro, and once it is back up click on the Airport Utility and you should see on the Airport Utility screen.
    For INTERNET to the left the light should be green and you should see the Airport Extreme also appear and the light to the left on the screen should also be green.  If they are, you then should be able to click on the Wireless Symbol on top of bar of the screen and click to select the Wireless Network Name you created.
    If you Do Not See the light (Icon) next to INTERNET turn Green, or if you see the Internet Light Green, but the Light (Icon) next to the Airport Extreme is yellow, unplug the power again to the modem and unplug the power again to the Airport extreme and wait about 15 minutes or up to 30 minutes. Then plug the power cord back to the modem wait till all the lights light up then, plug the power cord back into the Airport Extreme and Restart your iMAC or MacBook Pro.
    The Airport Extreme light should change from yellow to green. Open up the Airport Utility to see what the indicators are showing they should both be green.  Again select Wireless network you created under the Wireless Icon on the top right of the screen. Open Safari and see if you are able to Route to a web page or the apple site should appear.
    WHAT TO DO IF YOUR AIRPORT EXTREME WAS PREVIOUSLY SET UP FOR USE WITH ANOTHER CARRIERS ROUTER OR MODEM.
    NOTE:  If you already had your Airport Extreme connected for example, I previously had ATT Uverse and the Airport Extreme was connected to the Wireless Router Model 3801HGV, I disabled the Uverse Wireless and used the Airport Extreme for the Wireless signal in bridge mode, as the Airport extreme Signal is much stronger than the Uverse router, and I was able to obtain a Wireless signal with the Airport Extreme way much better with no signal loss which was very very frustrating with the Uverse router.
    Anyhow if you had it hooked up like this, now that you will be using it with the Charter ARRIS Modem TM902A, you will need to reset the Airport Extreme to clear out the old data it has in memory, with the previous set up otherwise it will not work. Trust me I spent 6 hours trying to make it work reading all Apple Support Community questions and answers relating to this type issue/problem others have been having trying to get their set up working. I tried all the tips, and I finally decided just to see if by chance I would be able to connect with someone with Charter Tech support who might be familiar with Apple to be able to assist me and by luck I did.  He told me why it was not working and was all due the previous configuration with the ATT Uverse router was still in memory with the Airport Extreme. Finally it was 10:30 PM when I decided to call Charter Tech Support and I had been working on this since 3:00 pm pacific. I did not call them earlier as all the post I read said they never received any good help from Charter. After calling them I finished up by 11:00 PM and was able to finally connect Apple Tv, iMac, iPhones and Macbook Pro. We love our Apple Product and Happy all is connected with the new
    Internet Provider Charter. I must say the speed is way way much better than it ever was with AT&T Uverse. 
    THIS IS WHAT YOU WILL NEED TO DO:
    First you will need to unplug the Airport Extreme, then by taking the tip of a pen or paper clip end you need to push the reset button on the back of the Airport Extreme and hold it
    down and at the same time plug the power cord back into the Airport Extreme count to 5 or 10 then release the reset button. Then once he light in front of the Airport Extreme stops blinking you need to plug the Ethernet cable from the Airport Extreme to your iMAC or Macbook Pro, and restart which ever one you have, then open the Airport Utility once it is back up.  If you see airport extreme pop up with the old network name or it shows and yellow triangle click on the Airport Extreme ICON it will not let you configure it but will ask if you want to get rid of it or remove and just do it.  Then Again restart your iMAC or MacBook Pro, open up Airport Utility again, and on the top left you should see under “Other Airport Base Stations” the MAC ID for the Airport Extreme.
    You will then create/configure a Wireless Network, create your Wireless Password that will be entered on each of your Devices, example, Apple TV, your iPhone, etc., you want to allow access to your Wireless Network you are creating.
    Wireless Security will be -> WPA/WPA2 personal or just WPA2
    Enter the Wireless Password you want
    Verify the Wireless Password (enter it again)
    After it is created you will see it on the Airport Utility window with the name you created for it and to the left, will be a Dot (circle that will be yellow).
    Next you then want to unplug the power to the Airport Extreme, and then take the end of the Ethernet cable you unplugged from the iMac or Lap top MacBook Pro and connect it to the back of the Modem.
    Next unplug the power cord from the modem and wait about 5 minutes, then plug the power back into the Arris Modem and wait until all lights come back on the modem wait
    about 5 minutes, then plug the power cord back to the Airport Extreme and you will see it the light blinking yellow.  Wait about 5 to 10 minutes, during this time Restart you IMAC or MacBook Pro, and once it is back up click on the Airport Utility and you should see on the Airport Utility screen.
    For INTERNET to the left the light should be green and you should see the Airport Extreme also appear and the light to the left on the screen should also be green.  If they are, you then should be able to click on the Wireless Symbol on top of bar of the screen and click to select the Wireless Network Name you created.
    If you Do Not See the light (Icon) next to INTERNET turn Green, or if you see the Internet Light Green, but the Light (Icon) next to the Airport Extreme is yellow, unplug the power again to the modem and unplug the power again to the Airport extreme and wait about 15 minutes or up to 30 minutes. Then plug the power cord back to the modem wait till all the lights light up then, plug the power cord back into the Airport Extreme and Restart your iMAC or MacBook Pro.
    The Airport Extreme light should change from yellow to green. Open up the Airport Utility to see what the indicators are showing they should both be green.  Again select Wireless network you created under the Wireless Icon on the top right of the screen. Open Safari and see if you are able to Route to a web page or the apple site should appear.

    I just got a Charter Modem. Model TM822. While I was moving, my Airport Extreme was still at my old place.
    I have a Linksys WRT320N I used for the initial Charter setup.
    I can get my Airport to work here, but the Internet light on the Modem flashes Yellow.
    Hasn't caused any issues so far but one thing I did notice.
    On the Linksys there were 3 DNS servers listed.
    The Airport Extreme only lists 2 and i don't see where I could add another, only change whats already there.
    I tried everything above, but light on modem still flashes yellow.
    I have the technicians cell phone. Told me "that shouldn't be" and gave the same advice listed above.
    I'll break down and call Charter one day, see if it's on their end. NSA tracking may need a reset LMAO.

  • Background job is taking lot of time for processing the job.

    One background job - which is processing Idocs is processing a job for more than 2000+ seconds.. and completed tho.
    But this is happening for the past few days.. is there any way to trouble shoot, or find from any logs of this completed job, to find out why it was taking lot of time for processing.
    Can you please tell me the steps of analyzing / trouble shooting why it was taking lot of time daily.
    Regards,
    Satish.

    Hi Satish,
    Run DB stat from db13 it will improve the performance.
    Check number of idocs. You can send part by part, instead of sending huge data.
    Check SM58 logs
    Suman

  • How to schedule a job occurring time for 1 1/2 hour in sql server

    how to schedule a job occurring time for 1 1/2 hour in sql server

    Hi,
    This is a known issue in the previous SQL Server version and has been fixed in SQL Server 2012. You should be able to set 90 minutes and the change would be saved in SQL Server 2012.
    http://connect.microsoft.com/SQLServer/feedback/details/346786/ssms-does-not-support-job-schedule-frequencies-greater-than-60-minutes
    Currently, you may schedule the job to occur every 1 hour or you may refer to the suggestion by Latheesh to get around this.
    Thank you for your understanding.
    Tracy Cai
    TechNet Community Support

Maybe you are looking for