Malformed PO pdf filename

Hi,
I have a situation where when we create and send POs by email some files do not contain the PO number in the file name as they should.
It appears to be random, but happens enough to be an issue.
It does not appear to be dependant on the vendor, sender, time of day or the way the wind is blowing.
The cover page text is also incorrect. Is the file name taken from the cover text? If so, when is the cover text created. Or is it only related because the same process is used to create both?
Has anyone else experienced this and/or know how to resolve this issue?
Message was edited by:
        julian christian

Hi Julian,
There may be possibility that it happens only in case of only amended PO. Please check and revert back.
Regards,
Sachendra Singh

Similar Messages

  • How to auto add in pdf filename (shown in footer) by using Java Script?

    In order to have nice tracking a document, I want to print the file name as a header or footer when printing the documents. 
    How can this be done?  
    Found a perfectly nice post related to same issue
     http://forums.adobe.com/thread/302996 
     (Many thanks on every contribuitors inside that posts)  
     In the above post,  found that ##Reinhard had shared some well nice scripts for "enable to put in filename in the footer for every document, just by 1 simple click in each documents"  
    For the time being, 
    if i would like to generate a script that allowing 
    1) Only adding / showning the pdf filename in the footer
    2) Auto Run/Execute on this script for all documents, which means without any click but it will auto showing the "filename at footer" when any document opening.  
    Hope any experts can give a help on this.   
    PS: Currently using Adobe Acrobat 10 & Reader 11 // OS = Windows 7 
    Many thanks ^^

    My code for above method is Floor #2
    var FileNM = this.documentFileName;
    for (var p = 0; p < this.numPages; p++)
    var fd = this.addField("xftDate", "text", p, [30,15, 290,30]);
    fd.textSize=5; fd.value = " (" + FileNM +")";
    It works for me & my PC, however I unable to applied same things into a JavaScript.js file
    Hope any experts could help and advice.
    Many thanks.

  • I have a question about extracting pages.  When I do the function, adobe saves the individual files as " file name space page number ", so the files look like this "filename 1.pdf", "filename 2.pdf", "filename 3.pdf".  Without too many gory details, I a

    I have a question about extracting pages.  When I do the function, adobe saves the individual files as "<file name><space><page number>", so the files look like this "filename 1.pdf", "filename 2.pdf", "filename 3.pdf".  Without too many gory details, I am using excel to concatenate some data to dynamically build a hyperlink to these extraced files.  It casues me problems, however, for the space to be the the file name.  Is there any way to change the default behavoir of this function to perhaps use a dash or underscore instead of a space?

    No, you can't change the default naming scheme. You can do it yourself if you extract the pages using a script instead of using the built-in command.

  • FM10 Book to PDF - show title (not PDF filename) in Reader header?

    FrameMaker 10.0.2.419 + Distiller X Pro 10.1.438 -> Adobe Reader X
    I have a FM book file with a title along the lines of 'Worked Examples'. When I save it to PDF with Distiller and view the PDF in Adobe Reader X, the reader's header bar shows the PDF filename e.g. wex.pdf, but I want it to show the book title Worked Examples.
    I assume there's a setting in Distiller that forces Reader to show the book title not the file name, but having trawled through the settings/help/forums I can't see it. It's probably blindingly obvious (when you know the answer!), but can anyone tell me how I can get Reader to show a book's title in its header?

    Note: I have partially solved this issue by loading the PDF into Acrobat X Pro and going to File > Properties, and on the Doc Properties > Initial View tab selecting 'Show = Document Title', and then saving the PDF. I'm hoping to figure out (or get told!) a way of achieving this from my FM10 book file though.

  • PDF Filename is entire path

    I am outputting a report to PDF and its all working fine
    except for one thing, and that is that the pdf's filename is the
    entire path to the file instead of just the filename. This is the
    code I am using in the cfdocument tag:
    <cfdocument format="pdf"
    filename="#request.baseRefTempFile#\#form.collectorLongName#_AssignedSamples.pdf"
    fontembed="yes" overwrite="yes"
    saveasname="#form.collectorLongName#_AssignedSamples.pdf"
    scale="100">
    request.basereftempfile is a variable pointing at the folder
    where the pdf is saved. Its saving it there correctly. Its just the
    filename is the entire path but it omits the directory slashed and
    replaces them with underscores.
    Any help would be much appreciated .Thanks very much

    I am currently using the same method and the working code is
    below. I do not use the saveasname. Have you tried without?
    <cfdocument
    filename="#application.reportPath##dateFormat(todaysDate,'yyyymmdd')#-#UserKey#.pdf"
    format="PDF" pagetype="letter" margintop="0" marginbottom="0"
    marginright="0" marginleft="0" orientation="portrait"
    backgroundvisible="yes" overwrite="yes" fontembed="yes">

  • 6i PDF filename while saving

    Hi all,
    I have report6i and we are generating reports in PDF format.
    While saving the PDF file name contains url, how
    to format PDF filename?
    Please help urgently.
    thanks

    Hi,
    When you use destype=CACHE, the desname is disregarded. The reason is that the PDF file name does not matter when it is opened in the browser. It only makes sense for users to specify the filename when you are "saving" the file. So that is why desname value is taken when you use destype=FILE.
    If you want the PDF to first appear in the browser, and then you want to save it with a particular name, just choose File > Save As from the browser or from the PDF toolbar.
    While saving the PDF file name contains urlI guess you just need to manually overwrite this with the file name you want.
    Navneet.

  • Get pdf filename during initialize:

    I wonder to get the pdf filename during initialize, may i know is it possible?
    Thanks your concern.
    Tham

    ASFileSysOpenProc is not suitable. It is used for the opening of all
    files, not just PDF files, and you do not provide it for the standard
    filesystem: it is a standard part of Acrobat.
    Since it is documents you are interested in, rather than files, you
    would want to look at the document related callbacks (CosDoc, PDDoc,
    AVDoc). I can see why you wouldn't find it though, the Acrobat API
    documents are breathtakingly awful, ever since someone had the bright
    idea of replacing a human editor with a programmer generated file.
    You need to use the PDDocDidOpen notification (notification is the
    buzzword here, not callback), registered with
    AVAppRegisterNotification. Try documents from an older version of the
    SDK, the Acrobat 8 SDK is beyond a joke.
    Aandi Inston

  • Folder level script? How can I use field value as a pdf filename in save as dialog box

    I read somewhere that if you use a folder level script, you can do things like save a pdf with a specific filename - possibly based on a field name.
    How would one set up a folder level script?
    How do you execute a script from the PDF?
    What code would you use to change the PDF name to the contents of the fFieldName text field?
    Or, is this really just impossible to do?

    The article is interesting.  It suggests you place code like this:
    // Page Replacement Function
    var ReplaceLastPage = app.trustedFunction( function(cPath) {
    app.beginPriv();
    this.replacePages(this.numPages-1, cPath); app.endPriv();
    In the trusted folder.  What is the path of the trusted function(s) that get automatically loaded into Acrobat?
    I assume in the example above, function(cPath) is a function inside of the PDF...

  • PDF Filename in WebResource URL

    Hi,
    I've got a maybe simple problem, but didn't find any solution.
    I get an PDF File from my application and open it as an external window.
    This works fine
    The URL contains not the filename but "unknown.pdf...".
    How can i change that?
    Following the code where i read the file and open the external window.
    File file = controller.getReportFile(...);
    byte[] fileData = null;
    try {
       fis = new FileInputStream(file);
       fileData = new byte[(int) file.length()];
       fis.read(fileData);
       fis.close();
    catch(Exception e) {
    IWDWindow = null;
    try {
       IWDWebResource webResource = WDWebResource.getWebResource(fileData,    WDWebResourceType.PDF);
       window = wdComponentAPI.getWindowManager().createExternalWindow(webResource.getURL(), "Report", false);
       window.open();
    catch(Exception e) {
    The URL looks like this (short form..)
    ".../~wd_key29_......./unknown.pdf?sap.session....."
    I appreciate any help

    Thank you for your reply.
    I'll try to detail what i want to do.
    The context of the view looks like this:
    Reports.creationDate
    Reports.filename
    Reports.filesize
    Reports.period
    This context is build up in wdDoModifyView and each context element will be bind to a column of a table, which i create manually.
    The table is now filled with these context. One column includes a download link (LinkToAction) which is binded to the action "onActionDownloadReport".
    In this action i read the leadSelection, get the filename of the current context element and send it to my background application which returns me the file.
    The rest is shown in the first posting.
    I tried to create the context attribute PdfSource as binary and the code you given me.
    But nothing happens. It's also "unknown.pdf"
    Maybe i have to bind the PdfSource to LinkToAction?
    Following the code where i create the download link in table.
    IWDLinkToAction link = (IWDLinkToAction) view.createElement(IWDLinkToAction.class, null);
    link.setText("Download");
    link.setOnAction(wdThis.wdGetDownloadReportAction());
    column.setTableCellEditor(link);
    table.addColumn(column);
    Regards
    Ingo

  • How to get the current PDF filename?

    Hi everyone,
    I know this might be a question that has been asked millions of times but I couldn't find a direct answer.
    I'm using a work flow that comes with a Content Manager Solution so it is not Adobe this WF will generate a very long file name (about 30 characters) which will be used as the unique process number.
    To move to the next step in the work flow I have to update the table in the database and the record to be updated will use the process number.  What I did is I added a hidden text field to the form which should have the process number on the initialize function.
    Now my question is how to get the file name of the opened PDF file??
    I'm sure there is a function in JS but I couldn't find the way to do it.
    Thanks in advance guys for the help.
    Mazen

    Thanks Bruce, it worked.
    Here is what I did:
    I create a textfield and added this script in initialize event:
    ==============================================================
    var 
    fileName = event.target.documentFileName;
    //removing the file extensionvar  vDot = fileName.length-4;
    //apply the value to the TxtFieldthis.rawValue= fileName.substring(0,vDot);

  • PDF Maker, PDF Filename as database field value

    Hi everyone,
    I am using Word 2010 and Adobe Acrobat X
    When you are complete a mail merge and specifically the "Merge to Adobe PDF function" - is it possible to specify the filename for the resulting PDF as a value in the database?

    Hi everyone,
    I am using Word 2010 and Adobe Acrobat X
    When you are complete a mail merge and specifically the "Merge to Adobe PDF function" - is it possible to specify the filename for the resulting PDF as a value in the database?

  • PDF Filename

    Hi Gurus!
      I have uploaded file through archivelink. It generates an object id automatically.
    May i know how can i get filename? like
    a.pdf i am uploading , i want to retrieve 'a' (name).
    Thanks in advance.

    Hi,
    I think you need to run the FTP command FM..
      CALL FUNCTION 'FTP_COMMAND'
    Pass the command the directiory path for the arcive in command parameter..
    you get the result in data table parameter..
    Now looping on the result table you search for the '.pdf'
    if sy-subrc = 0.
    move that offset into an internal table.
    now you can get the file name into your work area..
    Hope am not wrong with your question..
    reward if useful
    regards,
    nazeer

  • PDF filename appears in website text

    I have linked pdf documents through the Inspector > File link but the filename appears in the website and not the text that I highlighted.
    How can I hide the filename and just have the text as a hyperlink
    Susanna

    Susanna R wrote:
    How can I hide the filename
    Susanna ~ Perhaps I've misunderstood the problem, by rather than hiding it, you could simply change the filename to the text you want. You'll have to undo the current file hyperlink and re-do it with the new filename.
    If you need to post a screenshot of something to illustrate what you're talking about, go here:
    http://www.imageno.com
    ...upload your screenshot and from the resulting page, copy & paste the *"HTML code for webpages"* into your post. Switch from Compose mode to Preview mode to check that the clickable thumbnail works before posting. And for how to take a screenshot, _see here_.

  • How to define a pdf - filename in reports 6i

    good morning programmers,
    first i want to excuse me for my not very good englisch. i4m a german
    programmer and i have a little problem. i wrote a report for
    printing quotations / offers. the user has the option to print
    or to send an e-mail with pdf-attachment. and there is the problem.
    the filename of the report is always the same ( report.pdf ) or in german
    ( bericht.pdf ) but i want to define the filename myself. how to do this ???
    i would be very thankful for your fast help.
    regards
    kevin

    thank u for your fast answer. but i think it wasn4t the right one.
    i had define the systemparameter DESNAME in a form-parameter-list.
    ---> add_parameter(pl_id,'DESNAME',text_parameter,'whatever.pdf');
    the report-engine starts, the e-mail client opened and search for
    an e-mail-kontact named whatever.pdf gg
    maybe u have another idea or did i make anything wrong ?
    regards
    kevin

  • Date in PDF Filename when Emailing Report

    Hi all,
    Sorry if there is another thread asking the same thing - I couldn't find one.
    I am trying to send a report from BI Publisher to email addresses. Everything is working fine but I now want the output filename to contain today's date. Is there a way of doing this?
    I have seen Oracle docs which mention this feature is available for delivery mechanisms such as FTP but have not seen anything for Email.
    We are using 11.1.1.6, if that helps.
    Thanks,
    Kunal

    note for select
    SELECT 'FILE_NAME_'||TO_CHAR(SYSDATE,'MM')||'_'||TO_CHAR(SYSDATE,'DD')||'_'||TO_CHAR(SYSDATE,'YYYY')||'.pdf' PARAM
    FROM DUAL;is equal
    SELECT 'FILE_NAME_'||TO_CHAR(SYSDATE,'MM_DD_YYYY')||'.pdf' PARAM
    FROM DUAL;

Maybe you are looking for