Mixed comments in workflow attachments...

Hello all,
One of our customers has a strange problem when trying to display an attachment (SOFM-DISPLAY) in workflow.
After importing a support pack last weekend the workflow always shows the last comment added by someone in the system. So let's say for example that John added a comment in a workflow. And 5 seconds later Marie wants to read the comment of a whole different workflow, she sees John's comments!
I have looked in the Forum and OSS notes, but couldnt find any lead at all. I dont know which support packs were uploaded axactly (sorry for the limited info) but Im just posting this question to see if someone has encountered a similar problem like this before. Maybe somekind of memory problem?
Thanks & regards,
Erik

Hi,
Its a bit strange to hear this !!. However are you really sure these two are totally different workflows.
Can you please check the AttachObjects container element in workflow log and find out the SOFM key in runtime in both workflows that you are talking. Is it the same?
Regards
Krishna Mohan

Similar Messages

  • Aggregate Comments in Workflow

    Hi,
    I have a requirememnt that is when anyone recieves a workitem he han forward it to another user (There is abutton Refer in my Transaction) .When i Refer the Workitem to another user its mandatory To write comments.
    For the next user there is a Log displayed in workitem (transaction ) with the comments.
    So i have put a loop and used the same Task so that the workitem continues.
    Now how do i handle the comments.
    I tried using a database table to store comments .but it restricts comments to 255 chars.
    Anyway to store the comments as the comments definetely excedd 255 chars

    Hi Swathi,
           We had a same problem , what we did was, we have created a popup screen with three input text fields (each 255 chars)to accept the comments and  created a table to store the comments with three fields (fld1, fld2, fld3) . These three fields are populated from the popup screen along with the Doc.No(Invoice No.) and the ApproverID..
                    While displaying the comments simply  select all the comments for a particular Invoice  No. and display it using the table control on the main screen...
    Geniric Object services allows certain features like create a Note, Create Attachments,Start workflow for a particualr Object..These services can be accessed from the toolbox placed on the left top of the transaction if the transaction allow GOS..
    Let me know if this helps..
    Thank you
    Srinivas

  • Store workflow attachments in a content server

    Hello Everyone,
    I am newbie to ABAP and This Forum.
    I have a requirement in which I have to store all workflow attachment in a content server.
    I think by changing storage type in oac0 and calling transaction oaor in workflow, I can do this.
    But I am not confident that whether this is right way to do this, or not?????
    So, Please guide me, and if any other alternative is there, then suggest me.
    Thanks in advance...

    very tough job for a newbie! Hereafter is a link which I think is not the answer you are expecting (because this link is talking about documents in the SBWP, not attachments to workitems, but it may help you to start searching : [sap library - content management server - Content Server for Business Workplace Documents|http://help.sap.com/saphelp_nw70/helpdata/en/4e/c95c195e8e9c4da3f6447ae0a7493f/frameset.htm]

  • BPM 11G comments and file attachments issue on human tasks

    Hi all,
    We have used JDeveloper 11G and SOA suite 11G + BPM (with PS1,PS2) to create and deploy a simple BPM process. The process consists of two swim-lanes ( Business Analyst and Snr Executive). The BA swim-lane has a human task which which initiates the process and the second swim-lane (SE) has a voting task. Both forms were auto generated.
    ------ Process steps ----
    step 1. The initiator of the process( Business analyst) submits a document and adds comments on the form. (1st swim lane)
    step 2. The task is received by the Snr Executive group and they need to accept or reject the document.
    step 3. If any of the Snr Execs rejects the document, the process flow goes back to the Business analyst(the requester or initiator) for review.
    (the voting group is able to share comments and the file attachments).
    step 4. The business analyst receives a task on her list. This task list should have the comments made by the Snr Execs who rejected the document. ---This is where we are having a problem. The business Analyst, receives the task, but the document and comments are not updated. This still shows the original document and comments, she sent when initiating the process.
    We have opened a SR with My Oracle support and it was suggested we apply a hot fix 9958661, which was done (see output below). Unfortunately this did not solve the problem.
    Questions:
    1. Is the default behavior of BPM 11G ?
    2. How can we change this behavior to do what we want ?
    ---------------------------------------opatch update output -----------------------------------------------------------
    ApplySession adding interim patch '9958661' to inventory
    Verifying the update...
    Inventory check OK: Patch ID 9958661 is registered in Oracle Home inventory with proper meta-data.
    Files check OK: Files from Patch ID 9958661 are present in Oracle Home.
    The local system has been patched and can be restarted
    I any suggestions would be welcome.
    Thanks
    Mocheche

    Ok, this is what i did:
    - I have a Process Data Object called CustomComments with just 1 attribute called comments.
    - I have added that object to my user screens (adf page)
    - Changed its columns att to 65 and rows to 8 (i chose that layout)
    - Used a tableLayout to add an icon next to this text area to allow the user to add comments:
    <af:commandImageLink shortDesc="addCommentImage" id="addCommentImage" partialSubmit="true" icon="/hw_images/new_ena.png">
         <af:clientListener method="myFunction" type="click"/>
         <af:clientAttribute name="attributeName" value="attributeValue"/>
    </af:commandImageLink>
    I use that clientAttribute to send the logged user to the javascipt.
    - I added this after the af:document on top of the page to make the customComments readonly to the user (you need to do it here because if you set it in the properties the element is not updated later), so the user has to use the button i put to add comments:
    <f:facet name="metaContainer">
         <f:facet name="metaContainer">
         <af:resource type="javascript">
              function readOnly(){
                   var comms = document.getElementById("it1::content");
                   comms.setAttribute("readOnly","true")
         </af:resource>
    </f:facet>
    <af:clientListener method="readOnly" type="load"/>
    - Somewhere i added the javascript the commandLink calls:
    <trh:script id="myScripts">
         function addComment(evt){
              var commentArea = document.getElementById("it1::content");
    var user = evt.getSource().getProperty("user");
    var comm = prompt("Please enter your comment: ","");
              if (comm != null) {
                   if (comm != ""){
                        if (commentArea.value !=""){commentArea.value = commentArea.value + "\n"}
                        commentArea.value = commentArea.value + "user.value" + " : " + comm;
    </trh:script>
    After all this, you have an object that carries the comments from one screen (UI project) to another and is updated each time.
    I know it may not be the perfect solution and that it could be improved a lot, but so far it does what i need so i use it.
    If there is anything i wasnt clear enough, please let me know. Hope this helps.

  • Attachment and Comments in Workflow

    Hello,
    Initiator initiate a workflow (e.g SIT), attached a file, write comments and send for approval. 1st Approver approved and write his comments and send for furhter approval. Assume all approver write some comments and is finally approved.
    Now
    1. From where initiator can view all approver comments ?
    2. where is the attachment gone ? From where initiator can view his own attachment ?
    Edited by: Ayaz on Dec 16, 2009 4:03 PM

    I think you may find the following two items of help:
    http://download.oracle.com/docs/cd/B19306_01/workflow.102/b15852.pdf
    http://appstechnical.blogspot.com/2006/08/blob-as-oracle-workflow.html
    Hope this helps!

  • Webdynpro abap to workflow attachments

    Hi gurus,
    I have opened same meaasge in workflow forum also since I was not sure which will be more helpful.
    I added  the attachment to workflow using the following code from my webdynpro abap application:
    DATA: lv_xstring TYPE xstring,
            att_id TYPE swr_att_id,
            ls_msg_ln TYPE TABLE OF swr_messag,
            ls_msg_str TYPE TABLE OF swr_mstruc,
            lv_objkey TYPE swr_att_doc_id,
             ls_header             TYPE swr_att_header.
      lv_xstring = lv_file.
      ls_header-file_type      = 'B'.
      ls_header-file_name      = 'Attachment'.
      ls_header-language       = sy-langu.
      CALL FUNCTION 'SAP_WAPI_ATTACHMENT_ADD'
        EXPORTING
          workitem_id          = lv_wi_id
          att_header           = ls_header
         att_bin              = lv_xstring
         do_commit            = 'X'
       IMPORTING
         return_code          = rc
         att_id               = att_id
    TABLES
       message_lines        = ls_msg_ln
       message_struct       = ls_msg_str .
    I see the attachments in the workitem but am unable to open the attachment.
    Another question is how can I show the same documents in another webdynpro application as attachments.
    Thanks,
    ST

    used the standard webdynpro component WDK_POWL_WF_DETAIL and it has whatever was needed for attachments.
    Thanks,
    St

  • Travel Expense - Remove Workflow Attachments?

    We have enabled standard SAP Travel Workflow WS20000040 - Approve Trip.  Managers will perform approvals through the Universal Worklist within the SAP Portal.  Each work item is generated with an attachment.  When the attachment is launched via the UWL in the portal, it launches transaction PR05 VIA the SAPWEBGUI.  We do not want the attachment.
    Is there an easy way to remove the attachment associated with this specific work item?  
    I have read some posts that detail how to turn off all attachments in the UWL.   However, I would like to remove the attachment for this workflow item only.
    Thanks in advance.
    Regards,

    Thanks for all of the responses and helpful suggestions.
    After researching further, I found several references that recommended using transaction SWFVISU > Object Visualization to suppress the workflow attachment.
    I created an entry based with the following parameters:
    Object Type:  BO BOR Object Type
    Object Type:  BUS2089
    Method Name:  Approve
    Visualization Type:  NONE Object Not Represented
    This did not work. However, we are not on the latest support packs on either the portal or back-end system which I am thinking may be contributing.   We are applying patches in the next week and I will re-test.
    Does anyone have any feedback regarding this and whether the entry I have created is correct (and therefore should work)?
    Thanks

  • Adding Comments in Workflow

    Hi Experts,
    I have a Requirement. There is a Scenario where I am Sending a Decision to a User for Approval/Rejection using a Workflow. This is being tested on User-Interface and not SAP-GUI.
    "Now the Requirement is that when that User is taking a Decision, there he should be able to Enter some kind of Comments like Why he is Approving or Why he is Rejecting that Decision?"
    How can I implement this Functionality in the Workflows?
    Regards,
    Kanika!

    Hi,
            Try to use step type FORM where u can create ur own fields like rejecting/approving  reason .
    Give form step type in the following order:
    1) FORM in change, Where user enters the rejecting reason,
    2  FORM approve ,Where user enter approve/reject button.
    For using FORM ,the prerequisite is u have to create a database structure as it will be used as referrence while creating container for the form  with all fields needed,
    Regards,
    Sivakaran.

  • SAP workflow attachments

    Hi all,
    We have implemented a workflow in Employee Self Service that is possible to attach any document to a specific task decision.
    I would like to know if this attachment is erased after all the Workflow processing is completed. And if not, there is any way (job, for example) to delete this attachments?
    This is critical to me because the HD of SAP server is almost full and I need to be sure that these documents don't take disk space after being completed.
    Thanks a lot in advance.
    Regards,
    André Sousa

    Hello,
    I don't know if it'll solve your disk space problems, but you could look into adding a call to fm SAP_WAPI_ATTACHMENT_DELETE
    as the last step of your workflow, if you're certain the attachments won't be needed.
    regards
    Paultje Bakker
    Hanabi Technology

  • Help Please:  working with HTML BLOBS and workflow attachments

    simply put need to be able to:
    1. create html document using plsql and store as BLOB in a table.
    2. retrieve this BLOB and send as Document Attachment in workflow notification.
    This sounds so simple to be able to do and yet I've spent the past week trying to find easy to understand documentation on how to do this.
    The html i'm creating is too large for just the normal 32K (I believe) buffer for a regular (text) document attachment. If i limit the # of rows returned, I can use this method just fine. However, my assumption is that with the amount of data I need to return in the attachment is that the BLOB type is what i will need to be able to accomplish this.
    I would be more than happy to e-mail anyone samples of the workflow and code I am currently using to attempt this.
    Lastly, one of the main articles I've looked at is this:
    http://oracle.anilpassi.com/index2.php?option=com_content&do_pdf=1&id=22
    In my latest attempt, i picked an html file currently stored in fnd_lobs and tried to send the file as an attachment.
    wf_engine.setitemattrdocument ( itemtype => c_itemtype,
    itemkey => l_itemkey,
    aname => 'LOB_DOCUMENT',
    documentid =>'PLSQLBLOB:DANA_RLM_EXCEPTION_NOTIFY.xx_notif_attach_procedure/' || to_char(75871));
    I get the following error in Workflow when trying to open the attached document:
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Any help would be greatly appreciated... would consider naming our next child after you. ;)

    I had done some work trying to see how Lotus Notes handles HTML content.. to my dismay, Lotus Notes does not even handle some of the basic HTML correctly.. leave alone the embedded OA Fwk content in the workflow e-mail notifications.
    This seems to be a bug in Lotus notes.. I don't have the link to the IBM site that talks abt the bug. Will post it once I have it.

  • Mixed digital / film workflow

    Hi,
    Can anybody tell me how useful Aperture is for managing non-digital capture files ? About half my work is still on film, and so is a lot of my archive. I understand that Aperture supports TIFFs as master files, but the question is, how does it deal with big files ? Some of my 16-bit scans are over 300Mb, and I'm not sure how well Aperture could cope with this. Anybody else doing this ?
    Thanks
    David

    David,
    I am using a hybrid film-scan and digicam workflow with Aperture. It works fine.
    In January I shot 4300 frames of B+W film. I had them all scanned on a Fuji Frontier for editing purposes and low-res scans. I have since had about 150 selects drum-scanned or scanned on my Imacon. I put the hi-res scans into Stacks with the lo-res Frontier scans. There was a problem in v1.1 with scans over 500MB. That seems to be fixed in v1.1.1.
    There are some problems. The open in External Editor command converts everything to Adobe 1998 RGB. You have to work around this by using the Export Master command. I made two Automator workflows to help with that when I export fom Aperture into an "open in Photoshop" folder the files are automatically opened in Photoshop and then moved to the trash.
    When I hit save in Photoshop it won't do it (since the file is now in the trash) so it automatically does a "Save As" and I save to an "Import to Aperture" folder that automatically imiports the image back into Aperture.
    It sounds worse than it is in practice--which is very easy. I put up a posting a week ago describing the process.

  • Beginner question regarding 32-bit mixing and mixdown workflow

    Hello
    I have a beginner question regarding 32-bit mixing and mixdown.
    If I edit some 16Bit, 44.1kHz Stereo WAV Files and put them into multi-track view to do crossfades, how should I do the mixdown?
    Audition shows me in multi-track view, that it is doing 32-Bit mixing.
    Can I just mixdown to 16Bit, 44.1kHz Stereo without any dithering (as the files are 16Bit, 44.1kHz Stereo to begin with), or will I lose quality that way?
    I will be performing a normalization to 96% to the mixdown and then split to tracks in Audition, as in the end I want to to have an audio CD.
    I guess I could mixdown to 32Bit, then normalize and in the end save back to 16Bit, 44.1kHz Stereo WAV (with dithering, I suppose?), but I want to avoid any unnecessary converting steps.
    Greetings

    Any time you do any processing on a 16bit file in 16 bit only it will degrade the audio slightly due to rounding of the calculations. Working in 32 bit floating point (Audition's default) takes account of all bits generated due to processing.
    So it is always best to work in 32 bit, even if your originals were 16, all the way through until the last stage of saving the files for CD burning. Any losses due to conversion will be insignificant against those due to working 16 bit.

  • Workflow for PR approval and rejection with comments

    Dear Experts,
    We have implemented SAP standard workflow in DEV server for PR item release i.e WS00000038, when I reject a PR notification is not sent to initiator.
    If I see In SWEL - When a PR item is rejected system is picking up step "PR item significantly changed" instead of "Item release cancelled"
    1.Approval notifications are getting to user's SAP inbox but not rejections.
    2. We have to capture user rejected comments in workflow which again will be sent to outlook of user.How this can be achieved?
    Need your help in this regard.
    Thanks,
    Uzair

    Hi,
    Item release is configured for PR
    My problem is when user rejects a PR line item notification is not sent to initiators sap inbox  - though approval notifications are working fine.
    When I see event trace for this activity in SWEL its showing me as
    BUS2009 Rejection start  - No receiver entered
    The receiver data shown is empty in the log.
    How can we maintain receiver data for this one since we have used standard workflow - WS00000038
    Please help me in this regard.

  • Collect comments on automatic start of reusable workflow

    I want to start a workflow automatically, how can I collect  "comments" (multiple lines of text) metadata from users when they are checking in a document, that should be collected by the workflow?

    Hi mikello,
    According to your post, my understanding is that you want to create a workflow to automatically get the comments when the users check in the documents.
    First, you should know there is a column named “Check In Comment” to record the comments when the users check in the documents.
    Then, you can modify view to display the “Check In Comment” column’s value in the document library.
    If you want to record the changes of the “Check In Comment” column’s value automatically, I recommend that you can follow the steps as below to implement it.
    Open the document library in your site, create a “Single line of text” type column named “Comment1” to record the “Check In Comment” column’s value.
    Open SharePoint Designer 2010, create a list workflow associated with the document library, add some conditions and actions as below:
     3.  Go to “Start Options”, check “Start workflow automatically when an item is created” and “Start workflow automatically when an item is changed”.
     4.  Publish the workflow and test whether it works in your environment.
    The result is shown as below:
    When you add a new document in the document library, you need to leave the “Comment1” column’s value empty.
    Then, the workflow will automatically be executed and set the “Comment1” column’s value equals to the “Check In Comment” column’s value like “ID;#Check In Comment”.
    And, when you check out the document and check in the document with comments, the workflow will automatically be executed and judge if the current “Check In Comment” column’s value equals to the current “Comment1” column.
    If they are equal, the workflow will log “Comment not change~!” and the current “Check In Comment” column’s value.
    If they are not equal, the workflow will log “Comment change~!” and the current “Check In Comment” column’s value, set the current “Comment1” column’s value equals to the current “Check In Comment” column’s value.
    Best Regards,
    Yumi Fu

  • AIR pdf comment workflow

    Hi Folks,
    I'm investigating the possibility of an (open source) AIR
    app that allows essentially "annotating" a pdf - whether text,
    images audio etc. (*)
    I have a framework to handle the media - I'm not looking to
    embed anything in a pdf - I'm not looking to embed it in the pdf.
    That said, the comment API of a pdf seems an obvious piece of
    functionality to build upon.
    However, investigation the API to cross script a pdf from
    flex, I notice the that "comment based workflows will not work" in
    AIR 1.0. Being new to pdf, I'm just wondering if anyone can point
    me to more documentation that is a little more explicit of what
    this means - exactly how much pdf functionality is not supported in
    AIR?
    I'm in a very early stage, but any suggestions would be
    welcomed.
    Best,
    Ian
    (*) Motivation, incidentally, is as a communication design
    tool . I want to allow communications and instructional designers
    to annotate, for instance, a complex policy document with richer
    and more visceral content. This content that can both serve as a
    personalized summary and provide entry points into the full text of
    the document.

    oh and CPDFPREVIEW is a class i got from here

Maybe you are looking for

  • Restricting cost center selection during creation of reservation

    Hi, We had a requirement to restrict the selection of cost center during creating a reservation. An user should be restricted in selecting any other cost center which does not belongs to his department. Since the restriction was not possible in stand

  • Why are my clips shaking after slow motion?

    I captured clips from my Canon 7d and converted the clip through mpeg stream clip, pro res, 60 frames, full HD. When I imported it into FCP and set the speed to 50% (or any speed, except normal) the top of the clip shakes the entire time, before I ma

  • Move OCR and Vote Disk to a new SAN

    Hi, Can you guys help me with some links/documents for moving OCR and Vote disk files from old SAN to new SAN. Both SAN will have ocfs2 formatted 3 partitions on which ocr and votedisk will be placed (normal redundancy). Oracle version 11g R2, OS lin

  • Error when compiling Word documents from OPM

    When I try to compile a document from OPM (as opposed to from the Word OPM toolbar), OPM raises a dialog box with the title Compilation Error.  It says, "Oracle Policy Modeling was unable to compile the document as an error occurred with Microsoft Wo

  • Getting warning message when running BW Report

    Hi , When i am running saved query iam getting warning message pop up and when iam clicking ok button iam getting data. My query is there is any way to remove that warning message pop up message? Thanks in advance