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

Similar Messages

  • Problems opening attachments in work-item

    Good day all,
    I'm having an issue currently within the SAP Inbox, it's regarding file attachments inside the work-items.
    The problem is that for some reason that I don't know, the files are correctly uploaded to the the work-item but afterwards I cannot access to them correctly. Not even to a simply comment (using the RAW format type). When you click on the attachment link, nothing happens.
    I have tried setting the option "(Double)-clicking on an object displays the Object in the same window" in the User Settings, but the file that opens is not the right one, it usually open an older attached file from other work-item or so. It's very strange...
    The thing is that I've tested in another computer and it works fine there "without" enabling the setting I mentioned. So when I try without enabling this setting, nothing happes, no file is open, no attached comment either...
    I've discarded that it's an autorization issue, and also is not the SAP GUI (710).
    Have you experienced the same problem? or any input on this to solve it or what could be happening?
    Your help would be much appreciated.
    Thanks. I'll be waiting for your comments..

    For attachements, if you have used SELFITEM-NOTE_CREATE and you are using more than 6.40.
    Apply OSS Notes 1115440, 1092152 accordingly and it must work.
    Let me know for any more clarifications.
    Thanks,
    Sudhir.

  • Work Item Objects and attachments

    Hi,
    We are working for the travel expenses related workflow scenario where we are able to see the employee trip details under the objects and attachments. This happens with the method 'DISPLAY' which is a default method and which is used to display the trip details. We are seeing this under the User Decision. I am using the BO BUS2089.
    Now we want another link below this which on clicked will call a smartform.What i essentially imply is that when the link is clicked, a pop up will appear where the user will enter LOCL and when clicked on print preview, he will be able to see the smartform.
    What i want to know is that how can we have multiple links in objects and attachments in one work item itself.
    Thanks in advance for all the help.

    Hi,
    For every object instance in the work item container there will be a link in the preview pane in SBWP. If you want to have a link to a smartform then make sure the User Decision task has a container element which references the smartform object.
    Regards,
    Eddie

  • TFS 2012 work items migration to TFS 2013 along with History,Links/Attachments & Custom fields??

    Dear All,
    TFS 2012 work items migration to TFS 2013 along with History,Links/Attachments & Custom fields?? is there any way..
    Tried couple of tools:
    1) Excel based migration : loss of data is custom fields, links, attachments, status
    2) few tools in Code plex : Crashing/Not working.
    Kindly provide your valuable comments here.
    Cheers, Tarun

    Hi Tarun,
    I'd like to know the tools that you used in CodePlex. Generally, CodePlex project is not supported in MSDN forum, and you can post your questions and concerns in the issue secton of the project.
    If you use TFS integration tools, according to this
    blog, it is limited to migrating only Version Control items, Work Items, and the links between them. Please check the limiation and have a check with your migration. For the customized fields, you might need to do the same customizatoin on the target
    team project.
    Best regards,
    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. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • 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

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

  • How to get work item details programatically ?

    Hi All,
    I have a list of work items (process instances) and I want to retrieve each item details such as: attachments, notes, id, ...
    All the items are filtered and represented as Fuego.Papi.Instance:
    Fuego.Papi.Instance[] inst = busProcess.getInstancesByFilter(filter : instFilter);
    But the work item details are inherited from Fuego.Lib.ProcessInstance. So, how to get the item details from inst[] ?
    Would appreciate any help, may be Dan will have an advise ?
    Regards,
    Kim

    If you have instances returned by your filter, you could extract variable information for each instance by doing something like this:
    for each inst in getInstancesByFilter(ps, filter : instF) do
        // here's how to get the value inside a primitive instance variable
        orderAmtObj as Object = getVar(inst, var : "orderAmount")
        // here's how to get the value of attributes inside a complex BPM Object instance variable
        //    - in this case this is an "order" object with two attributes (customerName and amount)
        orderObj as Object = (getVar(inst, var : "order"))
        xmlObject = Fuego.Xml.XMLObject(createXmlTextFor(DynamicXml, object : orderObj, topLevelTag : "xsi"))
        logMessage "The value of the order object's customer name is: " +
               selectString(xmlObject, xpath : "customerName")
        logMessage "The value of the order object's order amount is: " +
               selectNumber(xmlObject, xpath : "amount")
        // here's a rather uninspired way to retrieve who the participant is that was assigned the instance
        logMessage "The participant assigned to this instance is: " + inst.participantId
    endInside the above "for" loop, you could retrieve these predefined variables (this example assumes you use "inst" in your "for" loop):
        objRet as Any
        objRet = inst.getVar(var : "PREDEFINE_ACTIVITY")
        logMessage "Activity name = " + objRet using severity = DEBUGSubstitute "PREDEFINE_ACTIVITY" in the above logic to get this information:
    PREDEFINE_PRIORITY (priority)
    PREDEFINE_ACTIVITY_DEADLINE (activity.deadline)
    PREDEFINE_CREATION_TIME (creation.time)
    PREDEFINE_PROCESS_DEADLINE (deadline)
    PREDEFINE_DESCRIPTION (description)
    PREDEFINE_PROCESS (process)
    PREDEFINE_RECEIVED_TIME (receptionTime)
    PREDEFINE_PARTICIPANT (participant)
    PREDEFINE_COPY (id.copy)
    PREDEFINE_STATUS (status)
    Similarly, you might want to try to get instance information using the Fuego.Papi.VarDefinition object a try. Never used it, but the logic might be as simple as:
        logMessage "who created? = " + inst.getVar(Fuego.Papi.VarDefinition.CREATOR_ID) using severity = DEBUG
        logMessage "does it have attachments? = " + inst.getVar(Fuego.Papi.VarDefinition.HAS_ATTACHMENTS) using severity = DEBUG   
        logMessage "does it have notes? = " + inst.getVar(Fuego.Papi.VarDefinition.hasnotes) using severity = DEBUGDan

  • Work item not getting displayed in the portal

    Hi  experts,
    We are creating a protoype for one of the standard HCM form for change in working time. When we initiate the process, the workflow is supposed to identify the agent(which is the manager in this case) and push the work item in the inbox of the manager.
    In our issue, we are able to see the workitem in SAP inbox, but the same work item is not getting displayed in the portal.
    If we try to approve from the SAP inbox, the hard coded message u201CWork item can only be executed using the Portal and the UWLu201D comes. [this comes through the method of  one of the tasks 17900101 which we are using for approving the form]
    We commented the message by using a Z class. Now we donu2019t get the hardcoded message, but still the workflow does not complete from here.
    Can this be aan integration issue of the workflow tasks with the portal??Can someone elaborate on this??

    <ItemType name="uwl.task.webflow.TS17900101.SAP_ECC" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynPro" executionMode="default">
          <ItemTypeCriteria systemId="SAP_ECC" externalType="TS17900101" connector="WebFlowConnector"/>
          <Actions>
            <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="WebDynproApplication" value="ApproveFormApp"/>
                <Property name="WebDynproDeployableObject" value="sap.com/pa~asr~formstep"/>
                <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
                <Property name="openInNewWindow" value="yes"/>
                <Property name="display_order_priority" value="5"/>
              </Properties>
              <Descriptions default=""/>
            </Action>
          </Actions>
        </ItemType>
    You have to say to your portal team to modify their XML file as above. In simple you hvae to configure the task in the portal and in the SWFVISU txn as follows with the following vizualization parameters
    Task TS17900101 and visualization type is JavaWebDynpro
    APPLICATION     ApproveFormApp
    PACKAGE     sap.com/pa~asr~formstep

  • Error while opening work item in Inbox sbwp for verifcaion of right invoice

    Hi,
    I am working on SAP workflow with IXOS.
    I faced  a problem in opening the workitem when it came into the inbox.
    In nomal scenario when i click on the workitem under workflow folder in my inbox, it opens the attached document in document viewer, i can see the attached document ,and after verifying it ,i can furher process it.
    But now when i click on the work item in my inbox it directly takes me to the next processing window, without opening the attached document for my verification, so i am unable to check that i am processing the right invoice.
    Please help.

    Yes, it was working fine before.
    And also the problem generally rise in afternoon.

  • Error when starting work item

    Hi
    We are having SRM5.0.
    Trying to create Contract. Workflow Without approval of contract(WS1400086)is activated and start conditions also no workflow activated.
    Contract is created and getting message Contract created.
    But when tried to release the contract it shows "Awaiting approval".
    In Workflow log (SWI1)it shows error."Error when starting work item xxxx".
    What could be the reason. Please let me know the solution if anyone of you come across such error.
    Thanks in advance
    Jagadish

    Masa
    It is maintained as General task already.
    It seems the workflow task WS14000085 does not have definition.
    When checked in SWDD for the above teask there are no steps defined for that workflow.
    SAP says that we need to define and action for workflow WS14000085.
    But what is the procedure to define the workflow.
    I presume this is the standard workflow and it should be defined by default when it comes along with the SRM package.
    Anyone of you know how to define the workflow and activate the same?
    Regards
    Jagadish

  • Work item never shows up in the approver queue

    Hi All,
        This is a specific issue to a particular user - approver. requisitioners are creating carts and are able to see that it is in approval queue. But the approver  is not able to see the approval items in his queue.
    We are in SRM 5.0 ECS SP15. This issue started all of recently. There has no changes in Org structure specifically to his attributes or workflow changes. Interestingly when workitem is forwarded to another approver, then that approver is able to view it. So, this tells me that this specific user has issues to view work items for approval.
    Any suggestions is greatly appreciated and rewared.
    Thanks
    Rao

    Hello Rao,
    Did you check in SWI1 transaction if your particular user is defined as approver for concerned workitem ?
    If you have user ID and password, can you see the workitem in SBWP transaction ?
    If you use offline approval, has approval mail for this approver been created ? You should see it in SOST transaction.
    Regards.
    Laurent.

  • 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

  • Work Item not getting logically deleted

    Hi All,
    We have created a custom workflow for PR approval at Item Level. I have RELEASE STEP CREATED as triggering event.
    I have used a FORK with 5 branches with 4 wait events and min cond as 1. The inherited business object ZBUS2009 has been created with events CHANGE, DELETED. The business object has been delegated to Original Business object BUS2009.
    To trigger the events like DELETED and CHANGED, I have used POSTED METHOD of ME_REQ_POSTED BADI.
    When a PR Item is created the agents are determined successfully and work item is placed in his SAP Inbox. Later the PR Item has been deleted and saved the BADI Implementation is triggered and I can see the log in SWEL for DELETED event with success icon.
    However when i go back to PR Item which i have deleted and see the workflow log the work item is still in the approver's inbox. but the graphic log shows that the DELETED branch of the fork is completed. I tried all options like Buffer synch, background job, queue admin etc with no success.
    I did the same workflow at one of my previous clients and it is working perfectly for last 2yrs.
    Can any one guide me on what could have gone wrong or what i am missing?
    Thank you all in advance for help...
    Regards,
    Lakshmi Narayana

    Hi Arghadip,
    Thanks for your quick response.
    The fork is having 5 parallel branchs and 1 necessary branch and is INDEED HAS NO EXTRA CONDITIONS.
    Also as i mentioned the graphical log shows that the completion of BRANCH Beneth DELETED but the work item is still in approver's inbox. 
    Please let me know if I am missing something....
    Rgds,
    Lakshmi

  • Work Item Not getting Deleted

    Hi
    We have a starge issue.
    We use the table SWWUSERWI to see all the work items in the user's inbox.
    If we delete the work item in this table it will remove the same from user's inbox.
    We have a problem now. Even after we deleted all the work items the SRM "Approval" link and the "Inbox" still contains Workitems( more than 200 ).
    Is there anyother table or tCode to find the work items in user's inbox'
    Thanks
    Siva.

    HI experts!!
    The issue is solved!!!
    The another user who is not with the company currenlty had maintained the user who had problem as substitue!!!.. we had to remove the substitute to solve the problem.
    Thanks
    Siva.

