WCM: Complete Operational WCD when WCI items still in Test untagging status ETUG

Greetings Experts, Gurus and SAP Sages!
I am facing a requirement to prevent the WCD from being set to "Completed" (CLSD) system status if there are items on the WCD that are still in "Untagged Temporarily" (ETUG) status.
As per the Operational Cycle process described here,the the EUG status should follow the ETUG status in the flow. My understanding of this business process is that you want to set the technical object of the WCI in a final operating condition status after it's been test-ran and untagged, so that it is apparent it is running operationally, and you can't switch the operating condition status once the WCD is complete. Therefore, I would expect the flow to be: ETG -> BTUG -> ETUG -> EUG -> CLSD
I seem to remember from a previous project, but am uncertain: Is there a setting in the configuration, or an authorization object that controls wheter the CLSD status can be set with the WCIs in status ETUG, or in EUG only? Is that standard behaviour? Can we prevent the ECD from being closed from ETUG status in any other way that using a BADI?
I am on ECC6 EHP5.

Hi Sebastian,
no there does not exist such kind of setting. It is a standard behaviour. You must implement for example the following BAdI:
BAdI: BADI_WCM_WCMOBJ; Method STATUS_CLSD_CHECK
You can use this method to check whether a WCM object can be closed.
Regards, Uwe
You can find a reference list of all BAdIs on the WCM website.

