GP: How to navigate to a current work item?

Hi all,
I've got just another question regarding GP and the Runtime View.
I noticed that there are at least 3 ways to navigate to someone's work item:
- the GP Runtime View ("Tasks that require my action", ...)
- the UWL
- a seperate WebDynpro (WDPortalNavigation.navigateAbsolute...)
All these options work - but in every case, the Runtime View looks different. Let's see:
1.) Header and navigation are visible, header shows the process instance name
2.) Header and navigation look equally, but the header shows the template's name
3.) Header and navigation invisible
In the third case I used the IGPWorkItem's "generateNavigationTargetForSingleTaskUI" method to generate the URL, to which I navigate. Another method is shown in
<a href="/people/dipankar.saha3/blog/2007/04/10/how-to-open-running-gp-processes-from-web-dynpro-applications blog</a>, but this only takes me to the Runtime's overview...
Now my question: Is there a way to have a consistent perspective on my work items? Regardless of which navigation I use?
Any help appreciated.
Regards
Daniel

Hi Dipankar,
that's kind of strange. I'm doing the following:
//Start a process
IGPProcessInstance prInstance =
               rtm.startProcess(
                    process,
                    processName,
                    processDescription,
                    user,
                    roles,
                    params,
                    user);
//Getting the Process-Instance-Id and putting it into a Context
wdContext.currentContextElement().setProcessID(prInstance.getID());
//Showing some Process-Start-Results on a different View, and when the users pushs the next-button...
//Getting the ProcessInstanceId back
String processID = wdThis.wdGetRefitStartCompController().wdGetContext().currentContextElement().getProcessID();
//And redirect...
WDPortalNavigation.navigateAbsolute(
                              gpRuntimeIViewURL,
                              WDPortalNavigationMode.SHOW_INPLACE,
                              WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
                              "processId="+processID);
And this dosn't bring the pending workitem up, but the runtime overview. I'm sure, the Process Instance Id and the Runtime Url are correct.
Any hints what's happening here.
Thank you very much.
Daniel

