Collect Idocs - Work Item Execution Time

I have created an integration process that includes a collect process which follows the BpmPatternCollectTime pattern. Everything works great. I have one question though. When monitoring the process in SXMB_MONI and looking at the technical details for the collect block work item the execution time continues to grow, despite the work item having a status of completed with a creation date and latest end date. Why does this work item's execution time continue to grow, despite being in a completed status? Will this cause a problem? Does the SWWCLEAR job clean this up? I don't want to have workflow items out there with execution times climbing into days. I fear that will cause a performance issue, even though they show as completed status. By the way, this is in a PI 7.1 environment.

hi Chris,
>>>Your blog does provide some interesting points when collecting to generate a single file.
file is only of of 5 possibilities that mz blog mentiones
the point is that BPM is the worst approach out of those 5 and all other 4
can easily replace your BPM IDOC collect pattern
this way not only the vendor's system will work more efficienlty but also yours
but you will do as you like/prefare and you can come back
to the forum everytime you get an issue with a BPM - no problem
Regards,
Michal Krawczyk

Similar Messages

  • IDoc - Work item processing documentation

    Is there some basic documentation available (i.e. *.ppt or *.doc) on processing IDoc work items that I can make available to a customer as procedures for IDoc error resolution?

    This question is down as answered? Can you past the link please.

  • How to Use Methods AFTER Work Item Execution (Modal Call)

    Hi,
    Need to execute a piece of code after a decision based on the result.
    Hope this can be done using Methods After WorkItem Execution
    Can anyone give some idea about how to use this.
    Regards
    Imman

    Hi Mike,
    I have a common piece of code that has to get executed irrespective of the decision made,but after the decision.
    Imman

  • SSRS Report for Incidents/Work Items Created or Closed over time

    I'm curious if anyone has developed a custom report based off the DWDataMart that displays the count for creation of incidents or other work items over time or work items that are closed over time.

    Hi Jon,
    There is a blog, which talks about in detail regarding SCSM reporting,
    http://scug.be/scsm/2012/04/10/working-with-scsm-reporting/
    However related to your queries please refer to this,
    http://blogs.technet.com/b/servicemanager/archive/2010/04/23/how-to-create-a-custom-report-and-display-it-in-the-console.aspx
    Thanks,
    Mohammad.
    -Zakir, Let us know if the answer/post helps you :)

  • Work items creating for GoodsMovement IDOCS

    Hi Friends,
    We have IDOC to File and File to IDOC scenario, we are able to post GRN files  into SAP successfully, but for some idocs , work items are creating  for some line items where there is error . After analysis we have come to know that there is some error in article or price is missing.
    what i would like to know is instead of creating idoc for some items success and some with work items ,can we restrict if there is error in any line item.
    for example:
    let us say if i have one  GRN file with 10 line items.when i post this File into SAP .. It post 7 items as success and for 3 items it creates workitems.
    1) Is there anyway i can restrict the entire idoc , instead of posting 7 items once and after re-processing 3 items in second one.?
    2) how to avoid creating work items?
    one more thing I have created a backgrounduser for PI while posting to SAP. Some articles are showing as article is locked by piuser.
    can anyone suggest how to overcome this..
    Regards,
    Suman

    Suman
    What is the Message type / IDOC type your are using? You should be able to create one single IDOC with multiple line items instead of one IDOC for each item, provided the header information for the material document is the same for all the line items. In most cases this is possible.
    Check your mapping in XI and see if you can club all the items in one single IDOC. Doing so will also prevent the material locked issue. But, point to note with this design is that you will be penalizing good records in your file just because one line item was in error.
    KK

  • Enhanced Notifications(SWNCONFIG) Vs Work-item Forward Program (RSWUWFML2)

    Is there an easy way to find out the advantages of using Enhanced Notifications SWNCONFIG configurations over scheduling the work-item forward program RSWUWFML2? We are on Ep 7.0/ECC 6.0 and configuring UWL for work-item execution and receiving notifications. For occasional users, we are planning to send email notifications to the Outlook email addresses using RSWUWFML2 and the the SCOT internet Send programs. Are there any added advatnages of configuring Advanced notifications?
    Appreciate any ideas.
    Thanks,
    Saurabh

    Yes, there are several advantages, but you may not need all of them. It takes a little extra effort to set it up, but that's a one-time effort and we are not talking weeks or days.
    However, the primary argument is that this is the standard solution for work item notification. So you are recommended to use the enhanced notification solution whether you need the advantages or not.
    One advantage is additional flexibility in which work items should be checked. You can choose to send notifications to people who don't have new work items, but have not yet completed the work items they (probably) have been notified about before.
    Another advantage is additional flexibility in message contents and the number of messages sent to the user. RSWUWFML2 lets you choose between one message and one message per work item. In the new solution you can also send one message per category, although I am not sure what a category is.
    Further advantages:
    - Multiple schedules can be set up, so you don't have to use SM37 to get an overview of your notification schedules and you can send notifications every hour from 09 to 15 and every 4 hours the rest of the day if you wish. There is a time zone field in the schedule configuration. Whether it is used just to make sure the job runs at the desired time or is even more amazingly advanced (only notifying users when their own time zone shows the same time) I don't know.
    - There's more, but since I have never set it up myself I have not read all of the <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/b9/2a651eb04411d2b46f006094b9ea0d/frameset.htm">documentation from SAP</a> which includes typical scenarios to help you with configuration.
    After opening the link, expand the hierarchy as follows: Reference documentation => Workflow system administration => Extended notifications for SAP Business Workflow.

  • How to get all kind of GP work items for all users

    Dear all:
       Basing GP implementation,we can only get the single user's work item. Is that possible to get all of the users' work items,and can filter the work item via time field?
      thanks a lot.

    ISearchResult result=UMFactory.getUserFactory().getUniqueIDs();
                   IUser iuser;
                   while(result.hasNext())
                        iuser=UMFactory.getUserFactory().getUser(result.next().toString());
    The above code retrives all the users from the UME
    IGPUserContext context = GPContextFactory.getContextManager().createUserContext(iuser);
    IGPWorkItem[] workitems = GPProcessFactory.getRuntimeManager().getWorkItems(GPWorkItemStatus.getTypeForCode("1"), context);
    You will get the WorkListItems in the workitems array. The type for code which is 1 currently, must be changed according to the requirement. It is different for Completed, Inprogress Tasks, etc.
    Hope this will help you!

  • How to force Work Item Query Policy to refresh its cached query results?

    I have enabled the Work Item Query Policy on my TFS project.  It works as expected, except when using Visual Studio 2013 with the following sequence of steps:
    User selects Check in Pending Changes from the Source Control Explorer
    User enters in the ID of the work item to be associated to the changeset
    User clicks the Check In button
    Work Item Query Policy displays message ' Work item ##### was not found in the results of stored query...'
    User realizes his mistake, and modifies (and saves) the work item so that it is returned in in the query result set
    User clicks the Check In button again expecting the TFS policy to accept the association
    Work Item Query Policy still displays message ' Work item ##### was not found in the results of stored query...'
    Removing the Work Item and re-associating it does not make a difference.  The only workaround that I have found is to close Visual Studio and reopen it.  Does any one have a better solution than this?

    Our setup is different from the one you are using:
    - User is using VS 2013 Update 4.
    - We are running TFS 2010 SP1
    The test case that you described is different from the one that is causing my problem (that scenario works fine for me as well).  I am trying to associate the check in to the same work item both times; whereas, you are associating it to a different
    work item the second time.  I can consistently reproduce the error using the following steps:
    1) Create a query that returns All Bugs in Active state, and set it as the query for the Work Item Query Policy
    2) Create and save a new Bug
    3) Run the query to confirm that the new bug does not appear in the result set
    4) Checkout a file, modify it, save it
    5) Check in the file and associate it to the bug from step 2)
    - the Work Item Query Policy will issue an error message saying that the work item cannot be found in the associated query
    6) Change the state of the bug to Active, and save
    7) Refresh the query to confirm that the bug now appears in the result set
    8) Check in the file again
    - error message from step 5) will not go away

  • Work Book Execution is very slow

    Hi
    Hi have created some workbooks in BI Production server.
    Means  i have opened a query in analyser and saved it as a work book in BI Production.
    But the work Book execution time is really slow and taking areound 15min to show the results.
    As in case of same report in analyser the reports are fine are executing in time.
    Can any body tell me waht is the problem

    Hi,
    I have a similar problem when attach a lot of queries in the same workbook, in this case i create a new workbook and add a table zone to attach the query, not opening the query and save like workbook.
    Regards,
    Dani

  • SWI1 work items execute at a time...

    Hello workflow gurus,
    I need help in the workflow regarding the mass execution of different work items hanging in the SWI1 queue.
    We are using the workflow in our project. & we have lots of work items are hanging in the SWI1.Some of them are related to wait step, which means they are waiting for deadline monitoring & some of them related to executing a method in the background.
    Now my  first question is how can we execute all the waiting work items at a time? Because there lot of them are there. & my second question is how can I execute the background step work items at a time, because this does not involve any waiting period. For ex: changing the sales order.
    Pls help.
    Thanks,
    Pandu

    Agree it is not a queue, let me explain you what is happening, we have a single step task which will just execute the method of the business object. It is single step. So when we raise the event in the code  this work item gets created & the method will be executed.
    But if it is one time, then it's perfectly ok. But the code will raise the event lot of times. So lot of background work items are getting creating in SWI1. The status of these work items are  'READY', & I see lot of entries in SM58 too.
    SAP help says: The background work item status 'READY' means
    Interim status, in which a background work item only remains temporarily.
    As soon as a background work item can be processed, the system automatically calls the corresponding object method. The background work item immediately changes to status in process.
    "The object method is called using a tRFC call. If a background work item remains in status ready for a long time, you should check whether the tRFC calls are processed without errors.".
    That means with 'READY' status, the work item has already executed the method using tRFC call & it failed in SM58? or
    it is waiting to execute to that method but waiting fro any resource? or something else?
    If it is just like a single method why it is taking time & hanging in SWI1. Pls clarify.
    Also I want to ask one more question, to execute/process  this background work item which std program/job is responsible? For ex: SWWCOND. So that we can schedule more frequently.
    Pls help.
    Thanks,
    Pandu

  • Link work items across collections, TFS 2012

    Hello,
    Is it possible to link work items across collections?  We have items reported in one collection which are triaged, routed to the correct department where a new bug is opened in the corresponding collection, then closed in the original collection.  We
    would like to have a direct link between the 2 items.  Is there an existing way to do this?
    Thanks 

    Hi Ajn,ny,  
    Thanks for your post.
    As EIKort said, TFS not support link work items in different collections. You need create new bug in the same collection, then create link between work items.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Closing Collections Work Items based on FI-CA Transactions

    Hello Colleagues,
    We have a requirement to close Collections Work Items when certain transactions are performed, e.g. Creation of Instalment Plan, Write-off, Payments to name just a few.
    Because some of  these items involve clearings,  Dunning  will not be triggered for the cleared items. Therefore I assume the Dunning BRF configuration cannot be used to close the Work items.
    Is the  only way to close work items when these FICA transactions are performed is by coding FICA Event logic that is specific to each of the transactions? (e.g. use a Write-Off Event to close work items when items are written off, an Installment Plan Event  when Installment Plan is created, and so on? )
    Your insights will be very helpful.
    Thanks in advance,
    Ivor Martin

    Thanks Bill.
    I understand and agree with  the expectation gap about Instalment Plans.
    Some good news on clearing of dunned items:
    We did some more testing after un-checking the  "Enforcement" Work item in the Work item category configuration.
    Now the work item is closed when the document that is in dunning is cleared (i.e. via payments, write-offs, reversals, acct maintence, etc). The Work item Status turns to "G" (closed due to incoming payment).
    I have logged an OSS in regards to the Instalment Plan on the request of my client - I would  be surprised if they send us a fix to close the work item upon creation of an Instalment Plan. I think we will end up coding our work item closing logic in FI-CA Event 3040 (after the Instalment Plan is created).
    Regards,
    Ivor

  • CS5.5 - Go to previous or next visible item in time ruler (keyframe, marker, work area beginning or

    The
    Go to previous or next visible item in time ruler (keyframe, marker, work area beginning or end)
    J & K
    Does not work at all here.
    Perhaps I am misunderstanding the nature of this feature but from reading the text in the manual I would come to expect
    that hitting i.e. J&K - would go the next visible item in the ruler be that a Keyframe or Marker etc... However, when I hit K timeline takes me to the end of the composition and J to the beginning. And I have a lot of markers set.
    Any Ideas
    Thanks

    It works on layer markers and keyframes, but not comp markers. Furthermore, it will also not work, if index items have been scrolled out of view or are shy even if the property streams and their keyframes are otherwise visible. This has never been any different, but it's quite annoying.
    Mylenium

  • Hello, I was trying to purchase an item in a game call 帝王三国! but it does worked first few times, but it isnt working anymore ! It tells me to contact apple store to purchase the item.

    Hello, I was trying to purchase an item in a game call 帝王三国! but it does worked first few times, but it isnt working anymore ! It tells me to contact apple store to purchase the item.

    Click here and request assistance.
    (91679)

  • TS1389 I can't transfer purchase item,every time i tune asks me to authorize the PC and when i authorize, i tune says , this is one pc out of your 5 pc. I followed everty step mentioned in this article but still it does not work.

    I can't transfer purchase item,every time i tune asks me to authorize the PC and when i authorize, i tune says , this is one pc out of your 5 pc. I followed everty step mentioned in this article but still it does not work

    I am having the same problem for one song.  I've tried deauthorizing and then authorizing the computer but it doesn't work.  I can play the song on my iPhone and iPad but not my computer.  Any help here would be greatly appreciated.

Maybe you are looking for