Similar Messages

  • Can we complete a workitem when it is still under "execution"?

    I have one task in my gui inbox(SBWP), when I try to execute it(Click the execute button) I found it locked the workitem(From transaction SM12) in my terms at once, now if I try to complete the workitem with one "Event" in my application, I found the "Event" can not complete the workitem because it is locked by me,but if I leave the "execution" at once after I triggered the "Complete" event for the workitem, it works then. so I guess
    1. the FM:SWL_WI_EXECUTE lock the workitem first
    2. the FM:SWL_WI_EXECUTE will "execute" Application BO Method to go to application screen.
    3. The application trigger one event to complete the workitem without leaving.
    4. But the workitem is still locked by SWL_WI_EXECUTE, so when the event receiver WF-BATCH try to change the status of the workitem, it failed, the workitem is not completed.
    My question is DO WE HAVE A WAY TO DEQUEUE THE WORKITEM BEFORE LEAVING TO SBWP?
    Thanks and best regards.

    Hi,
    This is correct behaviour for terminating events. The problem is that the terminating event could come from another user, which is why the task is locked whilst you are executing it. Normally the lock should not present a problem as the event would then be processed at a later stage, sometimes with the error monitoring job - i.e. up to 20 minutes later.
    The solutions suggested by Glauco to use a terminating event in another branch of a fork will also work, but you will have the same issue: the work item will remain locked, the fork completes and the workflow will move on, leaving one in process item behind. This item eventually gets set to completed by the error monitoring job.
    Perhaps you could also look at the way in which you are raising the event. When raising events directly from within an application is that the event should always be one of the very last things that are done.
    Hope that helps,
    Mike

  • Not enough memory to complete operation when writing TDMS file.

    Hello,
       I am new to Labview and having a bit of trouble. I attach some code here. What I want to do is sample from a NI 9220 DAQ from 16 channels at 20kHz, while from a second NI 6009 sample from 4 channels at 1000 kHz. I want to append these together and then write to a TDMS file. 
       I have tried to write this code using NIDAQmx VIs but when I have it has resulted in the two DAQs not having the right timing with each other. The 6009 samples for a longer time. 
       I have now tried instead to use the DAQ assistant to read from the two VIs and it works in that TDMS files produced have the correct timing between the two DAQS. However, if I record for more than 2 minutes, in the end I want to end up recording for a much longer time, I have the "Not enough memory to complete operation" message appearing. This still happens even if I get rid of my charts to display the data, and also if I get rid of the NI 6009 completely and just keep the 9220 sampling at 20kHz. It happens even if I repalde my TDMS write and put a write measurement assistant in which I tell it to write a series of files that are each less than 2 minutes long. 
        I think it is something to do with the amount of data I am reading and is being held in memory. What can I do about this? Also, my charts display very slowly, basically evey second when the 20k are read in. However if I lower the amount of data read the charts don't display all the data points. 
        I attach my code, thanks for your help!
        Alfredo 
    Attachments:
    03_02_15.vi ‏688 KB

    alfredog wrote:
    Hello,
       I am new to Labview and having a bit of trouble. I attach some code here. What I want to do is sample from a NI 9220 DAQ from 16 channels at 20kHz, while from a second NI 6009 sample from 4 channels at 1000 kHz. I want to append these together and then write to a TDMS file. 
       I have tried to write this code using NIDAQmx VIs but when I have it has resulted in the two DAQs not having the right timing with each other. The 6009 samples for a longer time. 
       I have now tried instead to use the DAQ assistant to read from the two VIs and it works in that TDMS files produced have the correct timing between the two DAQS. However, if I record for more than 2 minutes, in the end I want to end up recording for a much longer time, I have the "Not enough memory to complete operation" message appearing. This still happens even if I get rid of my charts to display the data, and also if I get rid of the NI 6009 completely and just keep the 9220 sampling at 20kHz. It happens even if I repalde my TDMS write and put a write measurement assistant in which I tell it to write a series of files that are each less than 2 minutes long. 
        I think it is something to do with the amount of data I am reading and is being held in memory. What can I do about this? Also, my charts display very slowly, basically evey second when the 20k are read in. However if I lower the amount of data read the charts don't display all the data points. 
        I attach my code, thanks for your help!
        Alfredo 
    As far as your charts updating very slowly - the way your code is designed, your charts only get data when both 20K samples & 1M samples are done collecting.  Have you tried setting up DAQ assistant for continuous sampling instead of 20K samples or 1M samples?
    -BTC
    New Controls & Indicators made using vector graphics & animations? Click below for Pebbles UI

  • I am trying to use imovie and i have never had this problem before. All of my videos are completly grey and when you try and play them all i get is a black screen but i still hear audio.  Can you please help and tell me what i need to do. Thank you

    I am trying to use imovie and i have never had this problem before. All of my videos are completly grey and when you try and play them all i get is a black screen but i still hear audio.  Can you please help and tell me what i need to do. Thank you

    Make sure all of the videos used in the project that is having that problem are from the same event. If they are from multiple events, move them all into one event.

  • I scanned an item from my computer to my documents and it said then scan was complete. However, when I searched my documents the Item was not there. Where can I find the item?

    I scanned an Item from my computer to my documents. The scan was completed.  However, when I searched in my documents, the Item was not there.
    Where can I find the item scanned?

    Most scanners default to Pictures folder or the Desktop.
    If you select All My Files and Arrange by Date Added you should be able to find the file.
    If you turn on Show Path bar and Show Status bar for your Finder Window under View in the Menu bar, when you select the file you will see the path of the file in the bottom of the Finder window.

  • Cannot complete operation (update) because you do not have sufficient privileges for some items

    updating to 3.6.6, get message "cannot complete operation because you do not have sufficient privilege for some items". Running the new second version, works fine, but slow, the old version not updating

    See http://kb.mozillazine.org/Installing_Firefox#Mac_OS_X
    Download a new copy of the Firefox program: http://www.mozilla.com/firefox/all.html
    Trash the current Firefox application to do a clean reinstall.
    Install the new version that you have downloaded.
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

  • Still print picking list when ALL items are blocked. Is this possible.

    You know what warehouse people are like. When a delivery has all items blocked the picking list isn't printed, and the warehouse guys are wondering why nothing has printed. Of course a list is printed when there is at least one item that is not blocked on a picking list.
    My question is whether it's possible to print the picking list when all items are blocked?. I would expect no items to be printed for picking, but at the bottom of the report I would expect to see a list of items blocked.
    Anyone?.
    Jason

    HI
    1.Kindly chekc the routine in the t code V/27
    2.Against the routine against rthe condition type in the be.lwo path
          Logistics Execution
              Shipping
                 Output Control
                      Output Determination
                         Maintain Output Determination for Outbound Deliveries
                                Maintain Output Determination Procedure
    3.if it is in warehouse management then check in the tocde OMLV
    REgards
    Damu

  • Line itemwise report for operational WCD

    Hi,
    We are using the Mechanical and process isolations in the operational WCD. one WCD for Mechanical isolation and another one for process isoaltion.
    There are multiple Isolation points used for process isolation. Example: 20 process isolation points in a WCD for a particular equipment.
    The standard list editing operational WCD transaction (WCL4) provides a report which is a single line on the WCD level.
    Where as we are interested to track on the individual line item i.e. individual isolation points status with in a WCD to track how many isolations are tagged, how many are still to be tagged, how many are untagged, how many are closed etc..
    Proposed layout:
    WCD number         Line item #        Status
    30000010              10                    Tag printed
    30000010              20                    Tag printed
    30000010              30                    Tagged
    30000010              40                    Tagged
    30000010              50                    Untagged
    30000010              60                    Untagged 
    Is there any way to enhance the standard report (WCL4) or we need to develop a custom report.
    Thanks in advance.
    Regards,
    Raj

    Hi Harshvrdhan,
    Thanks for your immediate reply.
    I am using the functionality what you have proposed. With WCL4 transaction I can bring all the line items for WCD but the status field is not available hence it is available only on the header level.
    The user has requested that they need line itemwise status report for all the shutdown related WCDs to be downloaded into excel fiel for status monitoring and management reporting purpose.
    However, I was reading one of the document written by Michael lesk i.e. 8103_Function_Enhancements_EN.
    As he mentioned, with SAP EhP5 there are more functionalities available with BADIs for WCM list processing.
    Hopefully by implementing the BADIs mentioned in the document we should be able to get the additional custom fields.
    Special thanks to Uwe Kirchner and Michael lesk for their continuous effort in enhancing the WCM processes and the dedicated user support.
    Regards,
    Raj

  • Approval Work Item still appears in inbox after approval

    Hello, We have an issue in SRM 7.0 UWL when an approval work item at a specific level finds more than 1 approver.
    1) When there is more than 1 agent at a specifc approval level, after the item is approved the work item still stays in the Inbox of the approver. However, the approval tab on the document in SRM shows that approval is now at next level. The workflow log does not show any updates based on the approval that was done.
    2) However, if the work item in UWL is clicked on twice, and approval is done from the webdynpro launced the second time, then it behaves correctly. Workflow logs get updated, next approval is routed correctly, and work item is removed from inbox.
    Note: This only happens when an approval level has more than 1 agent. If there is only 1 agent, the behavior is correct.
    Appreciate any help!
    Zack

    Hi,
    Is this a standard solution or modified solution?
    You could have faced a bug in the standard work item completion code. I have seen this a few times (not with SRM though). Coul you check that what is the actual status of the work item after you have tried to approve the work item for the first time. You can check the status in transaction SWI1 (or table SWWWWIHEAD). Is the status COMMITTED? And after you try approve it second time, does it get status COMPLETED? IF this is the case (the status is COMMITTED after first approval), there is a bug in the code somewhere. You might find a solution for this from OSS. IF you have some kind of customized solution, you need to talk with a WF consultant - basically you need to call the work item completion function two times in a row.
    Regards,
    Karri

  • Not enough memory to complete operation

    I've looked through the forums for the "not enough memory to complete operation" error and despite following the advice I found, the error still occurs.
    I'm using LabVIEW 2012 to try and continuously monitor our system, recording temperature, power, etc vs time (values obtained from USB-6008 DAQ).  The data being saved to file, is done every 60 seconds using a small array (no problems here).  The typical run/time memory allocation to LabVIEW is about 180MB (4GB RAM on computer).
    The issue I feel is related to our wish to display this data on graphs for extended periods of time.  The current iteration of the code works as follows.  
    1) we have 2 XY graphs with 2 plots each.  
    2) for each plot, I am initializing clusters of 2 arrays of 100,000 (XY pairs) which are wired to shift registers.  I know this is larger than can be displayed on a graph but I am currently more concerned with reducing the number of data copies.  
    3)  Every 10th data point is added into the arrays using an In Place Element Unbundle/Bundle along with a "Replace Array Subset".  This means there are approximatly 8640 points per day. (A single day is the shortest time span typically viewed)
    4)  For two plots on an XY graph, two clusters are combined in an array (using Build Array).  I think this is my problem right here.  Since everytime I update the graphs Labview has to allocate memory for the 4 XY plots. ( Am I correct here?)
    Decimating the data further when looking over multiple days will reduce the amount written to the plots.  However this operation creates data copies.  Is it worthwhile in this case? 
    Instead of initializing 4 clusters (1 for each plot) and combining into arrays later, would it be better to initialize Array of cluster of arrays (2 plots per graph) and update the data by "index / unbundle / replace array subset / bundle replace array subset" series of operations?
    Solved!
    Go to Solution.

    Hooovahh wrote:
    But what I think is more important is your middle loop is unbounded in size for its arrays.  Memory will continue to grow until it crashes.  You removed the write VI but I'm guessing you are essentially overwritting the old file with all the same data but with 1 extra data point.  Why not just write that one extra data point by appending to the existing file?  Look at the Write To Spreadsheet which shows how to append to file (it is an optional input).
    If you'll notice the section where I comment that the save VI is deleted, there is a null array wired to the shift register.  While this probably isn't the best practice, the array builds to 60, appended to the text file, and overwritten with the null array.  This is to avoid opening/closing the file every second.
    The other array there stores power and time for every data point when the sun is up for the day (probably near 50,000 data points).  This is done to calculate the days insulation by integration.  This array could probably stand some improvement using an initialized array.  (i got tunnel vision on the other part of the code and missed this).
    In regards to the graphs containing multiple days worth of data to be viewed at any time, yes this is a requirement (the more the better).  This is for monitoring a solar array at our University and, once free from bugs, will be linked to a web page using the Web Server.  So individuals may view data within the past 1,2, or even 3 weeks.  Normally, I would just have a separate VI for viewing data when desired but 24/7 access to view the updated data is a requirement.
    Am I correct in that the Build Arrays (just prior to the graphs) makes a data copy of each cluster?  Could it be this large data copy that's the cause of the error?  My understanding from other posts is that this error is generally linked to non-continuous memory allocation for arrays/clusters.  

  • Leopard 10.5.3 - Login Items still Crash

    This is the exact steps I took in the past hour. Nothing was omitted.
    Installed a freshly, re-partition and totally erased Leopard 10.5 on a white Macbook.
    Ran software update, downloaded and installed 10.5.3.
    Opened up Directory Utility.
    Bound to AD and to my OD server.
    Changed Login Options so it wouldn't auto-login my local admin.
    Restarted, logged in with my AD account.
    Went to System Prefences, Accounts. Selected Login Items (next to "Password"). Panel hung immediately, just like it has been for months, since 10.5. Console logs the same Assertion Failure. I still cannot alter my Login Items when bound to AD.
    Again, this is a completely fresh system. Anyone with a spare computer and access to an AD domain should be able to reproduce this problem in about an hour.

    Also, there is no com.apple.loginitems plist file in my ~\Library\Preferences.
    On another note: Because of this problem and various others with Leopard's AD and OD and Kerberos, I would never recommend upgrading. I have spent 100+ hours trying to integrate Leopard into my network. All of my Tiger machines integrate fine.
    Problem is, Apple doesn't sell any machines with Tiger installed on them. You can only buy Leopard machines, and you can't downgrade them to Tiger. Therefore, any new hires we have get Leopard machines, and they don't work right on my network. I am considering installing Windows XP on most of these new Leopard machines until Leopard's networking functions properly.
    I don't think I have a very complicated or unique network (OD Xserve for OSX managed prefs that shares all files via SMB, Windows 2003 server for AD and for my PC users, Kerberos for SSO capabilities) and it all works fine on Tiger.
    I'm really tired of spending hours trying to get Leopard to do the same basic things, such as figure out why Login items still crash, figure out why I get Broken Pipe errors and "Volume could not be mounted" when connecting via the Finder to SMB shares on my Xserve, why I need to use the IP address instead of the FQDN when binding to my 10.4.11 Xserve's Open Directory.. very basic level things that work fine in Tiger. I would gladly pay thousands of dollars for someone to come and make this work, but Googling my problems show up tons of "me too" and no solutions.

  • When-Validate-Item and Go_Block/Execute Query dilemma

    Hey there folks -- Probably not a surprise question on this forum. I did try to search for this and came up with a few posts but did not find any solutions. Hopefully, I was also doing the correct way to search on this forum. If this is a post for the nth time on this issue, I apologize.
    So, I have 2 blocks:
    1. Control Block that contains the STUDENT_ID field (Database Item = 'N')
    2. Database block that contains the STUDENT_ID field (Database Item = 'Y' and many other fields)
    My goal is do an Execute_Query if User enters the Student ID and either presses TAB or places the MOUSE in the database block and display the record if it exists. As we know, a Go_Block is not allowed in When-Validate-Item. So, I went one step further to "simulate" this. The problem is that I am still firing the Execute-Query when the record has already been retrieved. Here is what I have so far. So, the Key-Next-Item trigger works fine if User enters a Student ID and presses tab. It also works fine if User clicks on the STUDENT_BK as the When-New-Block-Instance trigger fires which in turn calls the Key-Next-Item. The problem occurs when after record has been retrieved and User clicks on control.student_id and then comes and clicks on the STUDENT_BK, the KEY-NEXT-ITEM trigger fires again.
    Suggestions or pointers would be more than welcome.
    Thanks!
    CONTROL.student_id.Key-Next-Item
      if :control.student_id is not null and :SYSTEM.BLOCK_STATUS != 'CHANGED' then
        next_block;
        clear_block(NO_COMMIT);
        execute_query;
      else
        show_alert('Please enter Student ID');
      end if;
    STUDENT_BK.When-New-Block-Instance
    go_item('control.student_id');
    do_key('next_item');

    Yeah... I wrote before I tried it out. The GET_ITEM_PROPERTY('ITEM', previousitem) didn't work the way I thought it did. After I posted that, I tried it out and it was a complete failure.
    I guess what I am thinking now, is in your STUDENT_BK block, do you only want to EXECUTE_QUERY if the :STUDENT_ID does not match the :CONTROL.STUDENT_ID? If that is true, then all you would have to do is to change your KEY-NEXT logic to include the
    if STUDENT_BK.STUDENT_ID != :CONTROL.STUDENT_ID then
      -- original logic
      go_item('control.student_id');
      do_key('next_item');
    end if;The more I think about it, this should work for you. You said that you had two requirements: Entered a student id in the control block and tabbed or entered the database block. If you add the check of the student id then that should take care of your second requirement. If they enter the database block and the id's don't match then it will execute the query, else they already have the record displayed for them so you don't need to do anything.
    Edited by: MLBrown on Nov 19, 2012 3:08 PM

  • When-validate-item trigger restriction on open form or call form

    W have when-validate-item trigger. I need to place a code here that will bring up a form when the "valid entry" on the item has been made. I am getting a frm-40737:Illegal restricted procedure COMMIT...
    Code snippet on the procedure that I am calling from the when-validate-item:
    IF :System.Form_Status = 'CHANGED' THEN
    Commit_Form;
    end if;
    Call_Form ('MY_FORM', HIDE, NO_REPLACE, NO_QUERY_ONLY,'PARAM');
    Is there a work-around. We also cannot use timers here.
    Any help is appreciated?
    TIA

    Thanks Sudha, I tested and it worked with the key-next-item trigger.
    The only thing though, I was told that the users will not use the enter key when they navigate out of the field, it is either clicking on an exit button or function key F4...so I am still stuck with the same problem.
    This site is really helpful and I hope to receive more ideas.
    Thanks!

  • Grey out profit center when line item is entered in VA01

    hi all,
    i have to set profit center in display mode when line item is entered in sales order processing, please tell me the exist where i can put my code.
    please reply
    with regards,
    bala

    hi bala,
    Please check this,
    u can create enhance point in that routine.
    first click on enhancement button (shift+F4) then
    use menu path edit->enhancement operation->show implicit enhancement operation
    after that it start showing line like that in USEREXIT_PRICING_PREPARE_TKOMP
    -> """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
    right click on the line and enhancement implimentation and create, it will create enhancement point at that particular place.
    use this coding in ur enhancement spot
    IF  (   SCREEN-GROUP2  = 'LOO'
       AND SCREEN-NAME    = 'VBAP-PRCTR' ).
      SCREEN-INPUT = 0.
    ENDIF.
    it will solve ur problem.
    let me know, if solved
    Yogesh

  • Where has 'do you want to replace this file' gone when copying items in lion?

    Hello, can anyone tell me if I can still have the option when copying items from one folder to another to be asked ' do you want to replace this file' instead of only having the new options to: stop / keep both / or replace all?  thanks for your help.

    If you don't mind losing them, it's all right to do it.
    Maybe you just want to delete them instead?
    Or do you mean you want to replace the faulty one in your Projects folder with a correct one from your Applications folder?
    Is this the Application you're talking about moving?

Maybe you are looking for

  • How do i import contacts from old i phone 3s to new 5s after music is sync

    I have the old iphone 3s -- i purchased the new 5s today -- i sync my 3s to update my itues.  when i synced my new 5s i can not get anything to import from itunes.  it says it is importing by none of my contacts, pictures, music is on my new 5s.  I r

  • Remain case for table column name

    Hello, i am a java developer. I had helped my company to develop a java application all the while and before this we are using ms sql server database. Recently, we want to migrate the database to oracle database. The problem is, in our application, w

  • Which is better for gaming?

    Which is a better gaming solution - quad-core i7 w/ Intel HD4000 (ala new Mac Mini) or my existing setup of dual core i5 and NVIDIA GeForce GT 330M? Obviously the faster processor is huge, but does the dedicated GPU make up for it when it comes to ga

  • Brightness controls disabled after Monitor OFF-ON cycle

    So this has been a weird problem on my T400 with discrete graphics. I frequently turn my monitor off on battery. Hoever, once I resume it, the brightness control ceases to function. I can see the OSD but there is no control. Also the monitor resumes

  • Adobe form to replace smartform in SRM 7

    Hello, We are in the process of utilizing the adobe server for form processing in our SRM 7 environment. In SRM 5.0 we have some custom Z smartforms for SRM documents. I am having the following questions: 1) What are the steps to do a "smoke test" to