Maybe you are looking for

  • Needed help to improve the performance of a select query?

    Hi, I have been preparing a report which involves data to be fetched from 4 to 5 different tables and calculation has to performed on some columns also, i planned to write a single cursor to populate 1 temp table.i have used INLINE VIEW,EXISTS more f

  • How do you Delete a Record using Form with submit button?

    Hi, The table REGISTRATION has two feilds, FULL_NAME and USER_GROUP. I created a form that has a drop down of all the FULL_NAME values that allows the user to select the record that they want to delete. I got the drop down to work and created the Del

  • Changing field labels for JP29

    Hello friends, In transaction JP29 there are several field labels I want to change. I think I have to go to the MARA table and make the changes here, but I'm not sure where to do this.(trans se11 -> utilities-> database Utility?) In the test-system t

  • Troubleshooting CF8 + CentOS5 lockups

    Hi guys, I was hoping you might be able to help me troubleshoot this issue I'm having.  We have 5 identical servers running our application.  They are all configured identically.  About a week ago, web1, our first node, started locking up a few times

  • Tlftextfiled in textarea as3 component problem?

    i customize as3 textarea component (in source : fl.control.TextArea) i chnage textField in source to tlfTextFiled and i cand see RTL text in textArea component, but i have a problem , and i can not see affect my change in Direction please help me to