PDF conversion/generation hangs on software in reports 6i

Hi dear all
I am using reports 6i. I face problem that when I run a report and generate a PDF file from this report then it immediately close reports 6i background engine and hangs on my software application.
Pls advise its solution.
regards
Muhammad Imran

Welcome to the Oracle Forums. Please take a few minutes to review the following:
<ul>
<li>Oracle Forums FAQ
<li>Before posting on this forum please read
<li>10 Commandments for the OTN Forums Member
<li>How to ask questions the smart way
</ul>
Following these simple guidelines will ensure you have a positive experience in any forum; not just this one!
You need the font in every work station to show the barcode.. in 6i environment
Hope this helps
If someone's response is helpful or correct, please mark it accordingly.

Similar Messages

  • Automated report/ PDF conversion with AppleScript

    Hello-
    I am attempting to PDF a spreadsheet from Dropbox, and email it to a set list of recipients with AppleScript.  Much of this I have been able to figure out, but I am having some issues with the PDF conversion.  As you can see below, I am still working on sending the xls file, and have not yet been able to get AppleScript to convert a specific tab of the file to aPDF.  I expect scheduling to be handled theough crontab.
    Current script is as follows:
    tell application "Finder"
              set folderPath to folder "Macintosh HD:Users:user:Dropbox:folder:Calculated PO Sheet"
              set theFile to first file in folderPath as alias
              set fileName to name of theFile
    end tell
    set theSubject to "Current PO Report" date
    set theBody to "See attached."
    set theAddress to "recipient email"
    set theAttachment to "CALCULATED PO SHEET.xlsx"
    set theSender to "sender email"
    tell application "Mail"
              set theNewMessage to make new outgoing message with properties{subject:theSubject, content:theBody & return & return, visible:true}
              tell theNewMessage
                        set visibile to true
                        set sender to theSender
      make new to recipient at end of to recipients with properties {address:theAddress}
                        try
      make new attachment with properties {file name:theAttachment} at after the last word ofthe last paragraph
                                  set message_attachment to 0
                        on error errmess -- oops
      log errmess -- log the error
                                  set message_attachment to 1
                        end try
                        log "message_attachment = " & message_attachment
      #send
              end tell
    end tell

    Hi,
    there is a special setup for this requirement. Please see the following support note
    Reference
    Oracle Reports Output For Indian Languages Like Gujarati, Marathi [ID 980554.1]
    Roberto

  • Smart form: Spool to PDF Conversion more than 100 pages.

    Hi folks,
    I have an issue with Function Module (FM) CONVERT_ABAPSPOOLJOB_2_PDF when the report to be converted has more than 100 pages.....i have explained this scenario as below
    We have been using the FM CONVERT_ABAPSPOOLJOB_2_PDF to convert ABAP report to PDF file and then send this via mail using FM SO_DOCUMENT_SEND_API1.....
    PDF conversion using FM CONVERT_ABAPSPOOLJOB_2_PDF works well if the number of report pages is less than 100....i.e the table pdf of the FM will contain the output as expected.....
    If the report has more than 100 pages, the the FM CONVERT_ABAPSPOOLJOB_2_PDF will schedule the conversion job as a background job and returns with a SY-subrc eq 0 and the table parameter pdf will ne empty.
    Could you suggest me a woorkaround in this situtaion...i.e how do I then get the output of the background job
    And  any process to convert Spool to PDF if having more than 100 pages.
    Thanks in Advance............

    Pb,
    If the report has more than 100 pages, the the FM CONVERT_ABAPSPOOLJOB_2_PDF will schedule the conversion job as a background job and returns with a SY-subrc eq 0 and the table parameter pdf will ne empty
    i would suggest you to if pages are more than 100 than you need to send report output to sp01 with spool request number by using fm job_open..job_close..
    than from sp01 you can convert pdf by running RSTXPDFT4 in se38.
    hope this would solve your problem.
    Amit.

  • HTML to PDF conversion - problems with page-breaks and bookmarks

    Hello,
    My company is currently considering updating your software (from Acrobat 9 Pro to Acrobat XI Pro) and I’ve been assigned to research its features and make sure that it is a right fit for our goals. Basically we want to automate the whole process as much as possible and we want to create PDF directly from HTML. We’re providing a lot of content in HTML and we need a fast way to transfer it into PDF format. There are however some guidelines:
    We want page-breaks in is this kind of documents, and thus - your app needs to be able to interpret HTML and put them where we want to;
    We need to have bookmarks in there. Converter must be able to make them based on headlines from HTML source or afterwards, directly in PDF by using some auto-bookmarks feature;
    There has to be table of content generated, based on HTML Link Tags if possible. Here’s sample of TOC structure that we have currently:
    <A NAME="redirect">sample_text</A>
    <A HREF="#redirect">sample_text</A>
    Of course we can modify HTML in any way you want us to. The important thing for us is to make it work in PDF without the need to make a lot of manual changes after conversion.
    I’ve been messing with Acrobat 9 Pro and reading some documentation that you have provided and I’m convinced that point 3 is not a problem. I’m aware that Acrobat 9 Pro is not having any difficulties with links in document and they work fine in PDF format that has been created from HTML.
    Page-breaks on the other hand are bothering me. Your app is apparently ignoring every HTML code that the Internet is advising me to use to force page-break where I want. Honestly - I’ve tested like ten ways to make them and not even one was working. That’s why I’m asking for your help.
    Another problematic subject for me is the bookmarks creation. I know that they are not a problem if I’m doing DOC to PDF conversion. Then I’m able to decide what header should be used as a curtain level of bookmarks and everything is working great at the end. However - with direct HTML to PDF conversion - I really don’t know how to generate bookmarks that are based on the source of the input document. Is there any way to make fully working 2 level bookmark tree in this case? Here’s an example of the structure we want at the end:
    header1
    header2
    header2
    header1
    header1
    header2
    Could you please help me in finding the solutions? Just like I’ve mentioned - we can modify input HTML in any way, but in the end we would like to achieve our goals as quickly as possible.
    Please excuse my English.
    I am looking forward to your response,
    Lucas

    Frankly - we would like to avoid using Word. We are using it currently but there are long-term plans of improving whole conversion process, eliminate any mid-steps and automate as much as possible even though conversion is not going to be done unattended on a server. Thank you for your response, but I hope that maybe someone else would have any idea?

  • How to send a PDF file as a FAX from Oracle Reports 6i

    Hi
    I want to know how to send a PDF file as a FAX from Oracle Reports 6i. Or please post any sample code in reports that sends PDF document as FAX
    Help need immediately.
    Thanks in advance. my email id is
    [email protected]
    Arun
    null

    hello,
    there is no native support for directly faxing a report. you could e.g. use a fax-software that has a printer-driver that supports this.
    regards,
    the oracle reports team

  • Layout problem in PDF conversion

    Hi all,
    i am downloading spool data using the function module CONVERT_ABAPSPOOLJOB_2_PDF. But i am facing layout problem. e.g. RFBILA00(financial statement generation program) has written balancesheet data to the spool. This spool data has some 6 columns. but CONVERT_ABAPSPOOLJOB_2_PDF is writing only first 3 columns to the generated PDF file. i used 'GET_PRINT_PARAMETERS' function module also with values like layout as 'X_65_132' and 'X_90_120'. but no success. if anybody knows the answer, please let me know.
    Thanks in advance,
    Naveen

    Hi All,
    i am following the below approach to download the information from spool.
    program/spool output is an ALV List output data having 8 columns. but below approach is converting only first 5 columns in to PDF format. other 3 columns are getting truncated.
    FUNCTION /ngl/download_spoolinfo_as_pdf.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(I_SPOOL_REQUEST) LIKE  TSP01-RQIDENT
    *"     REFERENCE(I_FILENAME) LIKE  RLGRAP-FILENAME
    *"  EXCEPTIONS
    *"      DOWNLOAD_ERROR
      TABLES tsp01.
      DATA: mtab_pdf LIKE tline OCCURS 0 WITH HEADER LINE,
            mc_filename LIKE rlgrap-filename.
      DATA: mstr_print_parms LIKE pri_params,
            mc_valid(1) TYPE c,
            mi_bytecount TYPE i.
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          copies                 = '1'
          cover_page             = space
          destination            = 'locl'
          expiration             = '1'
          immediately            = space
          mode                   = space
          new_list_id            = 'X'
          no_dialog              = 'X'
          user                   = sy-uname
          line_size              = 200
          line_count             = 65
         layout                 = 'X_65_200'
          layout                 = 'X_90_120'
          sap_cover_page         = 'X'
        IMPORTING
          out_parameters         = mstr_print_parms
          valid                  = mc_valid
        EXCEPTIONS
          archive_info_not_found = 1
          invalid_print_params   = 2
          invalid_archive_params = 3
          OTHERS                 = 4.
      IF sy-subrc EQ 0.
        CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
          EXPORTING
            src_spoolid              = i_spool_request
            no_dialog                = 'X'
            dst_device               = mstr_print_parms-pdest
          IMPORTING
            pdf_bytecount            = mi_bytecount
          TABLES
            pdf                      = mtab_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 EQ 0.
          mc_filename = i_filename.
          DATA: lv_filename TYPE string.
          lv_filename = i_filename.
          CALL FUNCTION 'GUI_DOWNLOAD'
            EXPORTING
              bin_filesize = mi_bytecount
              filename     = lv_filename
              filetype     = 'BIN'
            TABLES
              data_tab     = mtab_pdf
            EXCEPTIONS
              OTHERS       = 22.
          IF sy-subrc EQ 0.
            WRITE:/ mc_filename, 'CONVERTED TO PDF AND DOWNLOADED'.
          ELSE.
            WRITE:/ 'PROBLEM WITH DOWNLOAD'.
            RAISE download_error.
          ENDIF.
        ELSE.
          WRITE:/ 'PROBLEM WITH PDF CONVERSION'.
          RAISE download_error.
        ENDIF.
      ELSE.
        WRITE:/ 'PROBLEM GETTING PRINT PARAMETERS'.
        RAISE download_error.
      ENDIF.
    ENDFUNCTION.

  • Word to PDF Conversion = Different Color on Paper

    Hello All,
    I created a bunch of forms in Word 2010. Converted them into PDF and made them fillable. On screen Word doc and PDF doc colors look the same, but when I print PDF documents their blue turns intor dark purple. Any suggestions on how to keep colors consistent with the Word doc? I read about software and screen collibration, but I believe that there must be a simplier way to synchronize colors. Again, on screen colors looks the same....  Thank you very much.

    try these links:
    http://www.learningsharepoint.com/2012/10/15/word-to-pdf-conversion-in-sharepoint-2013-via-print-to-pdf/
    https://code.msdn.microsoft.com/office/SharePoint-2013-Convert-1e0578a1
    https://www.linkedin.com/groups/SharePoint-2013-has-another-awesome-4542747.S.175460660
    Please mark as answer if you find it useful else vote for it if it is close to answer..happy sharepointing
    Hi, 
    Thanks for the help.
    Your first link use Office Web Apps to generate a PDF and launch printing action, it's not my use case.
    I wan't generate a PDF near the word document in a document library.
    Your second link is interesting, allow IntranetCall and permission on application service Word Automation but no change.
    I have always :
    "The file could not be converted due to an intermittent error in the system. Please resubmit this file for conversion. If the file fails again with this error message, contact your system administrator" error code 10.
    Help me !!!!
    http://kouilb.wordpress.com

  • IBR - PDF Conversion

    Hi people!
    I am trying to enable the pdf conversion on my Content Server (windows).
    I installed IBR, same admin and computer as the idc instance.
    I installed "PDF Converter" and a distiller engine (afpl ghostcript).
    I also installed a new printer on the computer and configured the provider, the file formats, etc ... on Content Server and IBR.
    When I check a word document in, I have the following error (no pdf generated) :
    (translated from french...)
    Failed to check c:/oracle/ucm/server2/vault/~convert/idc/9/essai~1.pdf.tmp.pdf file
    'PDFOptimization' has not generated the exit file 'c:/oracle/ucm/server2/vault/~convert/idc/9/essai~1.pdf.tmp.pdf'.
    Exception type 'java.lang.Throwable'. [ Details ]
    Stack Trace :
    Failed to check c:/oracle/ucm/server2/vault/~convert/idc/9/essai~1.pdf.tmp.pdf file <br>'PDFOptimization' has not generated the exit file 'c:/oracle/ucm/server2/vault/~convert/idc/9/essai~1.pdf.tmp.pdf'. <br>!syExceptionType,java.lang.Throwable
    java.lang.Throwable
         at intradoc.common.IdcLogWriter.doMessageAppend(Unknown Source)
         at intradoc.common.Log.addMessage(Unknown Source)
         at intradoc.common.Log.errorEx2(Unknown Source)
         at intradoc.common.Log.errorEx(Unknown Source)
         at docrefinery.agent.Logger.logError(Logger.java:138)
         at docrefinery.convert.StepHandler.executeStepByName(StepHandler.java:140)
         at docrefinery.convert.ConversionDriver.processSteps(ConversionDriver.java:231)
         at docrefinery.convert.ConversionDriver.convertDocument(ConversionDriver.java:144)
         at docrefinery.queue.PreConvertedRefineryQueueMonitor.handleCurrentQueueItem(PreConvertedRefineryQueueMonitor.java:204)
         at docrefinery.queue.PreConvertedRefineryQueueMonitor.monitorRefineryPreConverterQueue(PreConvertedRefineryQueueMonitor.java:125)
         at docrefinery.queue.PreConvertedRefineryQueueMonitor$1.run(PreConvertedRefineryQueueMonitor.java:93)
         at java.lang.Thread.run(Thread.java:595)
    Could someone help me ?
    thanks,
    romain.

    Hi!
    I tried that but I got the following errors in the agent log :
    "The step MSOfficeToPostscript did not create a log entry, it may not have set results correctly. Exception type is 'java.lang.Throwable
    Runtime error:java.lang.NullPointerException
    at docrefinery.data.DocumentConversionsSteps.getStepData(DocumentConversionsSteps.java:43)
    at docrefinery.data.ConversionDataManager.getStepData(ConversionDataManager.java:78)
    at docrefinery.convert.StepHandler.executeStepByName(StepHandler.java:81)
    at docrefinery.convert.ConversionDriver.processSteps(ConversionDriver.java:298)
    at docrefinery.convert.ConversionDriver.convertDocument(ConversionDriver.java:144)
    at docrefinery.convert.ConversionDriver.processSubConversion(ConversionDriver.java:165)
    at docrefinery.convert.StepHandler.executeStepByName(StepHandler.java:109)
    at docrefinery.convert.ConversionDriver.processSteps(ConversionDriver.java:231)
    at docrefinery.convert.ConversionDriver.convertDocument(ConversionDriver.java:144)
    at docrefinery.convert.ConversionDriver.processSubConversion(ConversionDriver.java:165)
    at docrefinery.convert.StepHandler.executeStepByName(StepHandler.java:109)
    at docrefinery.convert.ConversionDriver.processSteps(ConversionDriver.java:231)
    at docrefinery.convert.ConversionDriver.convertDocument(ConversionDriver.java:144)
    at docrefinery.queue.PreConvertedRefineryQueueMonitor.handleCurrentQueueItem(PreConvertedRefineryQueueMonitor.java:204)
    at docrefinery.queue.PreConvertedRefineryQueueMonitor.monitorRefineryPreConverterQueue(PreConvertedRefineryQueueMonitor.java:125)
    at docrefinery.queue.PreConvertedRefineryQueueMonitor$1.run(PreConvertedRefineryQueueMonitor.java:93)
    at java.lang.Thread.run(Thread.java:595)
    AND
    "Conversion completed -- Step MSOfficeToPostscript forced conversion failure by conversion engine because of error: 'Unable to convert. Native application reported: '' ActiveX component can't create object'. Exception type is 'java.lang.Throwable'" and the file is not checked in...
    Have you an idea ?
    Here are the steps I followed to enable PDF conversion :
    - Installing component InboundRefinerySupport
    - Installing IBR
    - Configuring Apache
    - Installing PDFConverter.zip
    - Installing ghostscript 8.54
    - Configuring the distiller engine on "Third-Party Application Settings"
    - Installing the printer IDC PDF PRINTER
    - Creating the outgoing provider on idc
    - Configuring the conversion parameter application/msword to Word
    - Configuring the "Primary Web-Viewable Rendition" to "Convert to PDF using third-party applications "
    Maybe, I have forgotten something ...
    Romain.

  • PDF Conversion Truncated

    Hello, I have an issue when performing the Spool to PDF conversion.  I am using FM CONVERT_ABAPSPOOLJOB_2_PDF to convert an ALV list to a PDF file.  When I run my report in the foreground, everything works correctly, the PDF file is attached and then emailed to the appropriate recipient.  When I schedule the job to run in the background, the contents of the attachment that is created is truncated on the right side cutting off half of the report (the font is also larger).  I am out of ideas on how to solve this issue.  Any help would be appreciated.

    Hi,
    Use this code this work for you
    Please reward me if you find this answer is helpful
    *& Report  YSEND_MAIL_ATTACH
    REPORT  ysend_mail_attach  NO STANDARD PAGE HEADING  LINE-COUNT 65(2)
                                              LINE-SIZE 120.
    *TABLES/ DATA DECLARATION
    TABLES: tsp01,
            kna1.
    DATA: int_email_receivers LIKE zelift_user_3 OCCURS 0 WITH HEADER LINE.
    DATA: int_to_receivers TYPE zeinterface_mail-z_email_to OCCURS 0.
    DATA: wa_to_receivers  TYPE zeinterface_mail-z_email_to.
    DATA: int_mailsend TYPE soos1 OCCURS 0 WITH HEADER LINE.
    DATA: printer LIKE pri_params,
          mc_valid(1)      TYPE c,
          p_linsz LIKE sy-linsz VALUE 100,
          p_paart LIKE sy-paart VALUE  'X_65_132',
          mi_rqident       LIKE tsp01-rqident,
          mi_bytecount     TYPE i,
          prg_name LIKE sy-repid,
          user_name LIKE sy-uname,
          mtab_pdf    LIKE tline OCCURS 0 WITH HEADER LINE,
          mc_filename LIKE rlgrap-filename,
          req_no LIKE tsp01_sp0r-rqid_char,
          req_rc LIKE sy-subrc,
          nom_char(20),
          g_drc_diff.
    sending email stuff
    DATA: object_hd_change  TYPE sood1,
          object_type       TYPE sood-objtp,
          objcont           TYPE soli  OCCURS 0 WITH HEADER LINE,
          objhead           TYPE soli  OCCURS 0 WITH HEADER LINE,
          att_cont          TYPE soli  OCCURS 0 WITH HEADER LINE,
          att_head          TYPE soli  OCCURS 0 WITH HEADER LINE,
          packing_list      TYPE soxpl OCCURS 0 WITH HEADER LINE,
          receivers         TYPE soos1 OCCURS 0 WITH HEADER LINE,
         receivers         TYPE somlreci1 OCCURS 0 WITH HEADER LINE,
          free_recc         TYPE soos1 OCCURS 0 WITH HEADER LINE,
          object_id_new     TYPE soodk,
          sent_to_all       TYPE sonv-flag,
          all_binding_done  TYPE sonv-flag,
          office_object_key TYPE swotobjid-objkey,
          originator_id     TYPE soudk,
          objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
          doc_chng LIKE sodocchgi1,
          tab_lines LIKE sy-tabix,
          paylist LIKE bapi7004_rl OCCURS 0 WITH HEADER LINE,
          p_info LIKE  pc407,
          pdf_table LIKE tline OCCURS 0 WITH HEADER LINE,
          pdf_fsize TYPE  i,
          pdf_line(134),
          spoolid    TYPE tsp01-rqident.
    ***data declaration for sending the mail.
    ***data declaration for output display.
    DATA:BEGIN OF int_kna1 OCCURS 0,
         kunnr LIKE kna1-kunnr,
         land1 LIKE kna1-land1,
         name1 LIKE kna1-name1,
         END OF int_kna1.
    PARAMETERS p_kunnr LIKE kna1-kunnr.
    *start-of-selection
    START-OF-SELECTION.
    perform display.
    *pdf conversion.
      PERFORM pdf_conversion.
    END-OF-SELECTION.
          FORM get_spool_number *
          Get the most recent spool created by user/report              *
    -->  F_REPID               *
    -->  F_UNAME               *
    -->  F_RQIDENT             *
    FORM get_spool_number USING f_repid
         f_uname
                    CHANGING f_rqident.
      DATA:
        lc_rq2name LIKE tsp01-rq2name.
      CONCATENATE f_repid+0(9)
                  f_uname+0(3)
        INTO lc_rq2name.
      CONDENSE lc_rq2name.
      SELECT * FROM tsp01 WHERE  rq2name = lc_rq2name
    ORDER BY rqcretime DESCENDING.
        f_rqident = tsp01-rqident.
        EXIT.
      ENDSELECT.
      IF sy-subrc NE 0.
        CLEAR f_rqident.
      ENDIF.
    ENDFORM.                               " get_spool_number
    *---getting the spool created by user/report
    *&      Form  PDF_CONVERSION
          text
    -->  p1        text
    <--  p2        text
    FORM pdf_conversion.
    *-- Setup the Print Parmaters
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
         authority              = space
         copies                 = '1'
         cover_page             = space
         data_set               = space
         department             = space
         destination            = space
         expiration             = '1'
         immediately            = space
         in_archive_parameters  = space
         in_parameters          = space
         layout                 = space
         mode                   = space
         new_list_id            = 'X'
          no_dialog              = 'X'
          user                   = sy-uname
        IMPORTING
          out_parameters         = printer
          valid                  = mc_valid
        EXCEPTIONS
          archive_info_not_found = 1
          invalid_print_params   = 2
          invalid_archive_params = 3
          OTHERS                 = 4.
    *-- Make sure that a printer destination has been set up
    *-- If this is not done the PDF function module ABENDS
      IF printer-pdest = space.
        printer-pdest = 'LOCL'.
      ENDIF.
    *-- Explicitly set line width, and output format so that
    *-- the PDF conversion comes out OK
      printer-linsz = p_linsz.
      printer-linct = sy-linct.
      printer-paart = p_paart.
      printer-prrel = ' '.
      prg_name = 'YSEND_MAIL_ATTACH'.
      user_name = sy-uname.
      SUBMIT yidoc12 TO SAP-SPOOL WITHOUT SPOOL DYNPRO
                       SPOOL PARAMETERS printer
                       WITH p_kunnr = p_kunnr
                       AND RETURN.
      PERFORM get_spool_number USING prg_name user_name
                CHANGING mi_rqident.
      IF sy-subrc = 0.
       IF sendmail = 'X'.
        req_no = mi_rqident.
        PERFORM spool_pdf_conversion.
        PERFORM sendmail.
       ENDIF.
      ENDIF.
      req_no = mi_rqident.
      CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
        EXPORTING
          spoolid       = req_no
       IMPORTING
      RC            = req_rc
         status        = req_rc.
    IF req_rc <> 0.
      IF req_rc = 0.
        LEAVE PROGRAM.
      ENDIF.
    ENDFORM.                    " PDF_CONVERSION
    *****pdf conversion----
    *&      Form  SPOOL_PDF_CONVERSION
          text
    -->  p1        text
    <--  p2        text
    FORM spool_pdf_conversion.
      spoolid = req_no.
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          src_spoolid              = spoolid
          no_dialog                = space
          dst_device               = printer-pdest
        IMPORTING
          pdf_bytecount            = pdf_fsize
        TABLES
          pdf                      = pdf_table
        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.
    ENDFORM.                    " FILE_UPLOAD
    ********converting the spool job to pdf******************************
    *sending the mail as an attachment using the fm
    *&      Form  SENDMAIL
          text
    -->  p1        text
    <--  p2        text
    FORM sendmail.
      DATA : BEGIN OF lt_pdflns OCCURS 0.
              INCLUDE STRUCTURE  solisti1.
      DATA : END OF lt_pdflns.
      DATA: l_ind,
            l_nom_key_o LIKE oijnomi-nomtk.
    General header data.
      MOVE: sy-langu TO object_hd_change-objla,
            'Ext.email' TO object_hd_change-objnam,
            'C' TO object_hd_change-objsns,
            'TXT' TO object_hd_change-file_ext,
            'REQUIRED OUTPUT' TO object_hd_change-objdes.
    Body of the message itself (255).
      MOVE ' REPORT TESTING' TO objcont-line.
      APPEND objcont.
      CONCATENATE 'Time: ' sy-uzeit0(2) ':' sy-uzeit2(2) ':' sy-uzeit+4(2)
                  INTO objcont-line.
      APPEND objcont.
      MOVE: 'RAW' TO object_type.
      LOOP AT pdf_table.
        lt_pdflns = pdf_table.
        APPEND lt_pdflns.
        CLEAR lt_pdflns.
      ENDLOOP.
      CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
        EXPORTING
          line_width_src              = 134
          line_width_dst              = 255
        TABLES
          content_in                  = lt_pdflns
          content_out                 = objbin
        EXCEPTIONS
          err_line_width_src_too_long = 1  "content_out
          err_line_width_dst_too_long = 2
          err_conv_failed             = 3
          OTHERS                      = 4.
    DESCRIBE TABLE objbin LINES tab_lines.
    *get the mail ids for sending the emails.
    Fill email receivers
      IF int_email_receivers[] IS INITIAL.
        CALL FUNCTION 'ZEI_GET_INTERFACE_MAILIDS'
        EXPORTING
          program_name           = 'ZER02230_TSPPRA'
          interface              = 'TS_TMJ_REJ'
          key                    = 'NOMTK'
          value                  = 'FAILURE_RECEIVERS'
          DIRECTION              =
          NOTES                  =
         IMPORTING
          to_mail_recivers       = int_to_receivers
        CC_MAIL_RECIVERS       = int_cc_receivers
         EXCEPTIONS
          no_data_found          = 1
          OTHERS                 = 2
    Appending Email addresses if found.
        IF NOT int_to_receivers[] IS INITIAL.
          LOOP AT int_to_receivers INTO wa_to_receivers.
            MOVE wa_to_receivers TO int_mailsend-recextnam .
            int_mailsend-recesc = 'U'.
            int_mailsend-sndart = 'INT'.
            int_mailsend-sndpri = '1'.
            APPEND int_mailsend.
          ENDLOOP.
        ENDIF.
      ELSE.
        LOOP AT int_email_receivers.
          CONCATENATE   int_email_receivers '@exchange.aramco.com.sa' INTO
               int_mailsend-recextnam.
          int_mailsend-recesc = 'U'.
          int_mailsend-sndart = 'INT'.
          int_mailsend-sndpri = '1'..
          APPEND int_mailsend.
        ENDLOOP.
      ENDIF.
    **************end of the getting emails for sending the mails
      DESCRIBE TABLE objbin LINES tab_lines.
      MOVE: "'X'               TO packing_list-TRANSF_BIN,
             '1'               TO packing_list-head_start,
             '1'               TO packing_list-head_num,
             '1'               TO packing_list-body_start,
             tab_lines         TO packing_list-body_num,
             'RAW'             TO packing_list-objtp,
             'Attachment'      TO packing_list-objnam,
             'PDF' TO packing_list-file_ext.
      packing_list-objlen = tab_lines * 255.
      CONCATENATE 'REPORT TESTING' '--'
         sy-datum4(2) '/' sy-datum6(2) '/' sy-datum+0(4)
         sy-uzeit0(2) ':' sy-uzeit2(2) ':' sy-uzeit+4(2)
      INTO packing_list-objdes.
      APPEND packing_list.
      objhead = 'testing the email for pdf'.
      CALL FUNCTION 'SO_OBJECT_SEND'
        EXPORTING
          object_hd_change           = object_hd_change
          object_type                = object_type
        IMPORTING
          object_id_new              = object_id_new
          sent_to_all                = sent_to_all
          all_binding_done           = all_binding_done
          office_object_key          = office_object_key
          originator_id              = originator_id
        TABLES
          objcont                    = objcont
          objhead                    = objhead
          receivers                  = int_mailsend
          packing_list               = packing_list
          att_cont                   = objbin
          att_head                   = att_head
        EXCEPTIONS
          active_user_not_exist      = 1
          communication_failure      = 2
          component_not_available    = 3
          folder_not_exist           = 4
          folder_no_authorization    = 5
          forwarder_not_exist        = 6
          note_not_exist             = 7
          object_not_exist           = 8
          object_not_sent            = 9
          object_no_authorization    = 10
          object_type_not_exist      = 11
          operation_no_authorization = 12
          owner_not_exist            = 13
          parameter_error            = 14
          substitute_not_active      = 15
          substitute_not_defined     = 16
          system_failure             = 17
          too_much_receivers         = 18
          user_not_exist             = 19
          originator_not_exist       = 20
          x_error                    = 21
          OTHERS                     = 22.
      IF sy-subrc EQ 0.
        COMMIT WORK.
      ELSE.
        MESSAGE i014(ze9) WITH 'Email was not sent to the Recipients'.
      ENDIF.
    ENDFORM.                    " SENDMAIL
    ************sending mail as an attachment
    *for displaying
    form display.
    endform.
    *for displaying

  • I am looking for good pdf conversion program like omni pro 18

    i am looking for good pdf conversion software, like omnipage pro 18 by nuance, it is only supported by windows, what is good?

    What are you trying to convert the pdf to (MS word, text, what)?
    Here's one for word: PDF Converter
    Possibly another way for word: How to Convert PDF to Word Document on a Mac

  • Not able to run Software Version report

    Last week, I ran a Software Version report for Microsoft Office, in order to remove older versions and prepare for the latest updates.
    After getting the report, I went back in and ran the following Unix script:
    rm -r '/applications/microsoft office x'
    as root to remove the directory.
    Now I am not able to run a Software Version report on Microsoft Word. I am able to run a report on any other application, including PowerPoint.
    When I attempt to run a version report on Word, it hangs up on one computer collecting report data. I have removed that computer from the list, but it still hangs. Eventually, all the computers are taken offline in ARD, and I have to restart ARD to restore the connections.
    I have restarted one of the computers, but still cannot run the report on Word.
    Administration computer:
    ARD 2.2 (7C31)
    15" 1 GHz PowerBook G4
    Mac OS X 10.4.6
    512 MB RAM
    Any suggestions?

    When all the clients go offline like that, it generally indicates that the ARDAgent.app on the admin machine has crashed. Did you get any crash logs in /Library/Logs/CrashReporter?
    Your statement "I ran the following Unix script: rm -r '/applications/microsoft office x'" is a bit unclear. You did a send UNIX command to the clients? I'd be surprised if that actually worked because the file system is case sensitive. In order for that to do what you wanted, it would have needed to read rm -r '/Applications/Microsoft Office X'. But regardless of whether or not it worked, it should not have affected your ability to run the report.
    Did you re-run the report with the "Generate new data" checkbox (I think that's what it reads) set?

  • Mars / PDF conversion

    Mars is a great new format, but in the short term most people
    will still be PDF focused. What conversion methods can we expect
    from Adobe?
    My best case scenario would be a dll that takes one format
    and spits out the other. I realize that solution is somewhat
    unlikely. How do you see a Mars to PDF conversion happening given
    that the customer doesn't have Acrobat writer installed?

    Hi,
    Sorry for the delay in responding. At the moment, our work in
    centered on getting Acrobat to correctly generate and consume Mars.
    However, we would certainly like to look at server generation in
    the future, perhaps through PDF Library support.
    Matthew

  • Ipod touch 1st generation w/ upgraded software

    I have an ipod touch 1st generation w/ upgraded software.  I bought the game Angry birds to play, but when I click on the icon, it turns black as though the game is going to load, but it doesn't instead it goes back to original screen.  Any suggestions???

    - Try resetting the iPOd.  Nothing will be lost:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Next try deleting the app and redownloading/installing the app.

  • 1st generation ipod touch Software issue

    I have a 1st generation ipod touch (software version 3.13). When I attempt to update the software, it says that the software is up to date.  Can I manually force an update or is there something else I can do?

    Nope. 3.1.3 is the highest possible for a 1st gen.
    Stedman

  • Software Update reports bundled apps cannot be updated because they are associated with a different Apple ID

    New MacBook Pro 15" Retina arrived today.
    Software Update reports that updates are available for iPhoto and iMovie, bundled with purchase.
    However, when UPDATE is selected, the error message
    "You have updates available for other accounts.
    To update this application, sign in to the account you used to purchase it."
    I am the initial user and have no other account.

    Any chance you had a different Apple ID with an earlier Mac and then it got migrated to your new MBP?
    When you registered new MBP did you use the same Apple ID?

Maybe you are looking for

  • Skype Account Hacked. Which is the after procedure...

    Unfortunatly my account at Skype has been hacked so i was obliged at first to create a new one. But my main concern is to deactivate my old-one hacked account as at this account there is my initial list of my contacts. I 've tried to find at Skype si

  • MM Account Determination error: OM174.

    When trying to create automatic account determination for a new plant and new material category, I got the message # OM174.   I don't know how to fix this.  The other parameters are: Plant: TR01 Company Code: 1000 Chart of Accounts:  INT Valuation Ar

  • Help using simple viewer via iphoto

    hi, im gona use simpleviewer to show pics on my website. so i downloaded the plugin and then im suposed to put the folder in the iPhoto Export plugin directory. Where is that? cant find it.. it says its gona be under library->application support-> iP

  • Import frame file pulls in blank images

    When I import a frame file into RoboHelp, all images are blank. Source files are all on my workstation. I tried installing the TifLZWSetup but to no avail. The images coming from Frame into RoboHelp are still blank. If I save the .tif image in an unc

  • Search In Google?

    I used to use the "Search in Google" Command - After selecting some text and Control-Click you could choose "Search in Google". Now, it is grayed out... Did I change a setting somewhere? or did something else affect this? Any help would be appreciate