Hyper Link in Object attachment in work item

Hi,
I am working with workflow for IDOC error resolution.  I need to make hyper link in a workitem in the Object and Attachment section to goto WE02.  How to do this?  do I need to create a new task for this?  what is the use of template attachment in user decision?
Thanks
Sunil

Hi,
you can create the link by useing following url
http://<host>:8000/sap/bc/gui/sap/its/webgui?sap-system-login-basic_auth=X&sap-language=EN&~transaction=WE02
Now pass/create this link in the workitem description in following way...
<A href="&link&">
IDOC
</A>
where &link& is the variable hold the value of the above link..
Thanks and regards,
SNJY

Similar Messages

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

  • Attaching an attachment to Work item

    Hi all,
    I have req where I need to attach an attachment to the work item , I need to develop an FM which will do this .So could you please help me out ?
    This is on very high priority so Correct ans would be definately rewarded.
    Thanks .

    hi
    good
    go through the following link
    /people/rammanohar.tiwari/blog/2005/10/10/generic-object-services-gos--in-background
    u will get an clear idea of how to attach PDF as a attachment to the work item
    or
    you want to manually attach a file.. in the task you can check the "Confirm end of processing" option.
    By doing this the agent executing the task has an option to attach a file on completing the task/workitem so that the next agent gets a work item with or without an attachment.
    Alternatively - Create a task using object type SOFM, import the attachment (method : Import File) .Pass this attachemnt to your workitem through binding: Workflow Container element is AttachObjects.
    Also refer : Re: Attachments in Send Mail step.
    reward point if helpful.
    thanks
    mrutyun^

  • 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

  • Convert XSTRING to PDF Format and Send it as an attachment with work-item

    I have an Adobe Form data available in the ECC system in XSTRING format. In one of my ABAP methods (used by a custom workflow task), i want to convert the XSTRING data in PDF format and send it as an attachment with a work-item. How best can this be done?
    Appreciate any ideas,
    Saurabh

    Hi Saurabh,
    if u want to download pdf which is in xstring format to u r local system
    u can try the following code.
    data: data_tab type table of x255.
    call function 'SCMS_XSTRING_TO_BINARY'
    exporting
    buffer = XString data
    tables
    binary_tab = data_tab.
    cl_gui_frontend_services=>gui_download(
    exporting
    filename = filename
    filetype = 'BIN'
    changing
    data_tab = data_tab ).
    cl_gui_frontend_services=>execute(
    exporting
    document = filename ).
    Regards,
    Chandru

  • Attachment to work item

    Hi,
    How do you send an attachment to a work item, at the time when the work item is created in the inbox

    anybody has worked on such a requirement?

  • Hyper links in pdf documents not working on iphone.

    Hello,
    When I view a pdf document with links, the links are not working.
    Are links not supposed to work on the iphone from pdf documents or I am missing something?
    Thank you in advance ... I have an iphone 4 running v4.1.
    Carlos

    Also having this problem: can't use links embedded in the PDF.
    Is there a solution to this?
    Thanks.
    Paul (iPhone 4 v4.2 / iPhone 3GS v4.1

  • Smartform as work item attachment

    Hi,
    I would like to have a smartform as an attachment in the work item. This is as part of User Decision step.
    I had gone through one of the blogs  by Ramakanth Reddy of creating attachment to work item but there was no clear description of SOFM object and what needs to be done to configure the same. Also it was a Adobe form...I need details as to how a smartform needs to be attached.
    Could you help me out as to how to attach a smartform as an attachment in the work item.
    There is a Z report in which the code to generate the smartform is written. I need to know how I can use this smartform as a work item attachment.
    Thanks in advance for all the help.

    Hi,
    I have checked the same and everything seems to be in order.
    Lemme explain what I have done and maybe u mite throw some light on it.
    I have created a new task. In this task I have called the report program that generates the smartform.
    Submit Z_tr_form with pernr = object-key-employeenum
                                         reinr  = object-key-tripnumber
                                and return.
    Inside this report, I have done the following :
    IMPORTING
          document_output_info = st_document_output_info
          job_output_info      = gt_otfdata
    i_otf[] = gt_otfdata-otfdata[].
        CALL FUNCTION 'CONVERT_OTF'
          EXPORTING
            format                = 'PDF'
            max_linewidth         = 132
          IMPORTING
            bin_filesize          = v_len_in
            bin_file              = v_file
          TABLES
            otf                   = i_otf
            lines                 = i_tline
          EXCEPTIONS
            err_max_linewidth     = 1
            err_format            = 2
            err_conv_not_possible = 3
            OTHERS                = 4.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          BUFFER                = v_file
    *     APPEND_TO_TABLE       = ' '
       IMPORTING
         OUTPUT_LENGTH         = ZVAR1
        TABLES
          BINARY_TAB            = it_solix_tab
    if sy-subrc = 0 and not it_solix_tab[] is initial.
                swc_set_table container 'IT_SOLIX_TAB' IT_SOLIX_TAB.
                swc_set_element container 'ZVAR1' zvar1.
                swc_set_element container 'ZTR_MGNT' obj.
                export ZVAR1 to memory id 'ZVAR'.
    CALL FUNCTION 'SWW_WI_START_SIMPLE'
        EXPORTING
    TASK                               = 'WS12500022'
    TABLES
          AGENTS                             = it_agents
    WI_CONTAINER                       = container
    Now after the submit statement I am importing the value  of ZVAR1.
    swc_get_table container 'IT_SOLIX_TAB' IT_SOLIX_TAB.
    swc_get_element container 'WORKITEMID' WORKITEMID.
    swc_get_element container 'ZVAR1' ZVAR1.
    CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
    EXPORTING
    INPUT_LENGTH       = ZVAR1
    IMPORTING
    BUFFER             = ZXSTRING
    TABLES
    BINARY_TAB         = IT_SOLIX_TAB.
    ZSWR_ATT_HEADER-FILE_TYPE = 'B'.
    ZSWR_ATT_HEADER-FILE_NAME = 'TRIPDET'.
    ZSWR_ATT_HEADER-FILE_EXTENSION = 'PDF'.
    ZSWR_ATT_HEADER-LANGUAGE = 'EN'.
    CALL FUNCTION 'SAP_WAPI_ATTACHMENT_ADD'
    EXPORTING
    WORKITEM_ID          = WORKITEMID
    ATT_HEADER           = ZSWR_ATT_HEADER
    ATT_BIN              = ZXSTRING
    IMPORTING
    ATT_ID               = ZSWR_ATT_ID
    swc_create_object lwa_bo_sofm 'SOFM' zswr_att_id-doc_id.
    swc_set_element container 'SOFM' lwa_bo_sofm.
    After this step in the workflow we have the User Decision. The binding from the WF container to the User decision as mentioned in Ramakanth's article has also been done.
    I am not able to see the PDF output in the container also.
    I have a question.....in the article that Ramakanth had given, the report program to generate the adobe form was run separately. In my case I am calling the same inside the task. Is that causing a hinderance as such....I am not able to figure out as to why I am unable to get the attachment.
    Lemme know ur comments.
    Thanks in advance for all the help.
    All the bindings are also in place. I checked with the document that Ramakanth had written and checked all the bindings

  • Attachments to Work Items

    If I am building an FI document workflow, when a user attaches a file to the work item will those files also be attached to the FI documents similar to the way you can park a document and go to FB03 to attach files through services for objects?  Or are the files attached to work items stored in a different area from where typical FI document attachments are stored?

    If you need to add the documents in the Attachment link portion of the Generic Object Services you have to code for that separately.
    You have to use function module
    SO_OBJECT_INSERT to save the document as object
    and then use FM
    BINARY_RELATION_CREATE_COMMIT
    to finally link file (object) to master data
    Thanks
    Arghadip

  • Rejected Work Item Resubmission

    If workflow is constructed in a way where work items are rejected by an approver but sends a notification to the user with a link to edit their rejected work item (in this case an FI document), does this create a new work item or will this be a continuation of the original work item that was rejected?  If both are possible what is the recommended approach for this?

    Hi Hari,
    I didnt get your requirement clearly.
    From what I understood, the workitem that was rejected would end as a decision has been taken on it.
    Now a new workitem would get created to send a notification to the user with a link to edit their rejected FI document. Else you can send a mail (not a workitem) to the user to notify him of the rejection and to edit the FI document.
    The user needs to manually go and edit the document.
    Regards,
    Saumya

  • Reg : Button Option in Work item

    Hi All,
    I want to display a button in workitem. When user click on it. it keep the workitem in the inbox and take him to message creation where he can write his query and send it.
    Let me explain it. The requirement is that  when any workitem is created. it will go to user1 and he approvers then it will move to another user ..like that.
    but if the user4 have some doubts about it. it will send his query to the creator.as of now. he have to postpone it and send his query. but when the work-item is created again ..it will follow the same path.
    Thanks & Regards,
    Manoj

    You have tried to explain your problem in some detail. That is good. There is however room for some improvement.
    E.g. it is essential here to know where you want your button. You say "in work item". Do you mean in work item display? Do you mean when the user executes the work item? In the latter case it depends on your particular step. If it is a decision task step you have control over 4 buttons. All 4 alread used - out of luck. If it is not a decision task step the button will probably have to be displayed in some transaction.
    It is also helpful to know your SAP release.
    It is also helpful to know which type of Business Object you are using.
    In short, it is useful to know some specifics, not just a general description of the process without information about object types, events, transactions, standard workflows or tasks in use etc.
    Perhaps using Generic Object Services can solve the problem. Sure, it means training the users instead of creating exactly what they ask for - but once they learn it they will appreciate it and can use it for other purposes and in other solutions as well.
    However, GOS is not available in all transactions, and that is one reason why it would be useful to know the type of Business Object or exact transaction you are using.
    In a SAP Business Workflow Mike Pokraka recently described how you can send a work item to someone else with a query. Always possible as it does not depend on Generic Object Services for the object in the work item. They would have to specify the recipient themselves, just as if they use GOS from the object transaction. Again, training users to use SAP standard functionality instead of creating custom functionality.
    Downside ... custom functionality is what keeps most of us employed.

  • Invalid URL error when displaying Work Item Attached URL Object in UWL

    Hi,
    After upgraded from EP6 to EP7 the user can no longer display the attached URL object of work items in the UWL Inbox.  It works fine in the SAPGUI Inbox so the URL should be okay.  We found below error messages in UWL log file:
    #1.5#0003BA5D298B001E0000030300003A280004314BFE992222#1180102370599#/uwl/ui#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.ui.control.UWLActionControl#C004049#43497#####SAPEngine_Application_Thread[impl:3]_0##0#0#Warning#1#com.sap.netweaver.bc.uwl.ui.control.UWLActionControl#Plain###com.sap.tc.webdynpro.services.exceptions.InvalidUrlRuntimeException: Invalid URL=HTTP://apinvoice.d51.lilly.com
    gbip
    gbip.asp?po=invoice=TC630400360USERID=USC076601#
    #1.5#0003BA5D298B001E0000030400003A280004314BFE9986AB#1180102370625#/uwl/ui#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.ui.control.UWLActionControl#C004049#43497#####SAPEngine_Application_Thread[impl:3]_0##0#0#Warning#1#com.sap.netweaver.bc.uwl.ui.control.UWLActionControl#Plain###com.sap.netweaver.bc.uwl.UWLException: Fri May 25 10:12:50 EDT 2007
    (Portal) :com.sap.tc.webdynpro.services.exceptions.InvalidUrlRuntimeException:Invalid URL=HTTP://apinvoice.d51.lilly.com
    gbip
    gbip.asp?po=invoice=TC630400360USERID=USC076601#
    Looks like the error is related to the back slashes in the URL but it was working fine in EP6.  We are going to change the back slashes to forward slashes to see it will work.  We would like to know if any SDNer’s can provide some more detail on why this is happening and if there is other solution.  Any hint will be very appreciated.
    Regards,
    Jiannan Che

    Use link attachment or add button action to UWL as possible workaround. It appears that work item text can only be displayed as-is.

  • How to transfer GOS attachment to my work item

    Hi Friends,
      I have the following requirement. The user while creating a Appropriation request in tcode IMA1N will create an attachment using Generic Object Services(GOS). once he saves my workflow will trigger and it will go to approval. I need to show the attachment created using GOS in my Work item. How to achieve this. Please advice.

    I have some annotations:
    The object type ARCHIVE is for archived Data Files from the DataArchiving. The object type for ArchiveLink documents is  IMAGE
    The default method is  .Display   to display the document.
    The GOS-Attachment is not a SAP ArchiveLink document. This attachment is stored in SOOD and linked via the GOS-relationship table SRGBTBREL
    The business object, that can be used here is: SOFM
    The object instance needs to be found with a custom self-made background method, to find the correct link and create an object instance.
    After that, this instance can be used as a secondary method in the work item's execution or attached to the ADHOCOBJECTS as already mentioned here.
    Good luck,
       Florin
    P.S.: Similar reply cross-posted to SAP-WUG

  • Work Item Attachment

    Hi Guru's
    I need to attach a Pdf file to work item.
    Actually I have wrritten a code for converting the Smartform into PDF format but now i need to send this as a mail with workitem attachment.
    for this we need Use SOFM Object but i'm not having clear idea about the sequence process.
    <removed by moderator>
    Please help me to do this
    Advance Thanks
    Edited by: Mike Pokraka on Jul 24, 2008 11:04 AM

    hi maruli
    use this link
    Link:[http://help.sap.com/saphelp_nw70/helpdata/EN/d3/bde438b572b407e10000000a114084/frameset.htm]

  • Attaching a word document to the work item

    Hello Everyone,
                              I want to send an attachment with the work item. My requirement is as follows.
    Iam working on CRM.  The Business Object which Iam using is BUS2000116. In this Activity, there is an attacment tab. Here the user will generate a word document which is populated with the values from the Activity.
    I need to send this word document as an attacment through a work item when status gets changed.
    I can send the work item. But in my BO BUS2000116, the attachment is not being shown. So I can't do any binding to the Container element Attach_objects.
    Please let me know how to achieve this.
    Regards
    Hari

    Use SAP_WAPI_ATTACHMENT_ADD function module.
    or  There is also a step type in 4.6 you can use in the workflow -Generate
    Document from a template. You can create doc template (e.g. using
    MS Word) and insert a placeholders in the text which would at
    generation time be substituted with values from corresponding container
    elements.
    <inappropriate content removed by moderator>
    Thanks
    Yogesh Sharma
    Edited by: Mike Pokraka on Jul 1, 2008 1:34 PM

Maybe you are looking for

  • Creation of Tree View in CRM web ui

    Hi All,   How to create a Tree View in CRM web ui.Please let me know the step by step procedure. Thanks, Santhosh.

  • Imac g5 20 isight wont boot up

    hi first of all sorry about my english. OK i bought an imac g5 20 isight second hand from ebay  2.1ghz (ppc) /1 gig of ram /250 gb maxtor apple hdd everything looks clean ,and proper. The computer turns ON but does not boot  a system , all i have the

  • Gtkpacman, Wakka - doesn't show any packages

    Like in subject. In console I get errors like this (by clicking on repositories): Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/gtkPacman/gui.py", line 335, in repo_changed pacs_model = self.models[parent][selected] KeyErr

  • Is there a way to restore a macbook air to factory settings?

    hi, i recently bought my friends macbook air. he made me a new account on the laptop and deleted his account. this is fine but i'm finding family photos and address book contacts and the computer's name is his name. i was wondering if there was a way

  • Thinking about switching

    I'm thinking about buying a Mac but I'm having a hard time trying to find answers to my questions. Such as the principle differences between standard computers and Macs and if my progrmas will work on a Mac. Even navigating this site isn't that easy.