Help required in work item

Hi Experts,
I have  a requirement to send workitems to multiple approvers.I am taking in all the approvers in an internal table, looping in the table to send the work item one by one. The question is will the work item numbers be same for the different approvers or will it vary? If it varies how to get that particular workitem number from the swwwihead table and delete it using the function module SAP_WAPI_WORKITEM_DELETE.

It seems that you have a requirement to send workitems to multiple approver. If you want to send same workitem to multiple user. Then if one approver reserves workitem the workitem will disappear from other´s inbox. So you needs not worry about deleting workitem from other user´s SAP Inbox. Only thing you have to do is pass a multiliner element in the agent assignment section and type of agent should be expression. The element should be of type of WFSYST-Agent and the the SAP User Id should be concatenated with US in the front.
Reward points if useful

Similar Messages

  • Help required - Sales order item is partially delivered but the item grayed

    I have a sales order 123 having say item10 with qty 1, item20 with qty 10 , item 30 qty 12
    Item 1 confirmed qty 1 and delivered qty is 1
    Item 2 confirmed qty 10 and delivered qty 10
    Item 3 confirmed qty 1 and delivered qty is 1
    Now the item3 still has open requirements of 11 to be delivered. But the item is GRAYED OUT already.
    even if I do ATP the qty is not confirming for the remaining 11 pieces.
    Why is that? How to make that item out from GRAY.
    How to confirm the remaining 11 qty for that item.
    Help required as early as possible.
    Appreciate ur help guys
    Radha

    hi Radha, how are you ?
         ---the partial deliveries in master data must have not been mentioned.
         ---the deliveries should be upto target quantity.
         ---check order type, item category and schedule line category.
         ---check unrestricted stock availability.
    thank you
    regards
    Khera.

  • Need help in dispalying work item details

    hi friends
    I am Displaying work items with some details like work flow item text ,user ,agent and all
    Her along with these i need to display responsibility object(OTYPE = RY) mapped with work item ..
    For this i have Responisbility (HRS1000-stext) and responsibility object(HRp1240-objid) on selection screen .
    So finally i need to relate these responsibility and responsibility object and  work item ..
    any one have experience on these type of situation please help me .

    Hi
       your answer is helpful to me ..
       I am getting the RY objects from HRP1001 .
      And when i go to HRP1218  No records for the OBJID from HRP1001.Is it the data problem ..
      If i have the records in HRP1218 ,if we pass the TABNR in HRT1218 ..can i get the work item  with TABNR.
    Becuase when i see in HRT1218 all  records have PLANT as re field .

  • How to handle the situation to forward work item manually?

    Hi All,
    In my workflow -
    For agent determination I have some custom logic to determine agents. If custom logic donu2019t return any agents then the requirement is work item needs to send back to workflow initiator.
    My issue-
    When no agent determines
    1.Work item needs to send back to workflow initiator - and he should not able to Approve or Reject work item - He Can only forward work item to any other person manually (he determines to whom it should forward).
    2. After manually forwarding the work item it is normal process 2 level of approval from that point .
    Please let me know for the first item how to handle the situation?
    I have developed 2 section - one goes with regular agent determination -
    and the other one when no agent determines then I am assigning back to workflow initiator. Now I want to handle that - initiator should not accept or reject and he can only forward to someone. How to develop this?
    Please let me know your thoughts.
    Thanks in advance.
    Rajesh,

    Hi All,
    Thanks for the answers.. sorry for late replay.. requirement was not confirmed.
    1. As I described in my question
    After my custom conditions.. I have to send workitem back to initator ( Now initiator forwards the work item to someone else  ( need to restrict  users  based on role - )..
    While doing this process initiator should not have access to approve or reject he should only forward the workitem.
    After forwarding the work item -this person should have approve or reject options.
    My question is not answered..
    1. As Vijay told..
    Dont give Approve and Reject Options and in Description u specify like
    If I dont provide approve/reject when I am sending the work item to initiator - After initiator forwarding this work item - how do we the other approver will get options  Approve and Reject?
    2.  AS -surjith kumar
    If your Using the Rule or Expression you have to restrict via coding -  This will solve one of my problem -
    How I can restict  users with role based?
    My problem is not solved.. Initiator should not have access to approve but He should only forward the work item...
    Please let me know...

  • Urgent help req : work item id not getting passed in the method

    Hi ,
    I have created a subtype zcats of business object CATS and delegated it .
    I have created a new method Approve1 ( with attributes  SYNCRONUS & DIALOG )  in zcats which is similar in coding  to Approve method of CATS ( DIALOG) .
    I have include the method Approve1 of business object zcats in a standard task .
    The problem is that when the eorkflow gets triggered ,  the workitem id is not getting passed in the method APProve1 of zcats.
    Can someone please help me with this .
    Points would surely be awarded .

    BEGIN_METHOD APPROVE1 CHANGING CONTAINER.                 
      DATA: WORKITEMID_IMP LIKE OBJECT-KEY-ITEMID.              
      DATA: WI_CHCKWI LIKE SWWWIHEAD-WI_ID.                     
      DATA: WORKITEM TYPE SWC_OBJECT.                           
       <u> WORKITEMID_IMP = OBJECT-KEY-ITEMID</u>.                     
        SWC_GET_ELEMENT CONTAINER '_WORKITEM' WORKITEM.         
        SWC_GET_PROPERTY WORKITEM 'WorkitemReference' WI_CHCKWI.
        IF SY-SUBRC EQ 0 AND NOT WI_CHCKWI IS INITIAL.          
          WORKITEMID_IMP = WI_CHCKWI.                           
        ENDIF.                                                  
        CALL FUNCTION 'CATS_WF_APPROVAL'                        
          EXPORTING                                             
            WORKITEMID_IMP = WORKITEMID_IMP                     
          TABLES                                                
            CONT_IMP = CONTAINER.                               
      END_METHOD.                                               
    hi ,
    the above is the code in the method .
    At the first step of execution underlined above , the work item id is appearing blank .
    I think that the value is not passed to the container , but i am not sure og how to pass data to this conatiner

  • Please Help me with the Work Item agent to agent forwarding error

    hi folks ,
    This is the error I am getting when I am trying to forward the work item from agent to agent.
    "Work item 000000017188: Method SAP_WAPI_FORWARD_WORKITEM not allowed for type F "
    Please Help in this regards. its Urgent.
    thanks in advance for your help
    Krishna Chaitanya

    The F type Workitem cannot be forwarded because it represents Workflow (Also Subworkflow) workitem Id.
    You have to find out with workitem which has status W(Dialog Work Item; Represents a Single-Step Task) from SWWWIHEAD table and status should be in process and the TOP_WI_ID should be the value that you are trying to forward.
    Thanks
    Arghadip

  • FPMComponent required for Help Service to work?

    Hi,
    This question may sound stupid but I need to confirm.
    Is the FPMComponent required to be used for Help Service to work?
    I have configured help services. On some ESS pages it is being displayed. But it is not showing in some cases. I observed that the FPMComponent was not being used when it is not displayed. So kind of figured this out.
    Please let me know if I am right.
    Thanks and regards,
    Mayuresh.
    Edited by: Mayuresh Kanvinde on Nov 24, 2009 7:24 PM

    Hi Manuel,
    in logical components the term "Logical System" is used to discribe the combination of system and client in an ABAP system. This does not mean you have to define logical systems in ALE customizing. That is not required as far as I know.
    Regards
    Andreas

  • FPMComponent required for Help Service to work in ESS?

    Hi,
    This question may sound stupid but I need to confirm.
    Is the FPMComponent required to be used for Help Service to work?
    I have configured help services. On some ESS pages it is being displayed. But it is not showing in some cases. I observed that the FPMComponent was not being used when it is not displayed. So kind of figured this out.
    Please let me know if I am right.
    Thanks and regards,
    Mayuresh.

    Hi there! @microcellfree thanks for posting your concerns.
    I’m sorry to hear you are having signal issues at home and can understand how frustrating that can be.
    We’ll be happy to see what options we have for you.
    please private message me by clicking here and provide your name, the address where you experience this issue, including the city, state and zip, and a good contact number.
    Thanks!
    Charise
     

  • Youtube not opening in Safari browser. However it works with google browser. There is a red arrow coming, with https in you tube, and the page just does not open. help required.

    youtube not opening in Safari browser. However it works with google browser. There is a red arrow coming, with https in you tube, and the page just does not open. help required.
    It seems I have done some mistake when you tube was open, and i stopped one site to delete!
    From then on it is not working.
    Any solutions?
    GV Joshi

    Hi gajanan vasant!
    I have a couple of articles for you that should help you troubleshoot your issue with Safari. First, you may want to try a reset on Safari by following the procedure listed in this article:
    Safari 5.1 (OS X Lion): Reset Safari
    http://support.apple.com/kb/PH5043
    If you are still having issues after resetting Safari, you may want to check out this article about third-party add-ons in Safari:
    Safari: Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues
    http://support.apple.com/kb/TS3230
    Thanks for using the Apple Support Communities!
    Regards,
    Braden

  • Need help in getting proposed approvers for a work item

    Hi All,
        We are trying to get the proposed approvers and the actual approver details for a particular work item.
    Before the work item is actioned we are able to see all the proposed agents for that particular work item.
    But once that work item is actioned then only the agen who has actioned on the work item is appearing in the list. All other agents are not appearing.
    For this we are using the FM BBP_WFL_DIN_APPR_WORKFLOW_GET.
    We have also tried some other FM's and tables, but none of them were helpfull.
    Please let us know if you know any table or FM or class which we can use to get these details.
    Scenario:
    Work Item: 12345    
    Before action on the work item
    Possible(Proposed) agents: Agent 1, Agent 2, Agent 3.
    Actual Agent: blank
    What we want, after action on the work item if "Agent 2" acts on that item.
    Possible(Proposed) agents: Agent 1, Agent 2, Agent 3.
    Actual Agent: Agent 2
    But what we are get is:
    Possible(Proposed) agents: Agent 2.
    Actual Agent: Agent 2
    Thanks a lot.
    Regards,
    Kranthi.

    Hi,
    What did you draw those lines with ???? Just a drawLine() command ????
    If so, it is very difficult to track the exact mouse coordinates that correspond to a click at a particular place and then place an 'X' or an 'O' there !!!!
    Try implementing it with 9 Buttons placed at those specific positions. In this case, it will be very simple to track the user's input when he clicks on any of those buttons...the implementation will become really simpler.
    Check it out !

  • 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!

  • Report to get cumulative effort based on child items related to parent work item

    We have created a new work item type called 'Release' 
    Release -> Features -> PBI/Bugs -> Tasks/Test Case
    I have requirement to create many reports that has to filtered across the Release work item been created. We usually slice it by Area/Iteration but here the requirement is different.
    For ex: 
    Releases Overview report:
    Release name| Owner as AssignedTo| Status Indicator | Completed Work | Remaining Work | Open Impediments
    I can fetch all the release work items (Work Items with System_workItemType =Release) w.r.to team project for this report. But for other calculations :
    Compute Open Impediments
    Find all the child items belong to the parent 'Release work item'
    Pick Open Impediments (Work_Item_Count with System_workItemType=Impediment and State = Open) in that list.
    Is this possible by querying olap ?  Or we need to go for stored procedures for querying warehouse?
    please give a fair idea to start with and good resources for learning MDX.
    Thanks
    Divya

    Hi Divya,
    Thanks for your post.
    To get the Release work items and all linked Impediments, you can try to create the Work item and direct links query, under Filters for lined work items section, set Type of trees = Parent/Child, work item type = Impediments and State = Open. Please refer
    to the information in this document:https://msdn.microsoft.com/en-us/library/dd286705.aspx?f=255&MSPPError=-2147217396.
    For such a Release Overview report, you need create your custom report. For the MDX resource, please refer to this document:https://technet.microsoft.com/en-us/library/ms144785.aspx?f=255&MSPPError=-2147217396.
    Or contact SQL Server Reporting Service experts for the better response
    And you can also create the work item report using TFS API.    
    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

  • How to stop workitem complete or how to keep work item in inbox based on conditions even if it completed

    Hi,
    my requirement is to call webdyn pro screen from workflow..
    i am calling webdynpro screen by using FM :CALL_BROWSER from workflow.
    when webdyn pro screen is called user will enter some values . if user closed webdyn pro screen with out entering any values we need show this workitem in his inbox. so that user can again open it and enter values in the webdyn pro screen.
    Please help how to stop work item complete based on conditions.
    Thanks,
    phani

    Hi,
    As per my understanding, this is not a proper approach toy call web dynpro using FM CALL_BROWSER. is the web dynpro screen being called when user clicks on the work item from portal UWL OR from SAP SBWP ?
    if you are calling web dynpro screen from portal UWL when user clicks on work item link, better you achieve it using SWFVISU tcode. in SWFVISU tcode you can maintain which web dynpro. application to call when particualr work item task come in user's inbox. in your web dynpro code, then you can write your buisiness logic when user clicks for example SUBMIT/SAVE button. on action submit/save button you can use FM SAP_WAPI_WORKITEM_COMPLETE to complete the worktiem once the user clicks on final submit/save button. in this way the workitem will get removed from user inbox only upon clicking on submit/save button.
    You can refer below link for web dynpro for workitem:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70648e99-4cc1-2c10-879d-9c61003c69d6?QuickLink=index&…

  • HCM Forms&Process :Authorization error while opening work item in the UWL

    Hi,
    The process has been started successfully and the work item was appeared in the  UWL of MSS.
    But when I try to open the work item  , I got the following errors:
    "User XXXX doesnot have authorization on pernr 8000123"
    "You are not authorized to process this process"
    When I checked, the User XXXX has the required roles for authorization such as SAP_ASR_MANAGER and SAP_ASR_EMPLOYEE and the authorization object P_ASRCONT has been assigned to it as well.
    Still why these errors are coming?
    Does anybody know about it?
    Thanks & regards,
    Lek

    Hi,
    I have had exactly the same error. Make sure you have read the help.sap.com documentation carefully:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/43/3d8f8118391bcbe10000000a1553f7/frameset.htm. The minimum requirement is access to one infotype (it does not matter whether there is data in the infotype and it does not matter which infotype you choose) via CHECK_MIN_PERNR_AUTHORIZATION of BAdI HRPAD00AUTH_CHECK. More specifically, we solved it be providing access to infotype 0002 to all employees.
    Furthermore, check what level of authorizations you have set in the config for the activities.
    IMG->Personnel Management->HR Administrative Services->Authorizations->Define Authorization Method for Activities (All Processes) or Define Authorization Methods for Activities (for Each Process Group).
    This should help you solve your problem.

Maybe you are looking for

  • Getting Error while posting through KB11N : No true sender object entered

    HI Expert, We have stastical internal order defined and same we are using in Asset. Let me explain the scenarion. We created the Purchase requisition with the stastical Internal Order then we did Purchase Order and MIGO -Goods Receipt. Now we realise

  • HOW TO DISABLE THE VIEW OF CONTACT

    Hi I want to know how to disable contact view from a friend taking my phone exemple : If I give my cell phone blackberry 9900 to a friend for 1 day, I want for him the possibility to answer phone call and see who is calling him ! , buy I want to disa

  • How to add a checksum to an URL that is called from a redirect ?

    Hello everybody, I need to add a confirm message before deleting a line, and since the delete process is in the header of the same page, it use a redirect call. Before, it added the &cs=############## automatically. But since I must use a javascript

  • Why are my web pages appearing in a list format instead of their usual appearance?

    When I access my Yahoo home page as well as other pages, the site appears as a menu rather than in it's normal format, I cannot find any function that will allow me to change it back, Internet Explorer does not have this problem so I am fairly certai

  • Tomcat Startup problems using eclipse

    Hello together! I want to create a JSP page in eclipse. I use eclipse-wtp-1.0 and tomcat 5.5.12. I have set the JAVA_HOME, TOMCAT_HOME and CATALINA HOME. I included this 2 directories in eclipse. But now I get the following error: 23.02.2006 08:37:31