Issue in printing table to PDF format

Hi all,
I am really facing an issue in designing reports. I have to customize the report that i am displaying in the dashboard while printing or sending it as mail.I need to create a multipage report.
I have a table displayed on the dashboard. Now with the help of the print button i can print the table to PDF format. But before printing in need to add some pages to the report like on first page i have a introduction(static) then on second page i have a table of content then after that i need to place the table that is on the dashboard etc.
Could it be possible to modify a report like this or any other alternative?
Thanks a lot.

I found the solution .
I incorporated query,infofield,company logo in report designer and then i imported the report designer into WAD

Similar Messages

  • Print script in pdf format

    Hi all,
    I have a script and i need to print it in pdf format ,right now its printing in orginal or normal .Please let me know what i should do in order to print it in pdf form, i don't want to save it somewhere and then print it,i need to print it directly rather than saving it.
    Any help would be greatly appreciated
    Thanks
    deepthi

    hi,
    can anyone check the code and tell me what iam missing
    I don't want to save the pdf file i want to print it or see it under print preview.
    WAITING FOR REPLIES
    DATA: PDFTAB TYPE TABLE OF TLINE WITH HEADER LINE,
    DATATAB TYPE TABLE OF ITCOO WITH HEADER LINE.
    DATA: BINFILESIZE TYPE I,
    FILE_NAME TYPE STRING,
    FILE_PATH TYPE STRING,
    FULL_PATH TYPE STRING.
    data: begin of itcpp.
            include structure itcpo.
    data: end of itcpp.
    itcpp-tdcopies = 1.
    itcpp-tdimmed  = 'X'.
    itcpp-tddelete = 'X'.
    itcpp-tdnewid  = ' '.
    ITCPP-tddest = 'LP01'.
    ITCPP-tdgetotf = 'X'.
    itcpp-tdpreview = 'X'.
    Call function 'OPEN_FORM'
          exporting
            device                            = 'PRINTER'
            dialog                            = 'X'
           form                              = 'ZZ_PICK_LIST '
            form                              = space
            language                          = sy-langu
            options                           = itcpp.
    call function 'START_FORM'
             exporting
             ARCHIVE_INDEX          =
               form                   = 'ZTEST'
             LANGUAGE               = ' '
             STARTPAGE              = ' '
             PROGRAM                = ' '
             MAIL_APPL_OBJECT       =
           IMPORTING
             LANGUAGE               =
           EXCEPTIONS
             FORM                   = 1
             FORMAT                 = 2
             UNENDED                = 3
             UNOPENED               = 4
             UNUSED                 = 5
             SPOOL_ERROR            = 6
             OTHERS                 = 7
    LOOP AT ITAB.
    call function 'WRITE_FORM'
            exporting
            element                        = 'HEAD'
            function                       = 'SET'
            window                         = 'MAIN'
    ENDLOOP.
    CALL FUNCTION 'CLOSE_FORM'
       IMPORTING
         RESULT                         = itcpp
         RDI_RESULT                     =
       TABLES
          OTFDATA                        = DATATAB[]
        EXCEPTIONS
          UNOPENED                       = 1
          BAD_PAGEFORMAT_FOR_PRINT       = 2
          SEND_ERROR                     = 3
          SPOOL_ERROR                    = 4
          OTHERS                         = 5
       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 'CONVERT_OTF'
       EXPORTING
          FORMAT                      = 'PDF'
          MAX_LINEWIDTH               = 132
         ARCHIVE_INDEX               = ' '
        IMPORTING
          BIN_FILESIZE                = BINFILESIZE
         TABLES
           OTF                         = DATATAB[]
           LINES                       = PDFTAB[]
        EXCEPTIONS
          ERR_MAX_LINEWIDTH           = 1
          ERR_FORMAT                  = 2
          ERR_CONV_NOT_POSSIBLE       = 3
          OTHERS                      = 4
       IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
    *ENDIF.

  • How to print form into pdf format using smart forms in abap

    please let me know how to print form into pdf format using smart forms in abap.
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on Mar 25, 2011 2:04 PM

    Hi ,
    refer this link
    <removed by moderator>
    Regards,
    Dhina..
    Moderator message: please do not reply to questions that violate forum rules.
    Edited by: Thomas Zloch on Mar 25, 2011 2:04 PM

  • How To Generate And Print Reports In PDF Format From EBS With The UTF8 Char

    Hi,
    I want to know How To Generate And Print Reports In PDF Format From EBS With The UTF8 Character Set in R12.0.4.
    Regards

    Refer to Note: 239196.1 - PASTA 3.0 Release Information
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=239196.1
    Or, you can use XML Publisher.
    Note: 551591.1 - Need Latest XML Publisher / BI Publisher Patches For R12
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=551591.1

  • Is there a comparison table between pdf format?

    Is there a comparison table between pdf formats from pdf 1.2 to 1.7?
    What are the new features in every fomat?
    Can anyone point me in the right direction...

    The PDF Reference has very detailed information, on everything in PDF,
    about what release it came from.
    Aandi Inston

  • Formatting Issues When Printing from a PDF

    I am currently using Adobe Acrobat Pro 9 in Windows 7.  I have been printing or saving documnts as PDF's without issues until today.  I have created a document in Microsoft Publisher and have saved it as a PDF.  When I open that document, it appears on screen just as the original file in Publisher.  My issues are when I print from the PDF document.  When I print from the PDF, the formating for footers is not saved.  For example.  I might have a blank page with a page number at the top and a footer containing my company name on the bottom of the page.  When I print that page, the page number is where it is suppose to be, but the footer is moved to right under the page number at the top of the page.   I have been printing PDF from Publisher for years using these same versions of Adobe and Publisher.  Does anyone know why the formatting is not printing correctly?

    Hello John.
    See this article. I hope it helps:
    http://kb.mozillazine.org/Problems_printing_web_pages

  • Unable to Generate Printed Documentation in PDF Format

    This past week I started having a consistent error when attempting to generate a Printed Documentation layout. This error reads "Internal error encountered,  Failed to generate Printed Documentation."  Prior Printed Documentation builds on this same project completed fine. Nothing was done to the Help project between the times when this worked and when it no longer was able to create Printed Documentation.
    I receive this error even if I generate an entirely new "blank project" build, and then attempt to create a Printed Documentation build from this new blank project.  Researching this error, I see this has been a reoccuring problem with this product for some time. The few threads that list the problem as having been "fixed" provide resolution steps that have not worked in my case. Right now I am waiting for our IT Helpdesk people to re-install the Suite. Hopefully this will resolve this problem.
    Additional information on this problem - PDF Printed Documentation is failing - the HTML build works fine. If I select just a .DOC Printed Documentation output, this also works correctly. The resulting Word document looks good, although hyperlinks do not work within this Word document. I have reloaded Office 2003 as a troubleshooting effort, but this has nbot resulted in any change in symptoms.
    The entire error text is enclosed below, although several other people have also done this in past entries. The few lines that read "Warning, and then report a style issue is NOT the problem here. As stated earlier, when I do this same Printed Documentation build on an entirely new "blank project" it does not work, and the Output text in that case does not contain any such "Warnings" about Styles.
    Error text below:
    Starting to build Printed Documentation...
    Printed Documentation processor 8.0.1.204
    Building C:\Documents and Settings\tcleary\My Documents\My RoboHelp Projects\Adobe RoboHelp 8\10515-0366-5004_7800v-hh rsp\!SSL!\Printed_Documentation.doc ...
    Preparing to create Printed Documentation...
    Clearing output folder...
    Preparing files for Print Document...
    Copying files...
    Updating files...
    Finished preparing in 2 seconds.
    Preparing environment...
    Printed Document Generator Environment: Word 11.0.8313,  OS 5.1.2600, RAM 2048 M Bytes
    Building Printed Documentation 'Printed Documentation'...
    Building Single Document 'Printed_Documentation.doc'...
    Building 'RF-7800V-HH About this Help'...
    Building 'Table of Contents'...
    Preparing to build chapters...
    Building 'RF-7800V-HH Help and Support'...
    Processing 'RF-7800V-HH Welcome'...
    Building 'RF-7800V-HH RSP Help'...
    Processing 'RF-7800V-HH Station Information'...
    Building 'RF-7800V-HH Features'...
    Processing 'RF-7800V-HH Features'...
    Processing 'RF-7800V-HH Anc. Connector Mode'...
    Processing 'RF-7800V-HH No-Sync Beeps'...
    Processing 'RF-7800V-HH Power Management'...
    Processing 'RF-7800V-HH Retransmit'...
    Processing 'RF-7800V-HH USB Mode'...
    Processing 'RF-7800V-HH Broadcast Gateway'...
    Processing 'RF-7800V-HH IP Routing'...
    Processing 'RF-7800V-HH Voice Settings'...
    Processing 'RF-7800V-HH Time and Date Settings'...
    Processing 'RF-7800V-HH Position Reporting'...
    Processing 'RF-7800V-HH User Interfaces'...
    Processing 'RF-7800V-HH Net Switches'...
    Processing 'RF-7800V-HH Ethernet Interface'...
    Building 'RF-7800V-HH Global Settings'...
    Processing 'RF-7800V-HH Global Settings'...
    Processing 'RF-7800V-HH Radio Passwords'...
    Processing 'RF-7800V-HH GPS'...
    Processing 'RF-7800V-HH Locksets'...
    Building 'RF-7800V-HH Network Types'...
    Processing 'RF-7800V-HH Network Types'...
    Building 'RF-7800V-HH Fixed Frequency LOS'...
    Processing 'General Information - Fixed Frequency LOS'...
    Processing 'RF-7800V-HH FF Network Information'...
    Processing 'RF-7800V-HH FF Preset'...
    Processing 'RF-7800V-HH FF General'...
    Processing 'RF-7800V-HH FF Comsec'...
    Processing 'RF-7800V-HH FF Data-Voice'...
    Processing 'RF-7800V-HH FF Squelch'...
    Processing 'RF-7800V-HH FF Advanced'...
    Warning: style (p.Heading7) is not defined and will be mapped to 'Normal'.
    Building 'RF-7800V-HH Quicklook'...
    Processing 'General Information - Quicklook'...
    Processing 'Hopset Creation - Quicklook'...
    Processing 'RF-7800V-HH QL Network Information'...
    Processing 'RF-7800V-HH QL Preset'...
    Processing 'RF-7800V-HH QL General'...
    Processing 'RF-7800V-HH QL Comsec'...
    Processing 'RF-7800V-HH QL Data-Voice'...
    Processing 'RF-7800V-HH QL Advanced'...
    Building 'RF-7800V-HH Sample Plans'...
    Processing 'General Information - Sample Plans'...
    Processing 'Simple Fixed and Quicklook Nets'...
    Processing 'Single Fixed and Quicklook Nets'...
    Processing 'RF-7800V-HH Manage Keys'...
    Processing 'RF-7800V-HH Program Radio'...
    Building 'RF-7800V-HH Tech Support'...
    Processing 'RF-7800V-HH Technical Support'...
    Processing 'RF-7800V-HH Radio Firmware Compatibility'...
    Building 'FAQs'...
    Processing 'RF-7800V-HH FAQ Index'...
    Processing 'FAQ 01'...
    Warning: style (span.strong) is not defined and will be removed.
    Warning: style (p.para) is not defined and will be mapped to 'Normal'.
    Processing 'FAQ 02'...
    Processing 'FAQ 03'...
    Processing 'FAQ 04'...
    Processing 'FAQ 05'...
    Processing 'RF-7800V-HH Glossary'...
    Warning: style (p.FM_CellRowHead) is not defined and will be mapped to 'Normal'.
    Warning: style (span.Glossary) is not defined and will be removed.
    Warning: style (p.FM_CellBodyLeft) is not defined and will be mapped to 'Normal'.
    Warning: style (p.FM_GLOSSARY) is not defined and will be mapped to 'Normal'.
    Warning: style (p.FM_Para) is not defined and will be mapped to 'Normal'.
    Completed building chapters...
    Building 'Index'...
    Updating list paragraphs...
    Updating images...
    Updating page numbers...
    Updating page headers...
    Updating Table of Contents...
    Updating Index...
    Saving 'Printed_Documentation.doc'...
    Generating 'Printed_Documentation.pdf'...
    Failed the generate PDF file 'C:\Documents and Settings\tcleary\My Documents\My RoboHelp Projects\Adobe RoboHelp 8\10515-0366-5004_7800v-hh rsp\!SSL!\Printed_Documentation.pdf'...
    Failed to save 'Printed_Documentation.doc'...
    Cleaning up temporary files...
    I am pretty sure nobody will have any fix suggestions that work to solve this problem, but I am making this entry for historical purposes. I will add an entry stating whether the Suite reload resolves this issue.
    Thanks,
    Tim C @ Harris

    If I select ONLY the Word DOC Output format in the Printed Documentation
    setup, the output is created without an error (output text below).  Links do work within
    this Word document (a symptom change since installing patch 8.0.2).
    When I use this Word document to create a PDF (using the Adobe PDF
    printer driver) a PDF is successfully created, however no bookmarks are
    created in the bookmarks panel and none of the links in this PDF work
    (although they are created looking like they will work, i.e., blue
    underlined text).
    Regards,
    Tim
    ------------- Output Text --------------------------
    Starting to build Printed Documentation...
    Printed Documentation processor 8.0.1.204
    Building C:\Documents and Settings\tcleary\My Documents\My RoboHelp Projects\Adobe RoboHelp 8\10515-0366-5004_7800v-hh rsp\!SSL!\Printed_Documentation.doc ...
    Preparing to create Printed Documentation...
    Clearing output folder...
    Preparing files for Print Document...
    Copying files...
    Updating files...
    Finished preparing in 3 seconds.
    Preparing environment...
    Printed Document Generator Environment: Word 11.0.8313,  OS 5.1.2600, RAM 2048 M Bytes
    Building Printed Documentation 'Printed Documentation'...
    Building Single Document 'Printed_Documentation.doc'...
    Building 'RF-7800V-HH About this Help'...
    Building 'Table of Contents'...
    Preparing to build chapters...
    Building 'RF-7800V-HH Help and Support'...
    Processing 'RF-7800V-HH Welcome'...
    Building 'RF-7800V-HH RSP Help'...
    Processing 'RF-7800V-HH Station Information'...
    Building 'RF-7800V-HH Features'...
    Processing 'RF-7800V-HH Features'...
    Processing 'RF-7800V-HH Anc. Connector Mode'...
    Processing 'RF-7800V-HH No-Sync Beeps'...
    Processing 'RF-7800V-HH Power Management'...
    Processing 'RF-7800V-HH Retransmit'...
    Processing 'RF-7800V-HH USB Mode'...
    Processing 'RF-7800V-HH Broadcast Gateway'...
    Processing 'RF-7800V-HH IP Routing'...
    Processing 'RF-7800V-HH Voice Settings'...
    Processing 'RF-7800V-HH Time and Date Settings'...
    Processing 'RF-7800V-HH Position Reporting'...
    Processing 'RF-7800V-HH User Interfaces'...
    Processing 'RF-7800V-HH Net Switches'...
    Processing 'RF-7800V-HH Ethernet Interface'...
    Building 'RF-7800V-HH Global Settings'...
    Processing 'RF-7800V-HH Global Settings'...
    Processing 'RF-7800V-HH Radio Passwords'...
    Processing 'RF-7800V-HH GPS'...
    Processing 'RF-7800V-HH Locksets'...
    Building 'RF-7800V-HH Network Types'...
    Processing 'RF-7800V-HH Network Types'...
    Building 'RF-7800V-HH Fixed Frequency LOS'...
    Processing 'General Information - Fixed Frequency LOS'...
    Processing 'RF-7800V-HH FF Network Information'...
    Processing 'RF-7800V-HH FF Preset'...
    Processing 'RF-7800V-HH FF General'...
    Processing 'RF-7800V-HH FF Comsec'...
    Processing 'RF-7800V-HH FF Data-Voice'...
    Processing 'RF-7800V-HH FF Squelch'...
    Processing 'RF-7800V-HH FF Advanced'...
    Warning: style (p.Heading7) is not defined and will be mapped to 'Normal'.
    Building 'RF-7800V-HH Quicklook'...
    Processing 'General Information - Quicklook'...
    Processing 'Hopset Creation - Quicklook'...
    Processing 'RF-7800V-HH QL Network Information'...
    Processing 'RF-7800V-HH QL Preset'...
    Processing 'RF-7800V-HH QL General'...
    Processing 'RF-7800V-HH QL Comsec'...
    Processing 'RF-7800V-HH QL Data-Voice'...
    Processing 'RF-7800V-HH QL Advanced'...
    Building 'RF-7800V-HH Sample Plans'...
    Processing 'General Information - Sample Plans'...
    Processing 'Simple Fixed and Quicklook Nets'...
    Processing 'Single Fixed and Quicklook Nets'...
    Processing 'RF-7800V-HH Manage Keys'...
    Processing 'RF-7800V-HH Program Radio'...
    Building 'RF-7800V-HH Tech Support'...
    Processing 'RF-7800V-HH Technical Support'...
    Processing 'RF-7800V-HH Radio Firmware Compatibility'...
    Building 'FAQs'...
    Processing 'RF-7800V-HH FAQ Index'...
    Processing 'FAQ 01'...
    Warning: style (span.strong) is not defined and will be removed.
    Warning: style (p.para) is not defined and will be mapped to 'Normal'.
    Processing 'FAQ 02'...
    Processing 'FAQ 03'...
    Processing 'FAQ 04'...
    Processing 'FAQ 05'...
    Building 'RF-7800V-HH Glossary'...
    Warning: style (p.FM_CellRowHead) is not defined and will be mapped to 'Normal'.
    Warning: style (span.Glossary) is not defined and will be removed.
    Warning: style (p.FM_CellBodyLeft) is not defined and will be mapped to 'Normal'.
    Warning: style (p.FM_GLOSSARY) is not defined and will be mapped to 'Normal'.
    Warning: style (p.FM_Para) is not defined and will be mapped to 'Normal'.
    Completed building chapters...
    Building 'Index'...
    Updating list paragraphs...
    Updating images...
    Updating page numbers...
    Updating page headers...
    Updating Table of Contents...
    Updating Index...
    Saving 'Printed_Documentation.doc'...
    Completed building Printed Documentation...
    Preparing output directory...
    Cleaning up temporary files...
    Finished Printed Documentation generation in 5 minutes 36 seconds.
    Building Printed Documentation complete.

  • Print form  in pdf format

    hi,
    i want to print the form i created in sapscript. how to do that? need to save the form into pdf format and then print it.
    please advise.
    thanks.

    Hi
    This is my routine used to generate a pdf file from print, u need only to get the OTF data from CLOSE_FORM fm:
    CALL FUNCTION 'CLOSE_FORM'
             TABLES
                  OTFDATA                  = T_OTF
             EXCEPTIONS
                  UNOPENED                 = 1
                  BAD_PAGEFORMAT_FOR_PRINT = 2
                  SEND_ERROR               = 3
                  SPOOL_ERROR              = 4
                  OTHERS                   = 5.
        IF SY-SUBRC <> 0.
          MESSAGE I208(00) WITH 'Errore chiusura stampa'(A02).
        ELSE.
          PERFORM DOWNLOAD_PDF.
        ENDIF.
    FORM DOWNLOAD_PDF.
      DATA: BIN_FILESIZE TYPE I.
      DATA: T_FILE_PDF     TYPE STANDARD TABLE OF TLINE,
            DOCTAB_ARCHIVE TYPE STANDARD TABLE OF  DOCS.
      DATA: FILE_TABLE     TYPE FILETABLE WITH HEADER LINE.
      DATA: RC          TYPE I,
            USER_ACTION TYPE I.
      DATA: TITLE    TYPE STRING,
            FILENAME TYPE STRING.
      CHECK P_PDF = 'X'.
      CALL FUNCTION 'CONVERT_OTF_2_PDF'
           IMPORTING
                BIN_FILESIZE           = BIN_FILESIZE
           TABLES
                OTF                    = T_OTF
                DOCTAB_ARCHIVE         = DOCTAB_ARCHIVE
                LINES                  = T_FILE_PDF
           EXCEPTIONS
                ERR_CONV_NOT_POSSIBLE  = 1
                ERR_OTF_MC_NOENDMARKER = 2
                OTHERS                 = 3.
      IF SY-SUBRC <> 0.
        MESSAGE I208(00) WITH 'Errore conversione PDF'(A03).
        EXIT.
      ENDIF.
      TITLE = 'Creare File'(T02).
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
         EXPORTING
           WINDOW_TITLE            = TITLE
           DEFAULT_EXTENSION       = '*.pdf'
        CHANGING
          FILE_TABLE              = FILE_TABLE[]
          RC                      = RC
          USER_ACTION             = USER_ACTION
        EXCEPTIONS
          FILE_OPEN_DIALOG_FAILED = 1
          CNTL_ERROR              = 2
          ERROR_NO_GUI            = 3
          OTHERS                  = 4
      IF SY-SUBRC <> 0.
        MESSAGE I208(00) WITH 'Errore creazione PDF'(A04).
        EXIT.
      ELSE.
        IF USER_ACTION = 9. EXIT. ENDIF.
        IF RC = 1.
          READ TABLE FILE_TABLE INDEX 1.
        ENDIF.
      ENDIF.
      MOVE FILE_TABLE-FILENAME TO FILENAME.
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
        EXPORTING
           BIN_FILESIZE            = BIN_FILESIZE
           FILENAME                = FILENAME
           FILETYPE                = 'BIN'
        CHANGING
          DATA_TAB                = T_FILE_PDF
        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
      IF SY-SUBRC <> 0.
        MESSAGE I208(00) WITH 'Errore creazione PDF'(A04).
        EXIT.
      ELSE.
        MESSAGE S208(00) WITH 'File creato con successo'(S01).
      ENDIF.
      CHECK P_OPEN = 'X'.
      CALL FUNCTION 'CALL_BROWSER'
           EXPORTING
                URL                    = FILE_TABLE-FILENAME
           EXCEPTIONS
                FRONTEND_NOT_SUPPORTED = 1
                FRONTEND_ERROR         = 2
                PROG_NOT_FOUND         = 3
                NO_BATCH               = 4
                UNSPECIFIED_ERROR      = 5
                OTHERS                 = 6.
      IF SY-SUBRC <> 0.
        MESSAGE S208(00) WITH 'Impossibile aprire file'(A05).
      ENDIF.
    ENDFORM.                    " DOWNLOAD_PDF
    Max

  • Smart form print preview in PDF format

    Hi ABAP Experts,
    I have 2 requirements
    1) I want to print preview of a smartform in pdf format
    2) I also want to attach a local pdf file to the smartform which is displaying in the pdf print preview format
    or to rephrase:
    I want a pdf attached to a smartform which i want to open in the pdf print preview format.
    Regards,
    Niloufer

    Use following function modules:
    Please see the below code to download a PDF file on to your computer.
    PERFORM F_CONVERT_OTF.
    FORM F_CONVERT_OTF .
    PERFORM F_CALL_SMARTFORM. " Call the smartform to get data in I_OTF_FINAL
    **appending the otf data into the final table & save the pdf file.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          FORMAT                = C_PDF_U      "Value is 'PDF'
        IMPORTING
          BIN_FILESIZE          = L_BIN_FILESIZE         "L_BIN_FILESIZE TYPE I,
        TABLES
          OTF                   = I_OTF_FINAL
          LINES                 = I_PDF_TAB    "It is of type TLINE
        EXCEPTIONS
          ERR_MAX_LINEWIDTH     = 1
          ERR_FORMAT            = 2
          ERR_CONV_NOT_POSSIBLE = 3
          ERR_BAD_OTF           = 4
          OTHERS                = 5.
    * Check if the file is already existing.
      CALL FUNCTION 'TMP_GUI_GET_FILE_EXIST'
        EXPORTING
          FNAME                = L_FILE1   " Path where file is saved
       IMPORTING
         EXIST                = L_RESULT
    *   ISDIR                =
    *   FILESIZE             =
       EXCEPTIONS
         FILEINFO_ERROR       = 1
         OTHERS               = 2
    PERFORM F_GUI_DOWNLOAD USING L_FILE.
    ENDFORM.
    FORM F_GUI_DOWNLOAD  USING P_FILE TYPE STRING.
    CONSTANTS: C_BIN(10)       TYPE C VALUE 'BIN'.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          FILENAME                = P_FILE     "same as L_FILE
          FILETYPE                = C_BIN
          CONFIRM_OVERWRITE       = C_X   "value 'X'
        TABLES
          DATA_TAB                = I_PDF_TAB
        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.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    <removed by moderator>
    Edited by: vishalmurgai58 on Mar 6, 2012 1:43 PM
    Edited by: Thomas Zloch on Mar 6, 2012 - please do not ask for ...

  • Chinese char issue in smartform preview as pdf format

    Hi chinese guy!!
    please help me with chinese char in smartform preview as pdf format
    i created smartform with chinese char and then when executing this smartform by t-code smartforms, it show as simplified chinese char, but when getting JOB_OUTPUT_INFO in order to convert OTF as pdf format, although smartforms performed as pdf format, only chinese char were broken. smartform with english or korean language does not have any issue, only chinese issue now.
    i got into r/3 as logon ZH by SAP GUI english version  and i used adobe acrobat reader chinese simplifed version. r/3 version is ecc60 unicode system***
    please help me,, any chinese guy there?
    1.  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    2.    CONTORL_PARAMETERS-NO_DIALOG = 'X'.
           CONTORL_PARAMETERS-GETOTF = 'X'.
           OUTPUT_OPTIONS-TDNOPREV = 'X'.
           CLEAR JOB_OUTPUT_INFO.
    3.    
    CALL FUNCTION FUNCTION
        EXPORTING
          CONTROL_PARAMETERS = CONTORL_PARAMETERS
          OUTPUT_OPTIONS     = OUTPUT_OPTIONS
        IMPORTING
          JOB_OUTPUT_INFO    = JOB_OUTPUT_INFO
        TABLES
          ITEM               = ITEM
        EXCEPTIONS
          FORMATTING_ERROR   = 1
          INTERNAL_ERROR     = 2
          SEND_ERROR         = 3
          USER_CANCELED      = 4.
      OTF_TAB[] = JOB_OUTPUT_INFO-OTFDATA[].
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          FORMAT                = 'PDF'
        IMPORTING
          BIN_FILESIZE          = PDF_FSIZE
        TABLES
          OTF                   = OTF_TAB
          LINES                 = PDF_TABLE
        EXCEPTIONS
          ERR_MAX_LINEWIDTH     = 1
          ERR_FORMAT            = 2
          ERR_CONV_NOT_POSSIBLE = 3
          OTHERS                = 4.

    hi,
    please see the notes 999712.
    thanks

  • Issue with printing Indesign exported PDF in Chrome

    I have created a file in CS6 and exported it to a two sided PDF. This PDF works when printing from the PDF.
    I have uploaded it as a document link on a website and when clicking on the link it opens in a separate window. If people use Internet Explorer or download the file the PDF and print it it looks perfect.
    If the user is using Google Chrome only a section of the PDF prints at a large size. It looks like it thinks the PDF is an A3 so only prints the bottom left hand corner.
    Things I have already tried - which all have the same issue.
    Creating a brand new InDesign file and exporting reuploaded on the website
    Saving it as a IDML file and exporting and reuploaded on the website
    Had someone else export the file
    Tried printing from google chrome outside the office
    Checked no issues with the website backend
    Checked with the IT company that services our systems.
    Thanks in advance of your help.

    Hi jtrew,
    It sounds as though the issue is specific to Chrome. Please see the following document from Google support: https://support.google.com/chrome/answer/142056?hl=en
    Let us know how it goes.
    Best,
    Sara

  • Printing Problem in PDF format

    HI,
    Apps - 11.5.10.2
    DB-10.0.2.0.4
    OS RHEL 4.6
    Configure printer in OS level
    a.     Download the cups software & Install it.
    b.     Download the printer driver (PPD file) & copy it to /usr/share/cups/model/.
    c.     /etc/init.d/cups restart
    d.     Open browser- localhost:631
    e.     Configure the printer.
    Test the print is Coming or not from OS level.
         Lp -<filename>
    Modify pasta_pdf.cfg for PDF printing
    Check PDF package is available
    Restart Concurrent Processing Server after changes
         Register the printer with Oracle Applications
    a.     Login with System Administrator Responsibility
    b.     Navigation: System Administrator - Install – Printer
    c.     select type accordingly else select PASTA Universal Printer
    We need to Register Printer with the same name which has been derived at the Linux Box Level.
    Navigation: System Administrator-Install-Printer-Driver
    We need to register printer in following steps: Driver -> Styles->Types -> Register
    In order to make use of PDF Printing Directly from a Concurrent Program we need to have
    PASTA_PDF Driver existing in the Oracle Applications.
    Navigation: System Administrator -> Install -> Printer -> Driver
    Driver Name : PASTA_PDF
    User Driver : Pasta PDF Driver
    Description : Pasta driver to print pdf converted to PostScript by 3rd party utility
    Driver Method : Program
    Driver Method Parameters : Spool File
    Program Name : FNDPSTAX
    Arguments:
    pn$PROFILES$.PRINTER-f$PROFILES$.FILENAME–c$PROFILES$.CONC_COPIES-Fpasta_pdf.cfg
    We need to check whether PDF Publisher is exists or not.
    Navigation: System Administrator -> Install ->Printer -> Style
    Check that for the type PASTA Universal Printer Type – PDF Publisher & PASTA_PDF are present.
    Defining and Assigning the Printer at Concurrent Program Level
    Am able to get PDF format print for Standard Report like ACT USERS etc..
    For Custom report am facing Error
    sh: pdftops: command not found
    Pasta: Error: Preprocess failed. Command=pdftops /testAPP/testcomn/admin/out/TEST_rofdbs3/o417217.out /testAPP/testcomn/temp/pasta8982_0.tmp
    Pasta: Error: Preprocess or Print command failed!!!
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 1
    Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. Program exited with status 1.
    Action: Review your concurrent request log file for more detailed information.
    Thanks
    KSV.DBA
    Edited by: KSV.DBA on Dec 6, 2010 11:35 PM

    Hi;
    Please check below notes:
    APP-FND-00500 and lp:Destination Non-Existent [ID 248071.1]
    APP-FND-00500 "Oracle Apps Printing Completed With Warning. No Output To Printer" [ID 759089.1]
    APP-00500 Or APP-FND-00500 Error When Printing A Report [ID 1018291.102]
    APP-FND-00500: AFPPRN ... An Error Occurred In Getting Printer Driver Information [ID 867965.1]
    ARDLGP errors with APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN [ID 1124476.1]
    Error: APP-FND-00500 XML Report Output is not Printed when Used in Request Set with 'Print Together' Option [ID 801419.1]
    Regard
    Helios

  • Problem selecting tray when printing according to PDF format

    When printing a PDF file according to the PDF format the program is not selecting the proper tray for legal size documents.  Everything is printed on letter size paper. 

    You need to tell your printer what tray to use. Reader doesn't tell the printer what tray to use, it is the printer driver. If you are asserting that you have properly set the printer driver to print to a tray while using the Print command in Reader, you will need to tell us what OS? What version of Reader? What printer? What printer driver? How and when you are setting the printer driver info into the Print Dialog box.

  • Dowloading Internal table into pdf formate

    Hi,
      I want to know how to conert an internal table into pdf file  is there any fm avaliable for this  .
    regards,
    zafar

    try this sample code--
    tables:tsp01.
    TYPE-POOLS : vrm.
    DATA : vrm_val TYPE vrm_values,
           wa_vrm  LIKE LINE OF vrm_val,
           g_name  LIKE wa_vrm-text.
    data: w_pdf like table of tline.
    data:
      print_parameters like pri_params,
      valid_flag(1) type c,
      w_spono type tsp01-rqident.
      CLEAR wa_vrm.
      wa_vrm-key  = 'M'.
      wa_vrm-text = 'Mango'.
      APPEND wa_vrm TO vrm_val.
      CLEAR wa_vrm.
      wa_vrm-key  = 'P'.
      wa_vrm-text = 'Pineapple'.
      APPEND wa_vrm TO vrm_val.
      CLEAR wa_vrm.
      wa_vrm-key  = 'A'.
      wa_vrm-text = 'apple'.
      APPEND wa_vrm TO vrm_val.
    call function 'GET_PRINT_PARAMETERS'
    exporting
         no_dialog          = 'X'
         user               = sy-uname
    importing
       out_parameters       = print_parameters
       valid                = valid_flag
    exceptions
       invalid_print_params = 2
       others               = 4.
    if valid_flag = 'X' and sy-subrc = 0.
      new-page print on parameters print_parameters
                          no dialog.
    LOOP AT vrm_val into wa_vrm.             " your internal table
      WRITE :wa_vrm-key.
    ENDLOOP.
    LOOP AT vrm_val into wa_vrm.
      WRITE : wa_vrm-text.
    ENDLOOP.
    new-page print off.
    endif.
    w_spono = sy-spono.
    call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
      exporting
        src_spoolid                    = w_spono
    tables
       pdf                            = w_pdf[]
    if sy-subrc  EQ 0.
    endif.
    call function 'GUI_DOWNLOAD'
      exporting
        filename                        = 'C:\w_pdf.pdf'
       filetype                        = 'BIN'
      tables
        data_tab                        = w_pdf[]
    if sy-subrc EQ 0.
    endif.
    Sumit

  • IPhoto Printing Services from pdf format?

    I created a book in iPhoto 08 but it was deleted accidentally. I have Time Machine, but the the book under Project does not show up at all.
    Fortunately, i have printed out a pdf version. Can I send the pdf to Apple to order the printing of photo book? Thanks.

    a book is just a part of the iPhoto library - not something on its own in any way, just entries in the database that can be found or restored alone - so if you open TM in the dock and go back to when the book was there - select the iPhoto library and click restore (restore to the desktop so you do not overwrite your current library unless you want to totally go back to that library) and then depress the option key and launch iPhoto and select the restored library on the desktop - your book should be there
    Apple does not print form PDFs according to their documentation - you could ask them - http://www.apple.com/support/photoservices/ordering_options/ - or use Google to look for other alternatives
    LN
    Message was edited by: LarryHN

Maybe you are looking for