LiveCycle: Change PDF Attachment name

I have been able to customize the subject name and body of the email as well as create specific groups that the email needs to go through, but can not figure out how to change the file name to the attachement.  Currently its just a bunch of numbers and letters.  Can Anyone help??

I didn't find any field with PACKING_LIST in program 'SAPFM06P'.
If we create the copy of 'SAPFM06P' kindly let me know where I need to change the same..
in form entry_neu using ent_retco ent_screen.
the below is the code.
*   INCLUDE FM06PE02                                                   *
form entry_neu using ent_retco ent_screen.
   data: l_druvo like t166k-druvo,
         l_nast  like nast,
         l_from_memory,
         l_doc   type meein_purchase_doc_print.
   clear ent_retco.
   if nast-aende eq space.
     l_druvo = '1'.
   else.
     l_druvo = '2'.
   endif.
   call function 'ME_READ_PO_FOR_PRINTING'
        exporting
             ix_nast        = nast
             ix_screen      = ent_screen
        importing
             ex_retco       = ent_retco
             ex_nast        = l_nast
             doc            = l_doc
        changing
             cx_druvo       = l_druvo
             cx_from_memory = l_from_memory.
   check ent_retco eq 0.
   call function 'ME_PRINT_PO'
        exporting
             ix_nast        = l_nast
             ix_druvo       = l_druvo
             doc            = l_doc
             ix_screen      = ent_screen
             ix_from_memory = l_from_memory
             ix_toa_dara    = toa_dara
             ix_arc_params  = arc_params
             ix_fonam       = tnapr-fonam          "HW 214570
        importing
             ex_retco       = ent_retco.
endform.
Kindly give the clear view.