Similar Messages

  • How do I sync a Current Work folder so all enclosed items automatically update

    I have just started to use Adobe Creative Cloud and as I am a 'Team' member I have 100GB of storage.
    I would like to use this as a backup of my current work folder but how do I sync this.
    ATM I have copied my 'Current Work' folder into the CC storage area (Creative Cloud Files) but should this be the original file to continuously sync or just a copy?
    Also, is there anyway I can use this storage facility in conjunction with Time Machine?
    Thanks in advance

    Is Thunderbird already installed in the computers? If so, you could download the .xpi file and drag and drop it into the extensions window (after opening that) to install it in all the computers, following which you click the Install buttons when they become enabled, and you might have to restart Tbird afterwards.

  • How to go directly to the work item in CRm 7.0

    Hi
    http://xxxxvdc2s.eu.xx.xxxxxxx:8000/sap/crm_logon?sap-client=200?default.htm?crm-object-type=WORKITEM_IB&crm-object-action=B&crm-object-keyname=WI_ID&crm-object-value=26120
    This is above the url which i am passing .Its not directly going to the work item.
    and also the client is filled with 200 ?default.htm which is wrong.
    if i am using http://xxxxvdc2s.eu.xx.xxxxxxx:8000/sap/crm_logon?sap-client=200? then client is not filled with any thing its properly logged in but here i have to go through all the steps to reach my work item.
    if i am using http://xxxxvdc2s.eu.xx.xxxxxxx:8000/sap/crm_logon?default.htm?crm-object-type=WORKITEM_IB&crm-object-action=B&crm-object-keyname=WI_ID&crm-object-value=26120
    then here its defaultly taking 100 as the client instead 200.
    so any body please help me in CRM 7.0 how to login directly to perticular client and go to perticular work item?

    Found the solution .The solution is instead '/' symbol use '& ' symbol
    http://xxxxxxxxxxxx:8000/sap/crm_logon?sap-client=200&crm-object-type=WORKITEM_IB&crm-object-action=B&crm-object-keyname=WI_ID&crm-object-value=26120
    then got worked

  • How to send emails using Automatic Work Items in Collections using XML Publ

    Hi,
    We are using XML Publisher to send correspondances in Advanced Collections.
    We want to send email correspondances using Automatic Strategy Work Items.
    Can anybody please help on how to send these?

    I believe you have to define your dunning template and assign that template to the strategy work item.
    Let me know if you are still not able to do it.
    Thanks,
    Anil

  • How to enable attachments in UWL work items ???

    Hi All,
    I am having issues enabling attachments in UWL work items, the attachments simply do not appear on the item details view. The same works perfectly within the backend Inbox.
    The UWL has been integrated with the ECC server to display the Budget Documents.
    We are on EP7.0 SP18.
    Any help is appreciated.
    Thank you,
    John M

    Pramod, VV
    Thanks for your replies.
    Here are the iView properties,
    List of Display Attribute to exclude from preview/detail area -> <blank>
    List of preview sections to hide -> <blank>
    List of UWL Actions to be excluded -> launchSAPDetails,defaultGlobalWizard,uwlTaskWizard,personalize
    I can see a link to the attachment in the UWL Item Details area when you click on the UWL item but the attachment link does take you to the correct document and its content. It takes you to a Launch SAP Transaction screen but nothing gets displayed.
    Are there any issues displaying attachments in UWL?
    Thanks,
    John

  • Can I report on the AGE of open Work Items? How? Group into Buckets?

    Is there a way to report on the age of open work items?
    Perhaps a bar graph that has several buckets.
    a.    Over 364
    b.    180 to 364
    c.    90 to 179
    d.    1 to 89
    And then a COUNT in each bucket. 
    For example, if a Work Item is open longer than 364 day, it would appear in bucket "a" as a count of 1.  Say there are a total of 45 Work Items that were opened older than 364 days, then "45" would appear in column "a" now say that there are 100 work items open that are 1 to 89 days old, then 100 would appear in the "d" bucket.
    Make sense?  How can I report like this?

    Hi mrpeepers,
    You can use following MDX script when you create this report that uses TfsOlapReportDS
    with
    member [Measures].[Age]
    As
    IIF([Measures].[Current Work Item Count]>0,DateDiff("d",cdate([System_CreatedDate].[Date].CurrentMember .name),Now()),null)
    member [Measures].[AgeRange]
    as
    case
    when [Measures].[Age] >70 then 70
    when [Measures].[Age] >60 then 60
    when [Measures].[Age] >50 then 50
    when [Measures].[Age] >40 then 40
    when [Measures].[Age] >30 then 30
    when [Measures].[Age] >20 then 20
    when [Measures].[Age] >10 then 10
    when [Measures].[Age] >0 then 0
    when [Measures].[Age] <0 then -1
    else null
    end
     SELECT
     non empty
     {[Measures].[Current Work Item Count],[Measures].[Age] ,[Measures].[AgeRange]}
     ON COLUMNS,
     [System_CreatedDate].[Date].[Date].AllMembers on Rows
     FROM [Current Work Item]
    And then, drop a Chart to report designer, select “Current_Work_Item_Count” as datafield,  AgeRange as category field.
    Best Regards,
    Ruiz
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Sincerely,
    Ruiz Yi

  • Displaying current work status in BPC Excel report

    Hi All,
    Could any of you tell me how do we retrive the current work status that has been set for a particular application on to a Excel?
    We would get this in BPC WEB reports, but we are lookin gto display it in excel itself.
    Does EVLCk function have any link with this?
    can any one share the details of list of EV functions that can be used in BPC 7.0.
    Regards,
    Swetha

    Hi Swetha-
    SAP Note 1348997 "BPC NW 7.0 SP03 Work Status Explanation" provides a detailed PowerPoint deck that explains the specifics around Work Status.  Please note slide #39 and the mention of EVLCK.
    A few additional notes that may be of interest:
    EVLCK became available to SAP BPC 70 NetWeaver with SP02 (pls review SAP note 1310443, as well as the "BPC 7.0 SP03 NW Documentation Updates" in Note 1349538).
    Regards,
    Sheldon

  • How do you delete a work item?

    I have requirements when a employee transfers their access must be approved by their manager. So I'm creating a Approval work item. Also, if a second transfer is sent for a user with a pending Approval work item I need to delete the pending work item. Does anyone know how to delete or terminate a work item?

    I am not sure you should delete the workitmes, in general workitems should be transferred to a different admin such as Configurator. You alwaays able to query the workitems queue and ower for that.
    --sFed                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to reassing Work items to another user?

    Hi SDN
    We have a situation where we need to extract, from one approver inbox, all the work items he has to approved, and re-assign them to another approve, who has the same level of approval.  I know we could only ask the 1st approver to go in Change mode and re-assign Approver #2, but Approver #1 is not available.
    Can you please explain me how to extract the list of work items sitting in Approver #1 inbox, and re-assign them to Approver #2 using some of the WF t-code available for EBP Administrator?
    Thanks for your usual collaboration!
    Eric L.

    Did you try the FM SWW_WI_FORWARD
    To get a particular user inbox workitems you have FM SAP_WAPI_CREATE_WORKLIST which will rertun you all the workitems that are in the ready status.
    BY using the FM SWW_WI_FORWARD you can forward the workitems.
    Suppose if we have 2 users UA and UB and you need to send all the workitems of UA to UB and when you send the workitems , what ever the workitem that you send to  UB that workitem will not be available in UA if you use the FM SWW_WI_FORWARD

  • UWL for Manager : Multiple work items for approval

    Hi Experts, We have a scenario when the line manager is approving the leave workitems in his UWL. And the UWL has multiple  leave workitems pending for approval. When the line manager click on any of the work item in the UWL, The UWL opens the items which was first creared in the UWL rather than the one which the line manager clciked. Then line manager has to navigate to the desired work item by clicking on next button. Is their any funtionality / customization available to get only the work item which is clicked in the UWL. Please advise. Regards, IFF

    I had the same issue and spent a long time correcting it including opening a OSS request with sap.
    It took a combination of all almost all the notes above (1807724 is included in our current release so we didn't have to install).
    But nothing worked for us until SAP directed me to the following note http://service.sap.com/sap/support/notes/1733095 that was the final fix to all our problems.
    One other thing to note is from the time we implemented the correction for note: 1946640 had changed from its original so if you implemented it before revision 3 came out you may need to update.
    Hope this helps,
    Martha.

  • Invoice Workflow : Dialog work item created

    Hi,
    I am not fully aware of workflow but can manage to check the logs and status.
    My question is: My Invoice workflow status is 'READY' but i dont know how to find to whom the work item it currently held.
    When i check the log it says:
    WF-BATCH                       Dialog work item created
    How can i check, which approver currently held work item so that i can chase them to approve the item.
    There are no agents assigned to the workflow and it is General Task.
    I would apprecaite if you could share me some information about this.
    Thanks,
    Macs.

    Hi,
    About Invoice Workflow :
    WS10400016 – Without approval,
    WS10400017 – One-step approval,
    WS10400018 – Two-step approval,
    WS10400021 – Administrator approval
    The relevant approval workflow is started, depending on completion status, invoice category (credit memo or invoice), creator role, and total value of the invoice.
    You should have maintained approver in your org structure (PPOMA_BBP)
    Please have a look at  :
    http://help.sap.com/saphelp_srm50/helpdata/en/58/c14e3c59bfe747e10000000a11402f/frameset.htm
    Kind regards,
    Yann

  • Delete credit memo work item created in VA01 when the user change value

    Hi,
    In T.code VA01 Credit memo request is creating, this document will automatically create  work item.  Based on Net value in credit memo request, the work item should go for 5 levels of approval. After 1st person is approved, the workflow initiator realized that the net value in created Credit Memo request is wrong; he is going to VA02 and correcting the net value. Again we have to create new work item for this and delete the already created work item. Client has clearly mentioned when ever there is change in 5 critical fields in VA02 then only create fresh work item otherwise no need to create SECOND TIME work item. Net value is one of the critical field in the list.
    How to track already created credit memo request and how to delete the previously created work item. What is the feasibility of this requirement and how to handle this situation?
    Regards
    Vijay

    Hi,
    Just put a Fork and put 1 out of 2 outcomes and in the first alternative, you put your witem that goes to user B. In the 2nd alternative, put a Wait for event "CHANGED". And after this, put a process control step with "Set workitems to Obsolete" or "Cancel workflow" etc., depending on your requirement.
    Pl note that this will only take out old witems, but you need to send a new witem for which you need to trigger another instance of the workflow as well. pl put CHANGED event also as one of the triggering events and use condition editor to restrict the fields that triggers the workflow.
    Also, look into the IMG config of the following path. This might be a fitting solution.
    In SPRO, go to Financial Accounting (New)---> Financial Accounting Global settings(New) -
    >Tools --->Workflow ---> Workflow for Document Parking -->Reset Release Approvals(Customers).
    Here, you can list down the fields, the workflow should restart. But, then you need to give the workflow details etc., in the relevant config settings.
    We have used this in restarting workflows for General Ledger(GL) documents' workflow when some important fields are changed.
    For this config settings, look into the following help link.
    http://help.sap.com/erp2005_ehp_02/helpdata/en/01/a9cdd8455711d182b40000e829fbfe/frameset.htm
    Hope this helps.
    venu

  • LeaveRequest Work Items are not shows in SBWP TCODE workplace under outbox

    Hi
    Friends
    I used work flow 12300111 for leave request process and I activated that work flow.
    I applied leave through ESS from portal(Employee login)employee sends a leave request sends good,
    and I got Leave request(work items) Managers in box(uwl in Manager Login in portal).
    Manger Approve the leave request has been approved successfully.
    can I check whether leave request is processed in R/3.
    in tcode se38-RPTARQDBVIEW - UNDER leave request(Leave)->STATUS>COMPLETED,
    But in r/3 i execute the Tcode SBWP...
    here is no work items are not showing in outbox..
    Please help me
    Rafi Shaik

    HI
    Sidhu
    Tanks For Ur Replay
    i am doing as for u r note..
    AFTER DEBUGGING....
    function module-- SWK_LOCAL_OUTBOX_GET-under THERE IS NO table->SWW_OUTBOX
    PARAMETER NAMES ARE THERE(AVAILABLE)..BUT THIS  (SWW_OUTBOX) IS NOT THERE IN TABLES OPTION
    WI_LIST_S
    WI_LIST_E
    WI_LIST_F
    STATUSFILTER
    TASK_FILTER
    yes it wont be shown in sbwp outbox as it is java wd after completion you ll only see for approval in his inbox use swi5...
    IN SWI5 TCODE>COMPLETED WORK ITEMS BY AGENT AND TASK-UNDER SHOWING MY LEAVE REQUEST(GOOD)..
    CAN PLEASE HELP ME
    HOW CAN I GET THE LEAVE WORK ITEMS UNDER SBWP(OUTBOX)
    TANKS
    RAFI SHAIK

  • How to go back to a particular item of the preivous block

    Hi,
    In the pre-block trigger, how to navigate back to a particular item of the preivous block? I've tried go_item('block1.item2'), but it only goes to :system.cursor_item. What if the system cursor item is not item2, how can go back to item2?
    Vanessa

    Have you try this,
    go_block('block1');
    go_item ('block1.item2');

  • Delete Work Item from PO Releaser's Inbox during Workflow

    Hi All
    How can I delete the previous Work Item that was created in the PO Releaser's Inbox if a PO was changed which re-triggered the PO Release workflow but this time to a different PO Releaser.
    The workflow is working correctly, i.e. creating the new release item in the new releaser'd Inbox but not deleting the old Work Item for the previous releaser.
    Any idea on how I can accomplish this?
    Kind Regards
    Utian Goliath

    PLease refer the below stuff................create a task and put the code inside the method.This task should be fisrt step in your workflow.
    User sets doc to Complete from FBV2 , Complete event triggered and workflow triggered.
    Workitem goes to approver .
    Now , the user immediately changes doc from FBV2 , sets it to Complete again and workflow triggered
    workitem goes to the same approver for the same document.
    SAP_WAPI_WORKITEM_TO_OBJECT - Worklist table will giv all parent id's for the object key concatenation of
    com code , doc no and fiscal year.
    SWP_WORKFLOW_INSTANCE_DELETE - Pass the parent id and will delete the entire instance but not
    parent workitem id.
    SAP_WAPI_WORKITEM_DELETE - Pass parent id everything will be deleted .( Check_final_state = blank ).
    No trace found in SWI14 and SWI2_FREQ.
    To remove the previous workitem , create a method in the begining of the workflow , use F.M.
    SAP_WAPI_WORKITEM_TO_OBJECT to get the workflow id's and then
    SWP_WORKFLOW_INSTANCE_DELETE or SAP_WAPI_WORKITEM_DELETE to delete the previous instance.
    data : lt_worklist type table of SWR_WIHDR,
           lw_worklist type SWR_WIHDR,
           lv_objkey type SWOTOBJID-OBJKEY,
           lv_return type sy-subrc,
           lv_id type SWP_HEADER-WF_ID.
    concatenate object-key-sourcecompanycode object-key-documentn
    object-key-fiscalyear into lv_objkey.
    CALL FUNCTION 'SAP_WAPI_WORKITEMS_TO_OBJECT'
    EXPORTING
      OBJECT_POR                     =
       OBJTYPE                        = 'FIPP'
       OBJKEY                          = lv_objkey
      TOP_LEVEL_ITEMS                = 'X'
      SELECTION_STATUS_VARIANT       = 0001
      TIME                           =
      TEXT                           = 'X'
      OUTPUT_ONLY_TOP_LEVEL          = ' '
      LANGUAGE                       = SY-LANGU
      DETERMINE_TASK_FILTER          = 'X'
      REMOVED_OBJECTS                = ' '
    IMPORTING
       RETURN_CODE                    = lv_return
      TABLES
      TASK_FILTER                    =
        WORKLIST                       = lt_worklist
      MESSAGE_LINES                  =
      MESSAGE_STRUCT                 =
       if lt_worklist is not initial.
    loop at lt_worklist into lw_worklist.
      object-instance = 'X'.
    move lw_worklist-wi_id to lv_id.
    CALL FUNCTION 'SWP_WORKFLOW_INSTANCE_DELETE'
      EXPORTING
        WF_ID                         = lv_id
        DO_COMMIT                     = 'X'
    EXCEPTIONS
      WORKFLOW_DOES_NOT_EXIST       = 1
      OTHERS                        = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDLOOP.
    ENDIF.
    Second way is to create a fork , and use wait for event step in it with the same event that is triggering the WFL
    In the same branch take a process control to end workflow instance.
    In the second branch carry out normal processing.
    Necessary branch = 1.
    So incase the user triggers the event again, a new instance will be created ,
    and in the previous instance , the first branch will follow ending the
    previous instance and the workitems of other branch will be logically deleted.

Maybe you are looking for

  • How to use my new 02 sim

    How to use my new 02  sim on iPhone 4

  • Imac freezing and then restarting

    Hi, My Imac keeps freezing and then restarting, it will go to a grey screen saying there's a problem then will restart. This has happened around 3 or 4 times in the last few days, everytime it happened I was using Itunes, when it would freeze, the mu

  • ALV grid with checkbox

    Hello,   I am facing a problem in getting the refreshed value of the checkbox field in the internal table. I will explain you what is the program does ,  first i am displaying the set of values with the internal table with the checkbox clicked. Then

  • Projection Goes Black With Use of Audio Output Jack

    Any video projection I do when using the extended desktop as a second display begins to flicker or go completely black whenever I put a line into the headphone jack. If I unplug the line, the projection comes "back on" and is perfect. This seems to b

  • Third Party POS Integartion With SAP IS-Retail Using PI

    Hi, I want to Integrate SAP ERP (Retail) system with a third-party POS system Using PI. Could you please describe me what are the inbound and Outbound IDOC is used to integrate POS system. Please Give me the IDOC name with functional details.If possi