Email PDF in the spool

How can I send a PDF in the spool as email attachment?

Hello,
Check this,
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8cd6adbb-0301-0010-39ba-938c601d5db9
This is provided by SAP
Vasanth

Similar Messages

  • Smartform how to send invoice as pdf to the spool

    I have a relatively standard invoice smartform. I want to place the output (in case of a certain output type) as a PDF in the spool as a spoolrequest.
    How can i arrange that.
    and second i want to email this request to the emailadress mentioned in the own data of the user whose printing this.
    Can someone help me??
    Regards, Frankl

    Hi,
    Please check below one
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/smartform%2bto%2bmail%2bas%2bpdf%2battachment
    Regards
    Jana

  • How Do I Secure an Emailed PDF to the Recipient's PC?

    Hi All,
    How can an emailed PDF be tied to a recipient's PC so that it can only be viewed on that PC?
    I do not want to use password control or high-end 3rd party systems, e.g. FileOpen, LockLizard, etc.
    I only care about restricting access (viewing), not distribution, editing, renaming, etc.  In fact, I'd prefer that
    the secured PDF could still be edited and resaved by the recipient, just not viewable on another machine.
    Thanks for any help!

    It can't be done without using a Digital Rights Management solution (using a server and expensive software).

  • How do you email pdf from the print screen

    Anyone found a way to email a pdf from the print screen?
    Thanks

    Previous screen of what?   You need to be more specific.

  • How to attach the PDF file in spool to an email?

    Dear friends,
        I need to attach the PDF file generated in the spool (SP01) to email.
    The PDF file is generated from VL02N at the time of Post Goods Issue .
    Thanks,
    Vidya.

    Hi,
    Refer to the link it is explained how to configure the output type to send the email with PDF attachment on saving the Billing Document.. you need to do the same way..
    Email Billing document as PDF Attachment while saving from VF01/02

  • Create Spool from Internal table & converrt the spool to PDF

    Hi All,
    My requirement is take data from a table and find amount specific to each Vendors . So I took all the data into ITAB and do all the calculation. Later after calculation I have to create a spool from this ITAB and this spool have to convert to PDF. Later this PDF have to seend via email.
    To convert the internal table to Spool , I used
    LOOP AT t_summ INTO wa_summ.
        w-amount = wa_summ-remittanceamount.
        CONCATENATE wa_summ-vendorcode
                    wa_summ-controlnum
                    w-amount INTO wa_textdata SEPARATED BY space.
        APPEND wa_textdata TO t_textdata.
      ENDLOOP.
      DESCRIBE TABLE t_textdata .
      w-file_length = syst-tfill * 1022.
      l_doctype = 'LIST'.
      l_layout = 'X_POSTSCRIPT'.
      CONCATENATE ' Listbill Summary Report for' syst-datum INTO
                          l_title SEPARATED BY space.
      l_receiver = syst-uname.
    * Create Spool
      CALL FUNCTION 'RSPO_SR_OPEN'
       EXPORTING
          dest                   = 'LOCL'
    *   LDEST                  =
          layout                 = l_layout
          name                   = 'SUMREP'
    *   SUFFIX1                =
    *   SUFFIX2                =
       copies                 = '1'
    *   PRIO                   =
    *      immediate_print        = ' '
    *   AUTO_DELETE            =
          titleline              = l_title
          receiver               = syst-uname           "
    *      division               = l_pri_params-prabt " abteilung
    *      authority              = l_pri_params-prber           "
    *   POSNAME                =
    *   ACTTIME                =
    *   LIFETIME               = '8'
    *   APPEND                 =
    *   COVERPAGE              =
    *   CODEPAGE               =
          doctype                = l_doctype
    *   ARCHMODE               =
    *   ARCHPARAMS             =
    *   TELELAND               =
    *   TELENUM                =
    *   TELENUME               =
         IMPORTING
          handle                 = l_spool_handle
          spoolid                = w-spoolid
    EXCEPTIONS
       device_missing         = 1
       name_twice             = 2
       no_such_device         = 3
       operation_failed       = 4
       OTHERS                 = 5
                .                                            "#EC DOM_EQUAL
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CALL FUNCTION 'SLVC_C1022_TO_C255'
        EXPORTING
          i_file_length = w-file_length
        TABLES
          it_c1022      = t_textdata
          et_c255       = lt_spool.
      l_length = w-file_length.
      LOOP AT lt_spool INTO ls_spool.
        l_length = l_length - 255.
        IF ( l_length > 0 ).
          l_line_length = 255.
        ELSE.
          l_line_length = l_length + 255.
        ENDIF.
    *   Write contents to spool
        CALL FUNCTION 'RSPO_SR_WRITE'
          EXPORTING
            handle = l_spool_handle
            text   = ls_spool
            length = l_line_length.
      ENDLOOP.
    * Close Spool
      CALL FUNCTION 'RSPO_SR_CLOSE'
        EXPORTING
          handle                 = l_spool_handle
         pages                  = 1
      FINAL                  = 'X'
       EXCEPTIONS
         handle_not_valid       = 1
         operation_failed       = 2
         OTHERS                 = 3
    By this I can see the spool with data in SP02.
    Then to conver to PDF, I used
    CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          src_spoolid                    = w-spoolid
          no_dialog                      = 'X'
          DST_DEVICE                     = 'LOCL'
    *      PDF_DESTINATION                =
        IMPORTING
    *      PDF_BYTECOUNT                  =
    *      PDF_SPOOLID                    =
          list_pagecount                 = list_pagecount
    *      BTC_JOBNAME                    =
    *      BTC_JOBCOUNT                   =
       TABLES
         pdf                            = t_pdf
       EXCEPTIONS
         err_no_abap_spooljob           = 1
         err_no_spooljob                = 2
         err_no_permission              = 3
         err_conv_not_possible          = 4
         err_bad_destdevice             = 5
         user_cancelled                 = 6
         err_spoolerror                 = 7
         err_temseerror                 = 8
         err_btcjob_open_failed         = 9
         err_btcjob_submit_failed       = 10
         err_btcjob_close_failed        = 11
         OTHERS                         = 12
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
        CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
    *   BIN_FILESIZE                    =
          filename                        = 'D:\t\t.pdf'
         filetype                        = 'BIN'
        TABLES
          data_tab                        = t_pdf
    *   FIELDNAMES                      =
       EXCEPTIONS
         file_write_error                = 1
         no_batch                        = 2
         gui_refuse_filetransfer         = 3
         invalid_type                    = 4
         no_authority                    = 5
         unknown_error                   = 6
         header_not_allowed              = 7
         separator_not_allowed           = 8
         filesize_not_allowed            = 9
         header_too_long                 = 10
         dp_error_create                 = 11
         dp_error_send                   = 12
         dp_error_write                  = 13
         unknown_dp_error                = 14
         access_denied                   = 15
         dp_out_of_memory                = 16
         disk_full                       = 17
         dp_timeout                      = 18
         file_not_found                  = 19
         dataprovider_exception          = 20
         control_flush_error             = 21
         OTHERS                          = 22
    But later when I go and open the PDF, I am getting an error saying'Page cannot be open because it dont have any pages'
    Please help me
    Regards,
    Nikhil

    Hi Nikhil,
    <li>If you are still not able to find out the problem. You can an alternative way , which is used for the same purpose.
    <li>Try this way. It creates spool and and same CONVERT_ABAPSPOOLJOB_2_PDF fm is used to convert spool to PDF. It works. Test this test program.
       REPORT ztest_notepad.
       DATA:g_val         TYPE c,
            w_pripar      TYPE pri_params,
            w_arcpar      TYPE arc_params,
            i_pdf         TYPE TABLE OF tline,
            spoolid       LIKE tsp01-rqident,
            l_no_of_bytes TYPE i,
            l_pdf_spoolid LIKE tsp01-rqident,
            l_jobname     LIKE tbtcjob-jobname,
            l_jobcount    LIKE tbtcjob-jobcount.
       DATA:it_t001 TYPE TABLE OF t001 WITH HEADER LINE.
       START-OF-SELECTION.
         SELECT * FROM t001 INTO TABLE it_t001.
         "Read, determine, change spool print parameters and archive parameters
         CALL FUNCTION 'GET_PRINT_PARAMETERS'
           EXPORTING
             in_archive_parameters  = w_arcpar
             in_parameters          = w_pripar
             layout                 = 'X_65_132'
             line_count             = 65
             line_size              = 132
             no_dialog              = 'X'
           IMPORTING
             out_archive_parameters = w_arcpar
             out_parameters         = w_pripar
             valid                  = g_val.
         IF g_val  NE space AND sy-subrc = 0.
           w_pripar-prrel = space.
           w_pripar-primm = space.
           NEW-PAGE PRINT ON  NEW-SECTION PARAMETERS w_pripar ARCHIVE PARAMETERS w_arcpar NO DIALOG.
         ENDIF.
         LOOP AT it_t001.
           WRITE:/ it_t001.
         ENDLOOP.
         NEW-PAGE PRINT OFF.
         CALL FUNCTION 'ABAP4_COMMIT_WORK'.
         spoolid = sy-spono.
         CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
           EXPORTING
             src_spoolid   = spoolid
             no_dialog     = ' '
           IMPORTING
             pdf_bytecount = l_no_of_bytes
             pdf_spoolid   = l_pdf_spoolid
             btc_jobname   = l_jobname
             btc_jobcount  = l_jobcount
           TABLES
             pdf           = i_pdf.
         CALL FUNCTION 'GUI_DOWNLOAD'
           EXPORTING
             filename = 'C:\temp\test.pdf'
             filetype = 'BIN'
           TABLES
             data_tab = i_pdf.
    Thanks
    Venkat.

  • Convert the spool to xls format and email through attachment to the user

    Hi all,
    When I execute a report in background, I get spool. I need to convert the spool to xls format and email through attachment to the user.The xls file should not be saved on local system.
    If I use the Spool Recepient tab in SM37 it mails the spool list as .txt file to the mail receipient. But I need to send it as an .xls file.
    Can any one help me on this

    Did you get the solution? i have the same problem.

  • When I try to forward a PDF file by using the email button on the toolbar, it won't send.

    I cannot always forward a PDF using the email button on the toolbar.  For example, I get a report forwarded to me as a link.  When I open the link, the document opens as a PDF.  I use the email button on the toolbar to forward the document as an attachment.  Outlook pops up as a new message with the attachment.  I finish writing my email and hit the "send" button and I get an error saying the doucment couldn't be sent.  If I close the email and save it as a draft, I can open the draft copy and it will send.  Is there someway to fix this so I can eliminate these extra steps?  This has happened on a computer with Adobe Reader as well as a computer with Adobe Acrobate 9 Standard. 

    teresah7680 wrote:
    the doucment couldn't be sent.
    Is that the exact message that Outlooks gives you?
    Anyway, why don't you just forward the original link to the document, instead of the PDF itself?

  • I am using Numbers app for the ipad and it has been working absolutely fine but now, when I want to email a spreadsheet as a PDF via the 'share and print' option, the file now doesn't appear as an attachment to the recipient. Any ideas please?

    I am using Numbers app for the ipad and it has been working absolutely fine but now, when I want to email a spreadsheet as a PDF via the 'share and print' option, the file now doesn't appear as an attachment to the recipient. Any ideas please?

    Hi mafiose15,
    Thanks for visiting Apple Support Communities.
    Restoring your iPod to factory settings is the best way to try and get it back to working order. You can use the instructions below to restore it:
    How to restore iPod
    Verify that you have an active Internet connection, because you may need to download new versions of the iTunes and iPod Software.
    Download and install the latest version of iTunes if necessary.
    Open iTunes. Connect your iPod to your computer using the USB or FireWire cable that came with your iPod.
    After a few moments, your iPod will appear in the Source panel in iTunes.
    Select your iPod in the Source panel. You will see information about your iPod appear in the Summary tab of the main iTunes window.
    Click Restore.
    If you are using a Mac, you will be asked to enter an administrator’s name and password.
    A progress bar will appear on the computer screen, indicating that stage one of the restore process has begun. When this stage is done, iTunes will present one of two messages with instructions specific to the iPod model you are restoring.
    Disconnect iPod and connect it to iPod Power Adapter (typically applies to older iPod models).
    Leave iPod connected to computer to complete restore (typically applies newer iPod models).
    During stage two of the restore process, the iPod displays an Apple logo as well as a progress bar at the bottom of the display. It is critical that the iPod remain connected to the computer or iPod power adapter during this stage.
    Note: The progress bar may be difficult to see, because the backlight on the iPod display may be off.
    After stage two of the restore process is complete, the iTunes Setup Assistant window will appear. It will ask you to name your iPod and choose your syncing preferences, as it did when you connected your iPod for the first time.
    You can find the instructions in this article:
    Restoring iPod to factory settings
    http://support.apple.com/kb/ht1339
    All the best,
    Jeremy

  • How can I attach multiple filled-form PDFs to the same outgoing email on iPhone/iPad?

    How can I attach multiple filled-form PDFs to the same outgoing email on iPhone/ iPad?

    This isn't supported in the current version of Adobe Reader on iPhone/iPad.
    Shradha

  • Generating a PDF and then Email it from the report server.....

    All,
    This is my first post on this forum and I have the following question.....
    Please note I am not a DB expert nor a reporting expert but I have done my fair share of reporting using Oracle DB with Oracle Reports or Hyperion.
    I have a report that will be posted to the report server that a user can go out and run at there convenience.
    As a side note we have recently migrated our Database from ORACLE 8i to 10G and the report was created using Oracle ReportBuilder 10.1.
    This report was also mimicked by a Oracle package and emailed out through I believe some PL SQL(?). This is a plain text report in the email.
    As I recently did some big changes to the Original report they want this email report to match as well.
    Well After looking at what they want in the email its basically the exact same thing as the version the user would see on the web. This seems like a waste of time for myself to edit this Package (For the email report - plaint text) and to have a oracle report available on the web server not to mention the DB dealing with the PLSQL..
    So I am asking is there a way to set up Oracle reports to mail a generated PDF or a HTML results file out from the reporting server at a specified time?
    If so how is this accomplished?
    I see that in the help file in Report Builder that you can set rwbuilder.conf file with the SMTP server but how do I set the email address and the time to run the report.
    Thanks for all the help,
    Chris

    Hello,
    Maybe I am not understanding something but we have a reporting server where they basically select the report in a drop down web control and they fill in the necessary parameters and then the report is ran.
    The web links refer to report builder and how to email from it. I am in a web environment that they select the report and its ran. Is this web form a standard product with Oracle for reporting?
    I have seen how to do accomplish my task from the command line. Is this another way of accomplishing this task?
    I think what I am also looking for is a confirmation that what I want to do is possible and that someone has accomplished this task before.
    Thanks,
    Chris

  • How can I set the submit button to email only certain pages of the pdf not the entire pdf?

    We have a pdf that is a hundred pages or so where each page is an individual product that the customer can select for purchase. At the end of the pdf is an order form. We want to be able to email just the few pages which are the form as a pdf. The default function of the submit button is to email back the entire pdf. As there any way to just select whcih pages would be submitted?

    The problem is for people not using an email client like Outlook. In the version of Reader my boss was using, you had to save the FDF file to your hard disk and then open your browser to go to your web based email and write an email and attach the file. In the newest version of Reader it will open a browser window and create a draft for you, but he thought it was to much work if people were using older versions of Reader. He was really looking for something straightforward where all they had to do is push a button and it was submitted.

  • Email PDF Form and Sign Entire Submission - Can this lock the form and show the signature?

    Thanks to those who explained how to create a button that allows me to email a form as a PDF rather than XML. It helped me a great deal.
    Now I want to cause our time sheet adjustment form to be emailed from the employee to their supervisor, and have the form-data be read-only, and the employee signature to be obvious to the recipient.
    I've tried checking the Sign Submission check box in the Submit tab of the Button Object window, (where the mailto: tag has been entered.
    I clicked the "Settings..." button on the Submit tab and then, under the "Sign Data and Submit Settings" dialog box I selected "Sign Entire Submission". But this does not lock the data and the resulting PDF form once emailed, shows no sign of a signature.
    I also tried adding a signature field, and clicked on it to add a signature. But once the signature was added, the Button was disabled and I could not submit the form via the mailto: tag.
    Is there a way to signa form with a self-signed signature, and email the entire PDF such that the recipient can see the signature, and that the data are no longer editable?
    Wouldn't that just be ducky...?
    Thanks again,
    -David Bartholomew

    Thanks for your comment. I suppose I need to add a context to my intended usage to explain why I want what I described. I want the signature to be apparent so users can see that a submission was signed. These forms that I am considering will replace a paper form used internally within my organization, to request a time card change. They only need to be signed as a pro-forma requirement.
    If the electronic forms solution is approved by management, I will make a case that since the network is a closed intranet, there is little consequential likelihood that a fellow employee would forge another's time card change request. And since the new form would be submitted through email, there is a further validation that the email will identify the sender's email address. This proposed electronic submission method is certainly as valid as forms where users cut and paste an image of their signature in a document...
    The good news is that since I asked this question, I discovered the samples that came with LCD 8...
    An example can be found in the Live Cycle Interactive Purchase Order sample found at [installdir]\EN\Samples\Purchase Order\Interactive.
    The interactive Purchase Order sample shows how a collection of fields can be defined and then the signature applied only to the data in the collection. The email button is defined as not included in the collection. This way the signature field can be used, and once the document is signed, the email button remains enabled.
    The interactive purchase order sample also demonstrates how a drop down list can be populated by a JavaScript as well as some array handling syntax that I've been looking for.
    I recommend the samples to anyone who, like me, may not have been aware of their relevance.
    Thanks again, this forum is a great resource.
    -David

  • Converting the spool request to PDF format

    Dear All ,
    I am using RSTXPDF4 to convert a spool request to PDF format , when I execute this program by giving the spool number and dstdevic as Local , its giving   the message as " Spool request XXXXX with PDF data created ".
    But the problem is when I open this spool request its printing the Junk characters ..!!!
    What could be the problem ?
    Please give me the solution for this...
    Thanks in advance.

    Hi Prem ,
    I have checked the tranx SCOT there I have  found the following settings..
    Output  Dev Type              USE
    format
    PCL     HPLJIIID     Not Yet Used in Node Maintenance
    PDF     PDF1             Already Used in Node Maintenance
    PS     POST2             Not Yet Used in Node Maintenance
    TXT     ASCIIPRI     Already Used in Node Maintenance
    Is this OK ...or am I need to do any changes in the settings...??
    One more thing when I tries to give this PDF1 Dev type in my RSTXPDF4 input parameters its not taking !!!
    Please help...

  • HT1338 why is it that when emailing a word document or a pdf file the recipient receives an unreadable file from me?

    Question: why is it that when I email either a word document or a pdf file the receipient of my email get these files in an unreadable format i.e. not in word file nor in pdf file formats, and consequently they are unable to open these files and read them? Thank you!
    <Email Edited by Host>

    On what Mac using what verison of OS X?

Maybe you are looking for

  • Drill down in Second grid of planning book

    Dear Team I have created a planning book with two grids. I want to enable drill down in second grid aswell. How can I get it done? Also if I want different chars to be used in drill down for first grid and different for second, will it be possible. I

  • Installing Creative Cloud On A New Computer

    I have Creative Cloud installed on 2 computers. Today one stopped workig forever. How do I install CreativeCloud on its replacement?

  • Automate the download interactive form

    Hi all, I have designed a PDF file in tcode: SFP in order to take into account a table of data .. In the other side of my WEBDYNPRO application i display this table data in an  ALV and what i want is : When the user clik on a button, i want to automa

  • HT201436 Voicemail troubles with my iPhone

    My voicemail on my iPhone 4 is stuck on the display where is says "Greetings, Voicemail Speaker" on the top the bottom says call back and delete but I'm not able to click on ether one of those. I get voicemails but have to check buy calling my phone.

  • IPhone 6 Plus Gold 64 bit on the Edge Plan and Delivery Date?

    After reading a ton of the posts, a lot of people are saying that they are receiving confirmations that their phones are shipping Friday.  I ordered mine 3am CST (that's how long it took the pages to load).  My screen said delivery by Friday the 19th