Output as pdf file

hai all,
          in message determination process for P.O, my output should be in pdf  format.what are all the settings to be done.

Hello Uvaraj,
Please refer the following thread.
Re: PO in PDF Format
Hope this helps.
Regards
Arif Mansuri

Similar Messages

  • How to download the blocked ALV output to PDF file.

    How to download the blocked ALV output to PDF file.
    I am able to download the BLocked ALV output in PDF format,
    but the each bolck in ALV is displaying different pages of PDF.
    In my report I have 4 block in 1 page, I am able to see the output in PDF but in different page.
    How to avoid the Page-break in PDF.
    Thanks,
    Ravi Yasoda.

    hi,
    I believe that your have 4 containers on the screen with individual ALV display. in this case, there is no way to get combined PDF output to my knowledge.
    However you can use Smartform/Sapscript as output which would allow you to display ALV in blocks and also print it in one.
    Regards,
    Nirmal

  • Getting PO number as file name when getting output as pdf file

    Hi Experts,
    Is there any possibility to get PO number into file name (instead of spool number) when getting output as pdf file.
    Since I'm printing POs in batches (as pdf) it is too difficult to find exact PO among all the pdf files.
    If PO number maintained as file name, would be great time saver for me.
    Thanks
    Kamal

    Hi,
    Please check the below link..
    Number ranges for Spool Requests
    hope it may help you
    Kuber

  • Downloading output as pdf file

    hello all,
    i have one doubt...how to download one report's output as PDF file.

    hi,
    chk this.
    FM is CONVERT_OTF.
    CALL FUNCTION "CONVERT_OTF"
    EXPORTING FORMAT = "PDF"
    IMPORTING BIN_FILESIZE = FILE_LEN
    TABLES OTF = OTFDATA
    LINES = PDFDATA
    EXCEPTIONS ERR_MAX_LINEWIDTH = 1
    ERR_FORMAT = 2
    ERR_CONV_NOT_POSSIBLE = 3
    OTHERS = 4.
    also check sample programs
    RSTXPDF4/5.
    rgds
    anver
    pls amrk hlpful asnwers

  • Adobe Forms function module - downloading the xstring output in PDF file

    Hi Guys,
    I'm using Adobe forms and fetching its output in an XSTRING PDF format. How can I download this XSTRING output to a PDF file and store on the local file system?
    I'm using the following approach to getting a PDF output:
    ls_outputparams-getpdf = 'X'.
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        ie_outputparams = ls_outputparams.
    * Get the name of the generated function module
      CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = 'ZADOBEFORM'
        IMPORTING
          e_funcname = lv_fmname.
      IF sy-subrc <> 0.
      ELSE.
    *   Call the Adobe Form function module
        CALL FUNCTION lv_fmname
          EXPORTING
            /1bcdwb/docparams  = ls_docparams
          IMPORTING
            /1bcdwb/formoutput = ls_form_output
          EXCEPTIONS
            usage_error        = 1
            system_error       = 2
            internal_error     = 3.
        IF sy-subrc <> 0.
        ENDIF.
      ENDIF.
    * Close the spool job
    CALL FUNCTION 'FP_JOB_CLOSE'.
    Now, the variable LS_FORM_OUTPUT-PDF contains the PDF output in XSTRING. My question is how can I download this as a PDF file to my local machine.
    Kind Regards,
    Shailesh.

    hi guys,
    im using all FM to download my PDF adobe but in this part :
    ls_spfli-carrid = 'AA'.
    ls_spfli-connid = '0017'.
    APPEND ls_spfli TO it_spfli.
    flag                     = 'X'.
    is_address_type          = '1'.
    is_address_number        = '22515'.
    is_person_number         = '22517'.
    is_country               = 'IN'.
    *&--- Call the generated function module
    CALL FUNCTION '/1BCDWB/SM00000200'
       EXPORTING
    *   /1BCDWB/DOCPARAMS        =
         it_spfli                 = it_spfli
         flag                     = flag
         is_address_type          = is_address_type
         is_address_number        = is_address_number
         is_person_number         = is_person_number
         is_country               = is_country
      IMPORTING
        /1bcdwb/formoutput       = fp_formoutput
      EXCEPTIONS
        usage_error              = 1
        system_error             = 2
        internal_error           = 3
        OTHERS                   = 4
    I have usage_error knowing that the execution of the function module in SE37 pass successfuly and also the execution of the forms .
    in your opinion what can be the problem?
    Kind Regards,

  • Statement of Accounts Output to PDF file format and email to customers

    Hi,
    Would appreciate inputs from contributors on the issues/requirements below.
    I have two requirements regarding the output of Customer Statement Of Accounts (form):
    1. The output is to be in Adobe PDF file format;
    2. The file has to be emailed automatically to customers based on the email address maintained in the Customer Master;
    I envisage that the program would be executed online (on demand) or in the background via scheduled jobs. Due to complexity of the customer's requirements, we will be using a customized program to generate the form.
    I am not familiar with both requirements. Would appreciate contribution on how to set up the above.
    Teck Liang

    Hello,
    In FIBF transaction code, you can configure the same
    SAMPLE_PROCESS_00002840
    If you do not think this is not suffice your requirement, you can take help from ABAPer and create you own function module.
    Refer SAP Note. 836169 how payment advice is being emailed.
    It will emailed in PDF format.
    Once you run F.27 the entries should flow to SOST.
    Regards,
    Ravi

  • PO output type to send a mail  to the user along with PO output as PDF file

    Hi Friends,
    I have one requirement from client.
    Client wants the PO output to be converted to PDF format and sent to User while doing the PO release through e-mail. Can anybody guide me how to Configure a New Output Type and convert the PO output into PDF and send to User through e-mail.
    Thanks
    Nazer

    This can be done with the standard form itself.
    first find out the output type u r using.
    Then goto T-code NACE and then choose EF- purchase order and then select the output type u r using.
    Then goto the 'processing Routines' at the lefe side of the screen.
    There u can find out the output forms for this output typr u r using. Here add 'Simple mail-7' in the list and then give the program name and the smartform or the script u r using.
    We can also give the mail texts for this output form.
    After that goto ME22N and then choose the 'Messages' tab and then click the simple mail and in the 'communication method' kindly provide the mail id for which the PO mail has to be sent.
    And then the mail can be viewed in the inbox of the recipient.
    in this way we can sent the PO mail to the corresponding mail address,.
    I guess this will solve ur issue.
    Thanks and Regards
    Siva
    Edited by: Sivaprakash R on Apr 20, 2009 1:00 PM
    Edited by: Sivaprakash R on Apr 20, 2009 1:00 PM

  • Not able to convert spool output to PDF file properly

    Hi guys,
    i have got spool which contains russian characters which needs to be converted to PDF file.
    Note: ******Assuming user enters only one spool in S_Spool*******
    I am using following code to do this:
    **---- Get Spool ID Details from TSP01
    select * from tsp01 into table i_tsp01 where rqident eq s_spool.
    **---- Sort Table in Ascending order based on Spool Id
    sort i_tsp01 by rqident.
    **---- Get information about Multiple spools
    loop at i_tsp01.
    **---- Get Multiple Spool information
      call function 'RSPO_RETURN_SPOOLJOB'
        exporting
          rqident              = i_tsp01-rqident
        tables
          buffer               = i_spool_table
        exceptions
          no_such_job          = 1
          job_contains_no_data = 2
          selection_empty      = 3
          no_permission        = 4
          can_not_access       = 5
          read_error           = 6
          type_no_match        = 7
          others               = 8.
      if sy-subrc = 0.
      endif.
    **---- Get the Last line index (Number of Lines)
      describe table i_spool_table lines v_lines.
      i_otf[] = i_spool_table[].
    endloop.
    **---- Convert the OTF information to PDF.
    call function 'CONVERT_OTF_2_PDF'
      importing
        bin_filesize           = v_size
      tables
        otf                    = i_otf
        doctab_archive         = i_doc
        lines                  = i_pdf
      exceptions
        err_conv_not_possible  = 1
        err_otf_mc_noendmarker = 2
        others                 = 3.
    if sy-subrc <> 0.
      message i002(sy) with 'Cannot convert to PDF, exiting....'.
      leave program.
    endif.
    DATA: v_numbytes TYPE i.
    DATA : v_return1(128).
      CONCATENATE 'C:\' 'F_spool' '.pdf' INTO v_return1.
      CONDENSE v_return1.
      CALL FUNCTION 'WS_DOWNLOAD'
           EXPORTING
                bin_filesize = v_size
                filename     = v_return1
                filetype     = 'BIN'
             IMPORTING
                  filelength = v_numbytes
             TABLES
                data_tab     = i_pdf
         EXCEPTIONS
           file_open_error               = 1
           file_write_error              = 2
           invalid_filesize              = 3
           invalid_type                  = 4
           no_batch                      = 5
           unknown_error                 = 6
           invalid_table_width           = 7
           gui_refuse_filetransfer       = 8
           customer_error                = 9
           OTHERS                        = 10 .
      IF sy-subrc NE 0.
        EXIT.
      ENDIF.
    i have already tried standard pgm : RSTXPDFT4. But it does not work.
    Suitable answers will be rewarded.
    Thanks,
    GURU

    Hi Guru,
    Use FM 'CONVERT_ABAPSPOOLJOB_2_PDF'.
    Refer this code:
    CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
           EXPORTING
                src_spoolid              = gd_spool_nr
                no_dialog                = c_no
                dst_device               = c_device
           IMPORTING
                pdf_bytecount            = gd_bytecount
           TABLES
                pdf                      = it_pdf_output
           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.
      CHECK sy-subrc = 0.
    Transfer the 132-long strings to 255-long strings
      LOOP AT it_pdf_output.
        TRANSLATE it_pdf_output USING ' ~'.
        CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
      ENDLOOP.
      TRANSLATE gd_buffer USING '~ '.
      DO.
        it_mess_att = gd_buffer.
        APPEND it_mess_att.
        SHIFT gd_buffer LEFT BY 255 PLACES.
        IF gd_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    Regards,
    Hemant

  • How to write XI output to PDF file

    when we were  trying to do simple file to file scenario, I wanted to read a text file and write it in to pdf file format.The pdf file gets created but it show error(not supportd file type or file corrupted).
    Please help me to know whether pdf format is supported by XI file adapter.If yes, then how to convert the default XML ouptut to pdf format.
    Thanks in Advance,
    Regards
    Rashmi

    Hi,
    The following links will help you:
    http://www.devx.com/xml/Article/16430/0/page/2
    http://www.apache.org/dyn/closer.cgi/xml/fop
    Regards,
    Sridhar

  • Convert ALV output to PDF file , DXF and DWG format

    hi,
        How to convert a ALV report to PDF file, DXF and DWG format, I developed a ALV report which has to be converted as per the selections of above formats,
    Reward points for good & with example answers
    Thanks in advance
    RK

    Hello RK,
       Check this link. It has an example code for PDF Conversion.
    http://www.erpgenie.com/abap/code/abap51.htm
    Regards,
    Deepu.k

  • Missing output in PDF file

    When I use Adobe Acrobat X Pro to produce a PDF from my appliation (Family Tree Maker), the output is missing a vertical strip of image on the right hand side. The image displays correctly when viewed in the application. This effect seems to be related to the size of the image, small images convert correctly. Any idea what's going on? Sorry I'm a new user, so inexperienced in the ways of Adobe.
    Thanks in advance

    Application is Family Tree Maker (FTM) on Windows Vista (with full updates)
    Physical printer is an Epson B1100 A3 printer
    With the page size set to A3, FTM displays a family tree on multiple pages
    This prints out on the B1100 on multiple pages successfully
    Adobe Acrobat X Pro
    “Print Setup” in application set to “Adobe PDF”
    This gives a selection of “virtual” page sizes up to 92x92
    I choose the smallest virtual paper size that gives the family tree on one page, say A0
    Then “Print” with printer set to “Adobe PDF” assigning a file name
    Acrobat displays the family tree with “truncated” output.
    If this is sent to the B1100 with “Print Preview”, the truncated image is printed
    Under Edit/Preferences – Show Large Images is ticked
    Many thanks, Phil

  • Running Oracle Reports in unix, output in pdf file

    Hi all,
    Anybody currently running Oracle Reports in unix platform and the output is generated in pdf format & display in browser?
    Can you please advise on what are all the environment variables that I have to set in order to get the report runs?
    Besides, what are the specific printer setting that I have to set? as well as priviledge on directory if necessary.
    My reports are created in PC with RDF format. When run in unix, can the RDF still be used or it has been to recompile? If recompile, how is this done?
    I always get the following error but do not what is the cause:
    REP-0110: Unable to open file 'myreport.rdf'. REP-1070: Error while opening or saving a document. REP-0110: Unable to open file 'myreport.rdf'.
    Please advise.
    Hope to receive your reply asap.
    Great thanks in advance.

    What command did you type in to run your report in Unix? Did you give the full path of your rdf file. I guess that the system may not be find your rdf file correctly.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by guest2000:
    Hi all,
    Anybody currently running Oracle Reports in unix platform and the output is generated in pdf format & display in browser?
    Can you please advise on what are all the environment variables that I have to set in order to get the report runs?
    Besides, what are the specific printer setting that I have to set? as well as priviledge on directory if necessary.
    My reports are created in PC with RDF format. When run in unix, can the RDF still be used or it has been to recompile? If recompile, how is this done?
    I always get the following error but do not what is the cause:
    REP-0110: Unable to open file 'myreport.rdf'. REP-1070: Error while opening or saving a document. REP-0110: Unable to open file 'myreport.rdf'.
    Please advise.
    Hope to receive your reply asap.
    Great thanks in advance.<HR></BLOCKQUOTE>
    null

  • I am using PDF export, but the PDF file output is only available in Landscape.

    I am using PDF export from the file meny, but the PDF page comes out in Landscape even if I have selected Portrait in Layout parameters in the settings meny. Is there a possibility to change theis?

    Hi Karlsek,
    This bug is fixed in DIAdem 10.0, but you can output to PDF file programmatically in DIAdem 9.1 and set the orientation to be explicitly portrait:
    PrintLeftMarg = 0.25
    PrintTopMarg  = 0.5
    PrintWidth    = 8
    PrintOrient   = "portrait"
    Call PicPDFExport("C:\Test Results.pdf")
    Regards,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Unable to generate PDF file from reports

    Hi,
    After running the report when I tried to generate the output to pdf file, I see the number of pages being generated again, I dont see any file being created although it prompts for the file name. Any suggestions
    Thanks in Advance

    I dont see any output pdf file being generated, I have seen in all the folders and when I click the Generate to File option, it prompts me for the file name and the path for the file and then the report runs again on the screen instead of generating the file.
    Thanks in Advance

  • Not possible to open PDF file generated by Report functionality

    Hello,
    we are facing the problem that reports in PDF format deliverd in SharePoint by Duet Enterprise cannot be opened by Adobe Reader. The error we get is the following:
    Adobe Reader could not open "filename.pdf" because it is either not a supported file or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).
    When trying to open it with Internet Explorer the following error message pops up:
    File does not begin with '%PDF-'.
    Does anyone know how to fix this problem?
    Thanks in advance.
    Kind regards
    Sven

    Hi Hi Sven,
    Could you please tell me the type of report you were trying execute? Is it ERP or BW? And ALV or non-ALV?
    We are supporting PDF report output type only for BW reports and for ERP non-AVL reports. For other types PDF format is not supported.
    If you configure PDF for other report types then you will get report output in PDF file in SharePoint server, but you will face above error message while opening the file.
    Regards,
    Binson

Maybe you are looking for

  • EPS files in InDesign CS5/CC

    Why EPS files slow down InDesign CS5 and even  InDesign CC? How to optimize it? Thx

  • Another one with much higher BB usage than normal

    Hi, This is probably going to sound familiar to lots of people, but we also are recording much higher BB usage than normal. We are only on the 10gb package, as our max 512kb broadband doesn't make it worthwhile trying to do much with the www. Our usa

  • Removeing Default applications

    Is there a way to remove the default applications? I know, for example, I will never use YouTube on my phone. Anyone???

  • Is a separate photo-backup necessary when you use the catalogue-backup

    Well, the title says it all. When i back-up the catalogue, i assumed the backup would be mede of al the tags added to photo's. When i check the catalogue-files, i see a whole lot of jpg-files. My actual photo-collection contains jpg-, raw an avi-file

  • VB:  Scheduling a report

    Hi All, I need to be able to add a user/group to a report, change the option to either shortcut or copy, and then schedule the report to the user's/group's inboxes?  Can someone help please..... Private Sub Schedule_Click() On Error GoTo Err_Handler