Workflow attached document name

i upload a document in portal with workflow. the other user opens worklist that has a attached document. if the user want to download the file , can't see the name of file.
for example : i upload this file. (newtext.doc) and the other user download the file like that name (mis_attached.doc) .
i want to download the file as a orginal name. but i could not. pls help urgent.

if we add this codes in loop we can easily the name of document when we download the file.
owa_util.mime_header(r1.mime_type,false);
htp.p('Content-disposition: filename='||substr(v_filename, instr(v_filename,'/')+1));
owa_util.http_header_close;

Similar Messages

  • MM Contract(ME31K) Attachment with name of the attachment

    Hello Experts,
    I am trying to attach documents to the MM contract using the transaction ME31K with attachment document name but I unable to achieve this.
    In OAC0/OAC2 we can configure type of document.
    And attachment can be done using  create->Store business document and drag and drop.
    When I see the attachment list I could see only attachment list but I want to maintain the file name as well.
    Anyone worked on this scenario?
    Please help me.
    Regards,
    Vadamalai A

    Hello Abijith,
    Thanks for your reply.
    my create attachment is disabled, how to enable? is there any settings required. What is the difference between Create Attachment and Store Business document(which is enabled now but we couldnt see the file names from attachment list).
    Regards,
    Vadamalai A

  • When i attach workflow to document library, the custom columns data is not saving.

    Hi, i had created SharePoint designer workflow (send Email) for Document Library.
    I had created Custom columns like.
    "Employee Name" of type Person or Group  
    "Resume Type"  of type Choice 
    When i attach my workflow to document library, the columns data is not saved.
    It is just uploading resume, and sends email to the user groups, but data is not saved for custom columns. !.e "Employee Name" and "Resume Type".
    Any help will be appreciated.

    In SharePoint Document Library, first the document will be uploaded and then the metadata will be updated. So, in your workflow settings, select start workflow when item is changed instead of item is created and then try. 

  • Archive link : user defined document name in attachment list

    Hi
    I have created a content repository (OAC0), document type and had linked the doc n content rep with an SAP business object.
    I am able to attach documents to business object using archive link feature.
    If I attach more than one documents to an SAP business object, for same document type, all the documents are displayed with same name in the attachment list.
    Is there any way by which I can show the original document name as selected by user?
    Thanks in advance.
    Regards
    Ruhi Hira

    hi i have this problem myself all I know is that the original names are used for the following document types
    HRIBENEFIT PREL FAX 0053 -
    HRIBESCHKI PREL FAX 0021 2
    HRICERTIFI PREL FAX 0024 -
    HRICOLFOTO PREL FAX 0002 -
    HRICONTRAC PREL FAX 0016 -
    HRICONTRAD PREL FAX 0016 -
    HRIDATASEC PREL FAX 0002 -
    HRIDATES PREL FAX 0019 10
    HRIDIPLOMA PREL FAX 0022 +
    HRIEMPFOTO PREL FAX 0002 -
    HRIEVALUAT PREL FAX 0025 -
    HRIHEALTHI PREL FAX 0013 -
    HRIMASTERD PREL FAX 0002 -
    HRIPERAPPR PREL FAX 0019 10
    HRIREFEREN PREL FAX 0023 -
    HRIRESUME PREL FAX * -
    HRISOCIALS PREL FAX 0013 -
    HRISTUDID PREL FAX 0013 -
    HRITAXCARD PREL FAX 0012 -
    HRIVL PREL FAX 0010 +
    HRIWORKPER PREL FAX 0016 -
    read this thread:
    Link:[A couple of things regarding GOS and ArchiveLink for attaching Business Doc;
    i hope this wiil help you a least a little bit

  • Workflow - Retrieve attached document on the container

    Hello All!!
    I have configured a decision task to e included a rejection text on the UWL.
    When I add this text, I can see on the Container I have attached an Office Document with my text, on the BOR SOFM.
    How can I read the text included on this document?
    Is very very urgent, please.
    Thanks and regards,
    Manuel Míguez.

    Hi Arghadip,
    I see the attached document is on the Container, but is stored on a folder.
    I have the data of the folder.
    My doubt is how I can retrieve this data on a method of a task. The element is based on the BO SOFM and I can´t find the name of the fields.
    I´m using the statements
    DATA attach            TYPE SWC_OBJECT OCCURS 0.
    swc_get_table   container  '_ATTACH_OBJECTS' attach.
    Thanks and regards,
    Manuel Míguez.

  • How to attach document from webdynpro TO workflow

    Dear friend,
    For one requirement i want to attach documents(.doc or .pdf)
    from webdynpro form.
    I want to display it with user decision step along with description.
    I am confused that which container element would contain it?
    and how can i display it along with description?
    How can i attach document to the workflow?
    Please guide me stepwise.
    Thanx in advance!
    Regards,
    Purvesh.

    hi,
    Please Refer to the thread.
    How to Attach a pdf file which is created in EP while sending the mail
    Regards
    Sumit Agarwal

  • When attaching documents using GOS send them with workflow

    Hello experts,
    I have a scenario. We have to attach documents to SAP application using GOS. These documents can be edited also.
    Now second part is that when we attach the document or edit the document, the document should be send with the work item "when we attach the document".
    The first part of the scenario is completed and working fine. The second part of the scenario is causing problem. I have checked the various options but none of them are proving helpful.
    There is an option in GOS toolbar to send the documents through workflow but that also asks for the related workflow.
    I was trying to create an event for GOS object which can trigger the workflow automatically when the attachment are created and edited but can not go further with it as not so strong in workflow.
    I request you to kindly help me either in creating this event which will trigger the workflow (whole process) or any other method to do the same.
    Thank you all in advance.

    Hello Andrés,
    Thank you for replying. The main problem is starting the workflow. For that I need to create an event and that is my biggest trouble. I have seen the object IFSAP already. There are no events in it and as such I have created my custom object as super type.
    So I need to create the event from scratch.
    Hope my requirement is clear.
    Thank you.
    Edited by: Apoorv Lohani on Feb 3, 2012 7:54 AM

  • Re-attaching old workflow to document library

    Hello,
    I've recently switched my sharepoint site to a new work environment (different DNS), but my custom workflows that were associated to my document libraries are no longer "attached" anymore. They still exist in the site itself, but they can not be
    associated to any list or library. Unfortunately, they are not reusable workflows due to having specific content that related to each library and their columns, so that option is out the window. Is there a way to reattach them to a library/list if the workflow
    is already created? Any help would be great.
    Thanks!

    Hi,
    According to your post, my understanding is that you wanted to re-attaching old workflow to document library.
    To migrate list while keeping workflow associations, you can save a site as a template and "include content”.
    Here is a similar thread for your reference:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/e8f6aef7-008e-4cf1-811b-11358922cbe4/migrate-list-while-keeping-workflow-historyassociations?forum=sharepointgeneralprevious
    In addition, you can migrate workflows between test SharePoint 2010 farms and production farms, in particular with workflows attached to lists.
    For more information, please refer to:
    HOWTO Move or Migrate SharePoint 2010 List-based Workflows between Sites and Site Collections
    Solved: Moving SharePoint 2010 Designer Workflows between Sites
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Query Print Layout - Generated PDF Document Name?

    Hi All,
    Query Print Layouts associated to my user queries work great for printing...but does anyone know if there is a way to set a more appropriate document file name when attaching an edited PDF report to an email? It seems to always automatically create a document name starting with 'Query Manager_-1_12' or something similar when attaching the report document directly to email.
    I do realize that I can save the file locally, choose any name I like, then attach to email... but this defeats the purpose of being able to send the query report directly to the email icon.
    If anyone knows how I can do this it would be much appreciated. There seems no option in the QPLD document properties.
    Best regards,
    John

    Hello,
    Yes, I have the same question. It could be great being able to choose the name of the document when creating a pdf. Even better if you could chose fields of the document for the name of the pdf, such as, name of customer, number of document, date, etc.
    Is there any way for doing this?
    Thanks in advance,
    Javier.
    Hi All,
    Query Print Layouts associated to my user queries work great for printing...but does anyone know if there is a way to set a more appropriate document file name when attaching an edited PDF report to an email? It seems to always automatically create a document name starting with 'Query Manager_-1_12' or something similar when attaching the report document directly to email.
    I do realize that I can save the file locally, choose any name I like, then attach to email... but this defeats the purpose of being able to send the query report directly to the email icon.
    If anyone knows how I can do this it would be much appreciated. There seems no option in the QPLD document properties.
    Best regards,
    John

  • Document Creation error - "We're sorry. We can't open document name because we found a problem with its contents"

    Morning Friends,
    I have created a SharePoint 2010 "Site Workflow" that is designed to take information from a form and create a Word doc with the gathered information and store this Word doc in a document library.
    I am using Sharepoint 2013 with Office 2013 
    I understand there are a lot of steps (19) outlined below and I can provide more information as needed but the bottom line is this, workflow successfully takes info from an initiation form, uses the info to create a Word doc. Places this Word doc in a library.
    When attempting to open / edit doc, receive error
    "We're sorry. We can't open <document name> because we found a problem with its contents"
    Details - No error detail available.
    Any info or advice would be greatly appreciated. 
    Very high level view of what I have done:
    1 - Created content type called "Letters"
    2 - Added site columns " First Name" and "Last Name"
    3 -  Created and saved to my desktop a very basic Word document (Letter.docx) that says "Hello, my name is XXXX XXXX"
    4 - In the advanced settings of the "Letters" content type I uploaded this "Letter.docx" file as the new document template.
    5 - Created a new document library called "Letters"
    6 - In Library Settings - Advanced Settings, clicked "Yes" to enable the management of content types.
    7 - Then I clicked "Add from existing content types" and added the "Letters" content type
    8 - Back in the advanced settings of the "Letters" content type I selected "Edit Template" and replaced the first XXXX with the Quick Part "First Name" and the second XXXX with the Quick part "Last Name"
    9 - Created a new 2010 Site workflow called "Create a Letter"
    10 - To the workflow I added the action "Create List Item"
    11 - Configured the action to create Content Type ID "Letters" in the document library "Letter" 
    12 - For the "Path and Name" I gave it a basic name of "Letter to"
    13 - The next step was to create the Initiation Form Parameters and added to form entries "First Name" and "Last Name"
    14 - I then linked the initiation form fields to the data source "Workflow Variables and Parameters" to their respective Field from Source parameters
    15 - Went back to the "Path and Name" and modified the basic name of "Letter to" to include the first and last name parameters.
    16 - Saved - published and ran the work flow.
    17 - As expected, Initiation Form prompts for First and Last Name. ("John Doe") Then click "start
    18 - Go to document library "Letters" and see a new Word document created titles "Letter to John Doe" 
    19 - Go to open / edit the Word document and receive the following error
    thoughts? Any info or advice would be greatly appreciated. 

    See this MS support article for SP2010 workflows and generating Word docs:
    https://support.microsoft.com/kb/2889634/en-us?wa=wsignin1.0
    "This behavior is by design. The Create
    List Item action in the SharePoint
    2010 Workflow platform can't convert Word content type file templates to the correct .docx format."
    I've had success in using SP 2013, Word 2013 (saving a .docx as the template instead of .dotx for the document library content type), and an SP 2010 workflow using SP Designer 2013.

  • Error while attaching document in cv01n

    Hi,
    We are attaching document in transaction cv01n,at the time of saving it gives error  massege change is not allowed,but still system is saving saving that documet.can anybody suggest solution to avoid error massege.
    Thanks,
    Vikas warke

    I have checked the img setting ,img setting is ok,still it gives program error  as below,can you suggest me whether reccomndations can implemented or not.
    Note 964021 -Update Task Fails When New Version Created
    Note Language: English Version: 2 Validity: Valid from 07.11.2006
    Summary
    Symptom
    Update task fails when a new version of an old document info record is
    created using CV02n transaction.The system throws an update terminate
    error.
    More Terms
    UPDATE TERMINATE, MESSAGE 26 178, CV200_DB_DOC_UPDATE, CV02N
    Cause and Prerequisites
    Program Error
    Solution
    Implement the note
    Header Data
    Release Status: Released for Customer
    Released on: 07.11.2006 12:13:26
    Priority: Correction with medium priority
    Category: Program error
    Main Component CA-DMS Document management
    Valid Releases
    Software Component Release From
    Release
    To Release and Following
    SAP_APPL 500 500 500
    SAP_APPL 600 600 600
    Support Packages
    Support Packages Release Package Name
    SAP_APPL 500 SAPKH50016
    SAP_APPL 600 SAPKH60008
    Attributes
    Attribute Value
    SAP objects CV200_DB_DOC_UPDATE
    Transaction codes CV02N,CV03N
    Transaktionscodes - manuell CV02N,CV03N
    SAP-Objekte - manuell CV200_DB_DOC_UPDATE
    DownPort/UpPort-WF UpPort check done, symptom
    repaired
    Correction Instructions
    19.06.2008 Page 1 of 2
    Note 964021 -Update Task Fails When New Version Created
    Correction
    Instructio
    ns
    Valid
    from
    Valid
    to
    Software
    Component
    Typ
    e
    Reference
    Correction
    Last
    Changed
    518092 500 500 SAP_APPL C P6DK093226 07.11.2006 17:30:29
    807328 600 600 SAP_APPL C P7DK042952 13.07.2006 14:50:41
    *) C Correction, B Pre-Implementation, A Post-Implementation, M Undetermined
    19.06.2008 Page 2 of 2

  • Insert Document name in Pages

    Is there a way to insert the document name as automatic text at the bottom of the first page in Pages? This was a simple "automatic text" script that Word has had for years. All of our documents are saved with names relating to what the document is and where it gets filed. Our paper filing/folder structure is pretty much identical to the folder structure of our file server. It is very convenient to have the name of the document printed at the bottom of the first page so that when it comes time to filing our hard copies, one knows exactly where to file it.
    There must be a way to script this. Any help would be much appreciated. Thanks.

    Automator isn't really the best solution to this. It's possible to do it with AppleScript, and granted, anything you can do in AppleScript can be put into an Automator workflow.
    There seems to be three possible ways to mark the bottom of the document:
    1) Insert carriage returns to position the very last paragraph (the name of the document) at the bottom. Drawback: if your document takes up all of the final page, then you'd have to create a blank page to accomodate the name. Also, determining the exact number of returns to insert isn't very easy.
    2) Put the name in the footer. Drawback: footers appear on every page, not just the last. You could create a separate trailing section, but that has a blank-page issue similar to #1.
    3) Create a text box at the bottom of the last page. Here's a little script that will do that.
    As for triggering the script, the simplest way is probably to use the AppleScript utility to enable the system AppleScript menu, and put the script in the Pages scripts folder. Then it'll be available whenever you're running Pages.
    <PRE>
    -- Assumptions:
    -- - units are inches
    -- - pages are 8.5 x 11
    property pageHeight : 11.0
    property pageWidth : 8.5
    tell document 1 of application "Pages"
    set bottomMargin to bottom margin
    set leftMargin to left margin
    set theBottom to pageHeight - bottomMargin
    -- Apparently, the new text box will be created on the page which is visible
    reveal page (page count)
    if path exists then
    -- if you prefer Unix-style pathnames, then use
    -- set docName to path
    set docName to path as POSIX file as text
    else
    -- Might want to prompt user to save here.
    -- otherwise, fall back on the document name, typically "untitled"
    set docName to name
    end if
    make text box with properties {object text:docName ¬
    , vertical position:theBottom, horizontal position:leftMargin ¬
    , height:bottomMargin, width:(pageWidth - left margin - right margin)}
    tell result
    -- Some optional formatting
    set alignment of object text to center
    set italic of object text to true
    set font size of object text to 18
    set font name of object text to "Palatino"
    end tell
    end tell
    </PRE>
    Titanium PowerBook   Mac OS X (10.4.4)  

  • Document name exceeds allowed length

    Hello all,
    We are getting an "Document name exceeds allowed length" error when we want to approve a shopping card. There is no attachments in the SC and no reason for this error. First of all we already created the SC and approval WF started and now when we check the document this error occurs.
    Do you have any idea where to start checking?
    Best regards

    Hi
    The error should not be raised in the case where no attachment exists, it is raised normally when the attachment URL exceeds 255 characters.
    However - perhaps you need to apply the note [1269204|https://service.sap.com/sap/support/notes/1269204]. This may be the issue in your system.
    Regards,
    Jason
    Edited by: Jason Boggans on Apr 19, 2010 10:15 AM

  • Attach Documents to Custom Program Using Generic Object Services

    Hi There,
             I created Object type ZGOS and used in the custom program, when i try to attach documents it allows and then shows in attachment list.
            But When I use that program next time that document attached is not available.
    Is there any separate save Class or FM available for saving the document to the specified custom program.
    I am using following code in the program,
      CLEAR obj.
    SET OBJECT TYPE TO 'ZGOS'
      obj-objtype = objtype.
    SET OBJECT KEY = REPORT NAME
      SELECT SINGLE name
      FROM trdir
      INTO obj-objkey
      WHERE name = sy-repid.
    CALL GOS MANAGER WITHOUT CONTAINER (WILL BE DISPLAYED IN THE TOOLBAR)
      CREATE OBJECT manager
        EXPORTING
          is_object = obj
        EXCEPTIONS
          OTHERS    = 1.
    Thanks in advance.

    Check the Naimesh Patel Blog he explain very well
    http://help-abap.blogspot.com/2009/02/generic-object-services-gos-toolbar.html

  • Windows spooler display document name as local document

    I saw the document name with local path at Windows spooler, even if the PDF file came from http or ftp server. I guess, it is depend on the server, because the PDF files which came from one server are displayed the file name with URL as document name, but it came from other server is displayed the file name with local path - C:\Documents and Settings\username\Local Settings\...
    Could someone tell me what is difference between local path and URL path?

    Here is the approach to read document set columns and assign to other webparts:
    for each document set you can find the id when you clicking on the document set or navigating to the welcome page,
    using this id read query string and  the associated item column values and assign to otherwebpart .
    Reference code:
    //page_load for other webpart read the query string of welcome page
    if (Page.Request.QueryString["ID"] != null)
                    ID = Convert.ToInt32(Page.Request.QueryString["ID"]);
                    if (itemID > 0)
                        GetDocumentSetItem(ID , site);
      protected void GetDocumentSetItem(int itemid, SPSite sSiteUrl)
                SPSite site = sSiteUrl;
                SPWeb web = site.OpenWeb();
                SPList list = web.Lists.TryGetList("DocumentlibraryName"); //where documentset content type attached
                SPListItemCollection items = list.GetItems();
                SPListItem item = null;
                if (itemid > 0)
                    item = list.Items.GetItemById(itemID);//getting the current item
       //read the document set item column values and assign it other webpart controls , 
                    txtDocsetidname.Text = Convert.ToString(item["FileLeafRef"]);
                    txtDocsetid.Text = Convert.ToString(item["hiddenfield"]);
    In the welcome page I have placed button to load webpart ,while loading the webpart I am reading the query string assigning the values to otherwebparts.
    G1

Maybe you are looking for

  • Charts not showing up in CSV file when a webi report is exported

    We have a webi report with charts. When it is exported to Excel its working fine, but when it is exported to CSV it is not displaying charts. Please suggest if any preference needs to be changed at the Launch pad level or Is it the limitation with CS

  • How to use SAML in JDeveloper?

    Hi, I am trying to secure the information send between a Web Service secured with an OWSM Gateway and client proxy in JDeveloper using SAML. I can find the security setting in the security wizard for the proxy where you can setup the SAML details but

  • Error Loading File

    I am using APEX 4.0.02.00.07 and have a flash chart that loads and works fine using Firefox as my browser however when using Internet Explorer I get an error message like the following: Error Loading File: "http://.......Flow_Flash_Chart5...... xmlLo

  • Safari does not show url address line. google is taking up all the space...

    safari does not show url address line anynore. google is taking up most of the space on the safari page

  • Volume level isn't reflected when I save song in itunes

    Ever since I got the '08 garageband version and leopard 10.5 for my mac, I haven't had any success with saving my garageband creations at the volume level I want it. In the old garageband, when I adjusted the volume next to the track length, or the m