Similar Messages

  • Change the attachment name while sending PO as mail..

    Hi,
    I’m able to send PO Form through mail using NACE, configuration for output type.
    But my Attachment name is always showing as ‘Print Data‘.
    My requirement is to change the attachment name as below.
    Program: SAPFM06P
    Script: Z_SD_PORDER
    Please help on this issue.
    Thanks in advance.
    Regards,
    Kumar

    I didn't find any field with PACKING_LIST in program 'SAPFM06P'.
    If we create the copy of 'SAPFM06P' kindly let me know where I need to change the same..
    in form entry_neu using ent_retco ent_screen.
    the below is the code.
    *   INCLUDE FM06PE02                                                   *
    form entry_neu using ent_retco ent_screen.
       data: l_druvo like t166k-druvo,
             l_nast  like nast,
             l_from_memory,
             l_doc   type meein_purchase_doc_print.
       clear ent_retco.
       if nast-aende eq space.
         l_druvo = '1'.
       else.
         l_druvo = '2'.
       endif.
       call function 'ME_READ_PO_FOR_PRINTING'
            exporting
                 ix_nast        = nast
                 ix_screen      = ent_screen
            importing
                 ex_retco       = ent_retco
                 ex_nast        = l_nast
                 doc            = l_doc
            changing
                 cx_druvo       = l_druvo
                 cx_from_memory = l_from_memory.
       check ent_retco eq 0.
       call function 'ME_PRINT_PO'
            exporting
                 ix_nast        = l_nast
                 ix_druvo       = l_druvo
                 doc            = l_doc
                 ix_screen      = ent_screen
                 ix_from_memory = l_from_memory
                 ix_toa_dara    = toa_dara
                 ix_arc_params  = arc_params
                 ix_fonam       = tnapr-fonam          "HW 214570
            importing
                 ex_retco       = ent_retco.
    endform.
    Kindly give the clear view.

  • Changing PDF Attachment title

    Hi,
    The program is using OPEN_FORM to send out emails as below:
    Create recipient                                                
        swc_create_object lo_recipient 'RECIPIENT' space.             
        swc_set_element lt_container 'TypeID' 'U'.                    
        swc_set_element lt_container 'DocumentHeader' 'Order'.        
        swc_call_method lo_recipient 'CreateAddress' lt_container.    
        swc_object_to_persistent lo_recipient ls_persistent_recipient.
    create sender                                            
        swc_create_object lo_sender 'RECIPIENT' space.         
        swc_set_element lt_container 'AddressString' z_value.  
        swc_set_element lt_container 'TypeID' z_type.          
        swc_call_method lo_sender 'CreateAddress' lt_container.
        swc_object_to_persistent lo_sender ls_persistent_sender.
        call function 'OPEN_FORM'                          
         exporting                                     
              form           = tnapr-fonam             
              language       = nast-spras              
              options        = itcpo                   
              archive_index  = toa_dara                
              archive_params = arc_params              
              device         = xdevice                 
              dialog         = ' '                     
              mail_sender    = ls_persistent_sender    
              mail_recipient = ls_persistent_recipient 
            mail_appl_object =
         exceptions                                    
              others         = 1.                      
    The above code sends out a mail with a PDF attachment whose title is the form name. Instead of the form name, the requirement is to set the title to the document no.
    How to change the title of the PDF attachement in the program?
    Thanks,
    Sita.

    Drag the divider between the album pane and your main window to the right.

  • Oracle Reports - Change Email Attachment Name

    Hello,
    I'm sending salary receipts in PDF via email using Report Server 10g. It's working but i want to change the PDF name, in order to appear the number of employee in the name (something like Receipt_00001.PDF)
    I used to accomplished that in other versions using the DESNAME parameter, but now since its Web and via Reports Server that doesnt work :(
    PROCEDURE EXEC_REPORT_SRV_FILE (WK_REPORT VARCHAR2 /* report name */,
    WK_PROC VARCHAR2 /* process name */,
    wk_file VARCHAR2 /*a parameter value that i use in the command below*/)
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,wk_file);
    Where i call the EXEC_REPORT_SRV_FILE i tested like this below but just for doing this, the emails are no longer sent and it gives me the error in (**)
    I done this because i think it would be in the 3rd parameter, but i was in doubt it could be in the 2nd one but i dont think so..
    exec_report_srv_file (name_in ('PARAMETER.PR_DRIVE_APLIC')
    || name_in ('PARAMETER.PR_DIRECT_APLIC')
    || retorna_barra
    || lower (giaf6i_var_lib.cp_filename),
    'Receipt1'||lower (pname),
    'Receipt2'||wk_dest_file
    Executed successfully but there were some errors when distribute the output REP-50159: Executed successfully but there were some errors when distribute the output
    I'm using Oracle Reports 10g.
    This is so urgent that i joined this forum just for this (For now.. :) )
    Thank you so much in advance for your time.
    Best regards,
    Nuno Neves.

    - What is the difference between the reports that work and the ones that do not work?
    - I would suggest to apply latest patchset 10.1.2.3
    https://updates.oracle.com/download/5983622.html
    Thanks, Roberto

  • Rename or change PDF attachment when submitting via email

    Hi everybody,
    I have successfully created a form using LC 8.2.1 and I am able to submit it by email.
    My only problem is that I want to change or rename the attached PDF file before submitting it as it gets named automatically by the program. And I don't want it to be renamed automatically.
    Is there a way to do this?
    I have managed to customize the email subject and the body, but I'm failing to get the attached file renamed. I use the following code to customize both the email subject and the body:
    Button1.event__click.resolveNode("#submit").target="mailto:[email protected]?subject=Testing Form 2";
    Thank you very much

    Skydiver119 makes a very good point. The built in PDF reader and the iBooks app will not read fillable form fields in a PDF, so you need a third party app for those types of PDF files. I use Adobe Reader for PDf files. It is free, it allows for annotation, you can create folders, highlighting, form fields, adding a signature, renaming, etc. It's a great app and certainly worth a look.

  • Change the attachment name in email via webservice

    Hey,
    is there any chance to change die filename of attacheted files (reports) using email scheduling? There is no option in the webinterface. We are using the webservice for scheduling - call the scheduleReport method.
    There is a tag reportDataFileName for the webservice, but shows no reaction. The file ist every time named attachment.XYZ, where XYZ is the template format. We are using an XML Template for creating XLS reports, but reaching an attachment.xml makes it impossible for direct opening out of the email.
    A second problem is the message for the email, attached as message.txt and not directly written in the email.
    thx for any ideas, Sebastian

    Hi Sebastian
    This article might help you, http://blogs.oracle.com/xmlpublisher/2009/12/dynamic_delivery_file_naming.html
    Tim

  • Change attachment name using mail adapter

    Hi All,
    I have a problem changing the attachment name in my scenario. I use Mail scenario to send a pdf Attachment from R/3 to email address. Everything working fine except the attachment name that becoming untitled.pdf and untitled.txt.
    Communication Channel setting :
    message protocol : xipayload
    transport protocol : smtp
    checked use mail package
    checked keep attachment
    I have use MessageTransformBean in my receiver adapter, but no luck. It was produce an error.
    anyone have an idea to solve my problem?
    thx,
    Robby

    Hi,
    You need to go to the Module tab of the Mail adapter receiver communcation channel and give the parameter as Transform.contentDisposition and its value as attachment ( since you needed the output to be sent as an attachment) and give the name of the attachment as you required.
    Please see the help page : [http://help.sap.com/saphelp_nw04/helpdata/en/57/0b2c4142aef623e10000000a155106/frameset.htm] for more details and more options of the parameters.
    Regards,
    Kalpana.

  • Change e-mail attachment name dynamic in Broadcaster

    Hi,
    I want to send an e-mail to multiple recipient by the setting "e-mail bursting" in broadcaster. Each e-mail has an attachment (pdf-document).
    Is it possible, to change the name of the attachment dynamic, when sending the mail to the different recipients (example:
    recipient 1: recipient1.pdf,
    recipient 2: recipient2.pdf,
    and so on)
    I tried a solution with text variables, but it didn't work.
    Regards,
    Tim Jaschik

    Hi,
    thanks for your fast answer. But my problem is to change the attachment name of the e-mail, not to schedule the e-mail.
    So, is there no possibility to control the process which creates the attachment name?
    Regards,
    Tim

  • Change PO Email Attachment Name

    Hi Guys,
    I've implemented SAP Note 191470 to change the subject line and the attachment name to contain the PO number. I was successful in changing the subject line but not the attachment name. Currently, the attachment name is defaulted by SAP to 'Print data'.
    In the note, it states:
         Note that the values from the mail title are used to create the description for the attachment.
    I've maintained the mail title in the condition record for the output type on the 'Communication method' tab page in the 'Cover Page Text' field but to no avail. I'm probably missing a step.
    I did my due diligence by searching the internet but I haven't found any solution.
    Any help would definitely be appreciated. <removed by moderator>
    Thanks in advance,
    Derick
    Message was edited by: Jürgen L

    Have a look into this  KBA it is listed under FI, but you can try if the same solution would work for you too: 1702035 - How to change the attachment name in the mail for correspondence

  • Changing adobe forms name while saving

    hi,
    i have made an application in which i am generating pdf form but while saving a default name 'f' is appearing which i need to change. I am unable to change pdf form name.
    Plz help.
    thanks

    I have no solution for you but this forum is related to FPM discussions. i am not sure you posted in a right forum.
    requesting moderator to (re)place this to right forum.

  • Acrobat 9: Auto-Populate Subject line with Attachment Name

    Hello,
    I am trying to auto-populate the subject line of an email with the .pdf attachment name. I don't care either way if this functionality is available or not. I just need a difinitive yes or no answer. And, of course, if yes I need to know how to do it. Email client is Outlook 2007.
    Thanks in Advance,
    Matt

    In that case, I don't believe so.
    You could set up in Acrobat a custom menu item or toolbar button that uses the doc.mailDoc JavaScript method, which is able to set the subject line text. The script could get the current file name and set the subject of the email to the same. More information here: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.505.html

  • Change Font Size with PDF attachment  via e--mail

    Hi experts,
    I want to send mail with PDF attachment . Now the attachment is ok but only the font size in PDF is a little small.
    Is that possible to Change the font size of PDF
    Below is my code:
    first the data comes from an internal table, then changed to an ABAP Pool.
    * Create a new spool from the data in gt_data_pdf
      new-page print on
      destination c_local               "<<== my printer
      cover text text-027               "<<== Title or Spool req. name
      list name space
      list dataset space
      immediately space                 " X means print now
      keep in spool c_checked           " X means keep spool
      new list identification c_checked
      line-size 255
      line-count 65
      no dialog .
      loop at gt_data_pdf.
        write: / gt_data_pdf-line.
      endloop.
      new-page print off.
      lv_spoolid = lv_spdel-rqident = sy-spono.
      lv_spdel-sys = sy-sysid.
    *Convert ABAP Spool to PDF
      call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
        exporting
          src_spoolid   = lv_spoolid
          no_dialog     = c_checked
        importing
          pdf_bytecount = lv_pdf_fsize
        tables
          pdf           = lt_pdf_table
        exceptions
          others        = 0.
    call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        exporting
          document_data              = lv_doc_chng
          put_in_outbox              = space
          commit_work                = c_checked
        tables
          packing_list               = lt_objpack
          object_header              = lt_objhead
          contents_bin               = lt_objbin
          contents_txt               = lt_objtxt
          receivers                  = lt_reclist
        exceptions
          too_many_receivers         = 1
          document_not_sent          = 2
          operation_no_authorization = 4
          others                     = 99.
    Anyone could help me?
    Thanks a lot.
    Sincerely
    Julie

    Hi,
    we don´t have many options for setting the font type and size in an ABAP list. One option is that you print the output using either SmartForms or AdobeForms, where you can control font type as well as size. This one requires additional work.
    Another option is to use the instruction Print-Control:
    NEW-PAGE PRINT ON.
    PRINT-CONTROL FONT 1 SIZE 1 LPI 6 CPI 10.
    WRITE: /10   'FONT 1 size 1 LPI 6 cpi 10'.
    SKIP.
    PRINT-CONTROL FONT 1 SIZE 5 LPI 6 CPI 5.
    WRITE: /10   'FONT 1 size 5 LPI 6 cpi 5'.
    SKIP.
    PRINT-CONTROL FONT 2 SIZE 5 LPI 6 CPI 10.
    WRITE: /10   'FONT 2 size 5 LPI 6 cpi 10'.
    SKIP.
    NEW-PAGE PRINT OFF.

  • DeliveryService attachment name is "ReportData", need extension ".pdf"

    Hi All,
    We are using the BI Web Service deliveryService to email reports. We are running the report using runReportand setting the attributeFormat to pdf. We take the results from that and call the deliveryService. We set the contentType to 'application/pdf' and set the documentData to the results of the runReport call. The email comes in fine but the attachment name is "reportData". Is there a way to specify the attachment name (the report name would be great) and more importantly is to append the ".pdf" extension to the name?
    Thank you
    Rudy

    Yahoo probably made a change to their web mail page that conflicts with Safari. Check your Safari preferences in the Security area. Next to Web Content, are Enable Java and Enable JavaScript checked?
    Have you tried using FireFox or Camino, to see if the problem exists in another browser?

  • Change PDF name in

    I have to change the file name  ( sales order ), a pdf sent via va02 Extras/output/header/edit.
    I used the standard program /SMB40/RVADOR01,
    what I have now : in attachement file is like 'SAPLSTXBE /20080102/174052.pdf'
                              in object mail 'SAPLSTXBE /20080102/174052' .
    What can I do for changing those values?
    thanks.

    I have to change the file name  ( sales order ), a pdf sent via va02 Extras/output/header/edit.
    I used the standard program /SMB40/RVADOR01,
    what I have now : in attachement file is like 'SAPLSTXBE /20080102/174052.pdf'
                              in object mail 'SAPLSTXBE /20080102/174052' .
    What can I do for changing those values?
    thanks.

  • How to change the file name of pdf file in html page?

    Hi,
    Actually my requirement is to upload 50 PDF files containing javascript in each file into flex page with the help of one html page.
    i did the the javascript part by using batch processing.
    now i want to call those pdf files one after another without changing the file name in html page
    the code written in html page is
    <html>
        <body>
            <object id="PDFObj"
                    data="http:\\localhost\pdf\20090807 - Batch 630.pdf"
                    type="application/pdf"
                    width="100%"
                    height="100%">
            </object>
            </body>
    </html>
    So every time i have to change that file name to acess another file.
    Is there is any other way to sort this problem????
    Plz anyone help me to sort out this problem with some code or some example.

    I once had a similar task for creating a webpage that I only use on my computer--a webpage that accesses PDF's and SWF's font previews from a list of fonts as "a href's".  What you must do is utilize the power of the command line, whether on a Mac on a PC or on Linux, Linux being the most powerful (although Mac IS Unix).  You must utilize variables, variable replacement, and then a command to print out the results of a "for" or "while" loop to a text file which will be your HTML file with each individual link automatically built into the HTML code.  You will have a list of 50 links.  If you are simply looking for a GOOGLE type functionality where you click on "Next" and "Previous" you will have to dig deeper into variable replacement--this I don't know how to do yet but there are books for command-line shell interpreters.  One shell interpreter is called "bash" (born-again shell) and there is a book on the market which gives a detailed example of how to replace variables in a shell script.  Again, I don't know how it works.  I will try to learn this at a later time when I am more seasoned with the basics of shell scripting.

Maybe you are looking for

  • Combine fields in Import manager

    Dear all, I want to import two related fields to one field in the destinatation. This is linked to a look up table with a combined key. Now I can combine the two input fields and map it to the destination field (two display fileds). However the field

  • BitLocker Drive Encryption Recovery Key

    I have a Dell Optiplex 7010 running Windows 7 Enterprise 64-bit. Intermittently when booting the computer the Windows BitLocker Drive Encryption Recovery Key Entry screen shows up. Most of the time I can power off the computer and then turn it back o

  • Acrobat Pro install fails on OSX Yosemite 10.10.1

    Hi! I have a license for Acrobat Pro XI. When I try to install, the intstallation terminates with Installation failed. Jan 27 16:23:45 installd[929]: PackageKit: ----- Begin install ----- Jan 27 16:23:59 installd[929]: PackageKit: Install Failed: Err

  • Where's the real installation guide?

    After nearly reaching the limit of my patience with Oracle's documentation and the UCM setup process, I'm putting the call out to anyone who's gone through the installation pain already to throw up a step-by-step installation process that works. So f

  • Is there any way i can downgrade this ios version of 7.1.1 to ios 7.0.6?

    i have an ipad 2 wifi and i am not really liking the newest software ios 7.1.1 and i would like to know if i would be able to downgrade to ios 7.0.6 because i was eally happy with the version.