Link in a work item

Hi,
within a task in a workflow I am checking whether stock is available for a particular material. If not then a worktitem (user decision) is generated with a link in the body of the message. On clicking on the link the material details for that particular material need to be displayed. How do I go about it? Please help.
Thanks and regards,
Abhishek.

Hi
Normally you won't have the link directly in the text. In SAP Workflow these link are normally attached under objects and attachments to the right in the workitem text.
In order to get a llink there proceed as follows:
1. Copy the decision task, and implement your own task in the decision step in your workflow (Remember to assign it to agents, or to make it a general task)
2. Create a container element for your material on your task  (Define it as a business Object and the Business object for your material)  -  it should be an importing container element.
3. Bind in the instance of your material from the Workflow container to the Task Container.
Now you'll get a link to the instance of your business object, when your push this link you will execute the default method on the business object  -  usually display.
Regards
Morten Nielsen

Similar Messages

  • Need 2 links in an Work item???

    Hi Experts,
    I am having a requirement as i need to display the 2 Links which should route to a T-Code via a work item... I can display the 1 link for a transaction VA03 based on the Display method in a business object and in the same work item i need to give a link to display the VC01N transaction which is related to another business object... So please guide me how can i display 2 Links in an Work item for 2 different transactions...
    Thanks,
    Srikag

    Hello,
    The workitem will display a link for the default method of every BOR in the workflow (besides the workflow BOR).
    So if you want a link to transaction x, make a BOR and make x the default method of that BOR and instantiate that BOR in the workflow.
    Usually the BOR already exists; you'll just have to instantiate it with a relevant value in the workflow and possibly change the default method.
    regards
    Rick Bakker
    hanabi technology

  • Incorrect Link of Execute Work item in External Notification

    Hello Experts,
    I am working with the HCM Processes and Forms and used Standard Task TS17900101 in workflow, for Approve/Reject Forms.
    Everything is working fine (form gets approved/rejected from UWL).
    Now I configured, SWNCONFIG for sending the external notifications, and notifications are also being sent. But when pressing the "Execute Work Item" link from external inbox, I am getting the error:
    ===========================================================
    "Service cannot be reached".
    What has happened?
    URL http://xyz.abc.com:1234/webdynpro/dispatcher/sap.com/pa~asr~formstep/ApproveFormApp call was terminated because the corresponding service is not available.
    ===========================================================
    Since, the task seems to be bound with Java web Dynpro application ApproveFormApp by looking at SWFVISU task visualization, Do I need to do any kind of addition in Services (SICF).
    Or I am missing something in SWFCONFIG.
    Kindly suggest asap.
    Thanks & Regards,
    Jimit Vadher

    Hi Rob,
    Thanks for the note number.
    Let me tell you one more thing is, I have created customized Web Dynpro ABAP application, bound it with the newly created custom Task (for User decision), and used inside the Workflow.
    So when I am sending the Notification of this custom task to External email, Correct link is being generated and working fine for agent.
    But this is not working only for the standard task (TS17900101), I mentioned in my question above.
    So still any service activation is pending? As per the Note, I checked ICF service and found it inactive.
    Is activation required for ICF service, as custom notifications are already going & working fine.
    Please suggest.
    Thanks & Regards,
    Jimit.

  • Link SC to Work Item

    SWWWIHEAD shows the Shopping Cart Tasks (WI_ID = W) and the Workflow Work Items. If I view Work Item the Cart number is in the text but this is not good enough. It's also under Available Ohjects>Process Objects>Reqt.cov. request.
    How can I link the Work Item to the Shopping Cart number?

    FM 'SWW_WI_CONTAINER_READ_OBJECTS' is great for going from the Work Items to the Cart.
    I still need to find a Table or Function Module to go from the Cart to the Work Item(s).
    Best I can think of at the moment is to build a Z table for ALL Carts and get a batch job to continually update it with the Work Items whenever new Carts are created or every x hours/minutes.

  • "You can also" link in UWL work item when using user decision step in workflow

    Hi,
    Just want to check if anybody has tried adding links to this section in the UWL when using user decision step? I need to pass some custom links which will be calling some webdynpro applications and backend transactions. I have read somewhere that Ineed to modify the XML file but don' t know how the next steps once I have defined (i.e. how to handle those links).
    Thanks in advance.
    Rammel

    Hi Rammel
    I hope you are keeping well and many thanks for using the SAP Discussion Forums .
    Based upon your scenario you mentioned that:
    You want to add links to the "You Can Also" section in the UWL with user decision steps
    In an effort to pass custom links (calling web dynpro) applications.
    You wish to know how to modify the XML
    Ok now based upon the scenario there are two key points regarding XML files and efforts to change them.
    Remember that XML in terms of the UWL follow the notion of precedence. Now that means that once you make a change to an XML file you need to re-upload it to realize changes. To re-upload an XML file and realized changes you need to do so with a "High" or "Very High" priority and also ensure that the UWL Cache has been cleared of the UWL Service restarted so changes can be realized.
    The second key point is to ensure that you backup all current XML files before making any changes so you can easily revert those changes if required.
    Now reverting back to your query, the XML files and the "You Can Also" section. Kindly see the documentation outlined below as here you are going to make changes to the I-View configuration:
    Configuring the UWL
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a3461636-0301-0010-3787-978f5ac8bd45?overridelayout=t…
    UWL Content Configuration
    UWL Content Configuration - Configuring the Universal Worklist - SAP Library
    Kindly update me as per your findings.
    Kind Regards & All The Best
    Troy - Enterprise Portal Support Engineer

  • Link at Work Item

    Hello!
    How can I put a link in the work item at SBWP transaction?
    The user should click this link to access FB03 transaction to see the document and then, return to the Work Item to Aprove or Reject the document.
    Thanks,
    Ricardo

    Ricardo,
    I hope that your link issue has already been resolved.
    If yes then please dont read this as it is almost repetition of previous posts.
    Just create new decision task based on your standard one (because you gotta create one container in that task which would be of type same as your BOR BUS2081 so you dont want to change standard one, right).
    Then go to your binding according to your screen shot, here one right hand pane you will find that newly created container, bind it with &BUS2081& and voila, you done.
    &BUS2081&  ---> &IncomingInvoice& (New created container of type BOR)
    Cheers
    Jai

  • Create One-to-Many Work Item Links Programmatically in TFS 2013

    Hello,
    I urgently require some help with this problem please.
    I have a number of existing work item types - for illustration purposes, let's call them Work Item Parents and Work Item Children. Remaining details are as follows:
    I have thousands of Work Items of type Parents
    I have hundreds of Work Items of type Children
    The Work Item Parents have a One to Many relationship with the Work Item Children
    Both Work Item types have already been added to TFS and we now need to associate or link Parent items with their corresponding Child items.
    Due to the sheer number of items described above, linking the  Parent items with their respective Child items would be a complete "No-No" as it could take forever to complete and would be prone to error.
    What I'm therefore seeking is the ability to programmatically associate or link the two work item types where required.
    Any advice on how to achieve this would therefore be greatly appreciated.
    Thank you.
    PS: The link type between my work item types do not necessarily have to be of a Parent-Child relationship. "Related" work items will do just fine.

    Hi RegManteaw,  
    Thanks for your reply.
    We can get the wanted Bug work items and Task work items using
    WorkItemCollection, you should use the logic code to handle which Task work items linked to which Bug work item. For example, I defined 5 Bug work items within “b1” tag, and 10 Task work items within “t1” in my test
    team project, then I run the below code snippet to get that Bug/Task work items and link 2 Task work items to one Bug work item.
    TfsTeamProjectCollection tfs =
    new
    TfsTeamProjectCollection(new
    Uri("collectionURL"));
    tfs.EnsureAuthenticated();
    WorkItemStore workitemstore = tfs.GetService<WorkItemStore>();
    try
    // get “b1” bug work items(5) from test team project
    string wiql =
    "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = 'teamprojectname' 
    AND  [System.WorkItemType] = 'Bug'  AND 
    [System.Tags] CONTAINS 'b1'";
    WorkItemCollection Bwic = workitemstore.Query(wiql);
    // get “t1” task work items(10) from test team project
    string wiql2 =
    "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = 'teamprojectname' 
    AND  [System.WorkItemType] = 'Task' AND 
    [System.Tags] CONTAINS 't1'";
    WorkItemCollection Twic = workitemstore.Query(wiql2);
    //two task work items linked to one bug work item
    for(int
    i =0;i<=4;i++)
    //define the link type
    WorkItemLinkTypeEnd linkTypeEnd = workitemstore.WorkItemLinkTypes.LinkTypeEnds["Related"];
    //link first task to bug
    Bwic[i].Links.Add(new
    RelatedLink(linkTypeEnd, Twic[(i * 2)].Id));
             Bwic[i].Save();
    //link second task to bug
    Bwic[i].Links.Add(new
    RelatedLink(linkTypeEnd, Twic[(i * 2 + 1)].Id));
    Bwic[i].Save();
    catch(Exception
    e)
    Console.WriteLine(e.Message);
    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.

  • Sending work item to Lotus Notes

    We are using SAP 4.7 and Lotus Notes 6.5.
    As work items are created, an email is sent to the recipient's Lotus Notes internet email address (using RSWUWFML2).  It contains a link to the work item.  This works fine.
    We can use the "New message" option in Business Workplace to send an email to an internet email address (in Lotus Notes).  This, too, works fine.
    But.... if we select a work item in Business Workplace, then choose "Other functions" and "Send mail", and send to the same internet address as the "New message" method, the email is received in Lotus Notes - the receiver and sender info appears correctly - but its header now has a note similar to "Please respond to [email subject line] <WORKINGWI.000000383111.%BOR_TRADER%@ abc.com>".  If the recipient tries to send a reply, it wants to send it to this "respond to" info which, of course, fails.
    In addition, the email has a text attachment that says:
    "Go to the following URL:
    If the link is not to a valid server, log on to the SAP system and check the following object:
    System:DEV200
    Client:
    BOR Object Type:WORKINGWI
    BOR Object Key000000383111"
    Obviously this attachment information means absolutely nothing to the users.
    This problem only seems to happen with the "Other functions" "Send mail" option on a work item.
    Any suggestions on what is causing this and how to fix it?
    Thanks
    Ron Knoll

    Hi Ron,
    We have experienced what, from your description, seems to be an identical problem.
    In our case the emails are generated from Audit Management in our development system.
    Have you solved the problem and manage to find an explanation to these problems?
    If so, we are more than happy to hear from you concerning the solution.
    Regards 
    Gunnar Schriwer,Volvo IT/Aero Sweden

  • How to use the url in the work item

    hi ,guys ,
       I have question in design the workflow, my scenario is as follows : I develop the workflow in the sap gui ,then integrate it into the portal using uwl . now i want add a link in the work item ,before approver excute the work item ,the approver can click the url to view the detail approval information ,and the system popup a web window which link to the pcui application . and someone advise me to maintain the href in the work item text ,but i have no iead on it ?can anybody give me some advices or sample material ?thanks in advance .
    Jialiang.Qiu

    Hi
    If we talking about adding an URL in the GUI workitem display you can proceed as follows:
    1. In the workitem text editor, change the editor to line editor (Goto -> Change editor)
    2. enter the tag /* (Usually used for comments) to the left
    3. enter the URL on the line as follows <a href=http://www.cnn.com> click here</a>
    Regards
    Morten Nielsen

  • Auto Refresh work items in POWL iview

    Hi Experts,
    We are using EP 7.3 and ECC 6.0 EHP 5. MSS add-on 1.0
    We are using MSS Inbox as POWL.
    When we processed any work item in Inbox, the same work item still appearing (after approve) in inbox. When we click on "Refresh" link the approved work item is disappearing. Every time click on "Refresh" link is difficult.
    Link to refresh work task items is available but user requires this to be done automatically upon processing of an item.
    Advance Thanks.
    Regards,
    Srinivasu.Y

    Hi Siddharth,
    I appreciate your help. I checked POWL configuration SPRO-->Cross-Application Components --> Processes and Tools for Enterprise Applications --> Inbox --> Define Tasks and Actions --> Create or Change Actions
    here refresh type is empty.
    I Changed Refresh type to "OPTIMISTIC".
    changes are reflected in table IBO_C_WF_ACC
    Not in table IBO_C_WF_ACS
    do i need to change the Refresh type in Standard table IBO_C_WF_ACS also?
    issue is not fixed after changed in Refresh type also. please let me know if i missed any step?
    Issue: Manager approving Travel request in MSS inbox using POWL. when Manager clickes Task new window will open to approve/Reject. when he approved, the work item is not refreshed until click on "Refresh" link in POWL inbox.
    Regards,
    Srinivasu. Y

  • How to get the image stored in archieve link as an attachment in work item.

    Hi All,
    through transaction OAWD we are storing scanned images.
    Once this transaction is executed a workitem appears in the inbox of the initiator with the scanned invoice as attachment.
    When the user executes the work item FV60 screen is displayed where the user enters the data based on the scanned invoice attachment.
    After the user Parks the document the custom workflow triggers and a workitem appears in the inbox of an approver.
    Our requirement is that the scanned image should also appear as the attachment.
    Can you please suggest how to get the image stored in archieve link as an attachment in work item.
    Regards
    Shraddha

    Hi Martin,
    with every parked document a scanned image is linked.
    I need to create a link under objects and attachments in the work item, such that when the user clicks that link the image is displayed.
    At present the following functionality is available.
    The BO used is FIPP
    Objects and attachments:
    parkeddocument:AK0108500001252008.(via FIPP binding with WIOBJECT_ID)
    On clicking the link below objects and attachments: the parked document AK0108500001252008 opens in display mode.
    Now we want to have 2 links:
    parkeddocument:AK0108500001252008.
    image.
    When we click on the link image then the scanned invoice linked to the document should get opened.
    I am able to get the image id of the the image through  SAP_WAPI_GET__OBJECTS,
    export parameter leading_object provides the detail.
    But I am not able to figure out how to use it in my workflow to display it as an attachment.
    Hope this will give a better understanding of my question.
    can you please suggest as to how I should proceed with it.

  • Creating a report for linked work items...

    We are using TFS 2012 and need to create a report (either excel or SSRS) that shows all the user stories under the current sprint and any linked child items across two projects. I can do this easily per project in VS and open it in excel but excel won't
    let me copy/paste two projects work items in one spreadsheet. I tried searching and found a few suggestions but they don't seem to work.
    TIA,
    Vik

    Hi Vik,  
    Thanks for your post.
    We suggest you create a such report using TFS API. Please refer to below code snippet:
                TfsTeamProjectCollection tfs = new TfsTeamProjectCollection(new Uri("UrI"));
                tfs.EnsureAuthenticated();
                WorkItemStore workitemstore = tfs.GetService<WorkItemStore>();
                string wiql ="SELECT * FROM WorkItems WHERE [System.TeamProject] = 'TeamProject' ORDER BY [System.Id] ";
                WorkItemCollection wic = workitemstore.Query(wiql);
                foreach(WorkItem workitem in wic)
                if(workitem.Links.Count!=0)
                    foreach (Link link in workitem.Links)
                        RelatedLink relatedLink = link as RelatedLink;
                        if (relatedLink != null)
                            Console.WriteLine(relatedLink.RelatedWorkItemId);
    You can create your custom work item query to return all the parent work items, then save this query as a .wiq file in local path, then open this .wiq file and you will find the wiql string in it.
    For more information about work item query TFS API, please refer to:
    https://msdn.microsoft.com/en-us/library/bb130306.aspx.
    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.

  • Link to inbox on express work item dialog box

    Hi Friends,
    Is there a way to delete the link to inbox from express message dialog box, for some express work items?
    Any input is much appreciated
    Thanks
    Vijay

    Thank you all.
    Well, we are using fax attachment to Journal entries(JE) which is subject to approval. If a user deletes the attachment from JE I'm sending the express work item to refax the supporting documents so that it can be sent back for approval.
    The problem here is, If the user deletes the attacment from FBV2, he gets the express message, goes to inbox, executes the work item to fax the supporting document which gets attached to JE and JE goes for approval. Once it is approved It gets posted in the background. If the user, who deleted the attachment remains in the inbox when JE is approved he is technically blocking the JE and hence posting is failing.
    I can change the work item priority and send a normal work item and a mail to his outlook regarding the deletion and need for refaxing. But business wants express message to refax.
    Hope this will help you sugest some solution.
    Thanks
    Vijay

  • Execute Work Item: Invalid Link (SWN155)  for WD ABAP task ?

    Dear all,
    I have created a workflow task with WEBSERVICE object and configured task visualization with WD ABAP application.
    When i am executing the work item through  SAP Inbox , the application is triggering successfully.
    But when the work item is transmitted to Outlook through Extended notifications configuration i am getting the error
    Execute Work Item: Invalid Link (SWN155).
    We have already implemented the 1381164 and 1164090 OSS notes.
    We don't have UWL, the link need to be opened the WD application directly.
    I am unable to find the error.
    Please help to solve the issue.
    Thanks,
    Vamshi

    Hi,
    Have you checked OSS for possible fixes? It might that this was something that was clearly a bug, and not matter what you do, it will not work, unless you implement some fix.
    Regards,
    Karri
    PS. The note is 966681
    Edited by: Karri Kemppi on Oct 27, 2009 9:26 PM

  • Execute Work Item: Invalid Link (SWN155)

    Hi,
    I am trying to configure Extended Notifications. I read and implemented the entries according to blog [/people/saujanya.gn/blog/2006/12/19/how-to-get-work-items-your-outlook-inbox|/people/saujanya.gn/blog/2006/12/19/how-to-get-work-items-your-outlook-inbox]. The problem is that I get a "Execute Work Item: Invalid Link (SWN155)" in my mails. My question is what I need to add to parameters INBOX_LINK_URL and WD_HOST to make this work. Please provide examples if you have a working scenario.
    Thanks!

    Hi,
    Have you checked OSS for possible fixes? It might that this was something that was clearly a bug, and not matter what you do, it will not work, unless you implement some fix.
    Regards,
    Karri
    PS. The note is 966681
    Edited by: Karri Kemppi on Oct 27, 2009 9:26 PM

Maybe you are looking for