PDF file Conversion

Hello Friends,
In SAP, SOST Transaction, we can see the pdf document of delivery, but when send to the customers by email, the pdf file doesn't open at customer end.SOST sends this
It gives the file conversion error.
What we can do from developer's perspective to solve this ?
Is this a ABAP issue?
Regards
Prashant

MOVE p_spoolno TO lv_spoolno.
* CONVERT THE SPOOL TO PDF
  CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
    EXPORTING
      src_spoolid                    = lv_spoolno
      no_dialog                      = lc_no_dialog
*     DST_DEVICE                     =
*     PDF_DESTINATION                =
   IMPORTING
     pdf_bytecount                  = lv_bytecount
*     PDF_SPOOLID                    =
*     OTF_PAGECOUNT                  =
*     BTC_JOBNAME                    =
*     BTC_JOBCOUNT                   =
   TABLES
     pdf                            = gt_pdf_output
   EXCEPTIONS
     err_no_otf_spooljob            = 1
     err_no_spooljob                = 2
     err_no_permission              = 3
     err_conv_not_possible          = 4
     err_bad_dstdevice              = 5
     user_cancelled                 = 6
     err_spoolerror                 = 7
     err_temseerror                 = 8
     err_btcjob_open_failed         = 9
     err_btcjob_submit_failed       = 10
     err_btcjob_close_failed        = 11
     OTHERS                         = 12
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ELSE.
* Transfer the 132-long strings to 255-long strings
    LOOP AT gt_pdf_output INTO wa_pdf_output.
      TRANSLATE wa_pdf_output USING ' ~'.
      CONCATENATE v_buffer wa_pdf_output INTO v_buffer.
      MODIFY gt_pdf_output FROM wa_pdf_output.
      CLEAR wa_pdf_output.
    ENDLOOP.
TO CONVERT THE DATA INTO PDF FORMAT ELSE THE PDF FILE*
WON'T OPEN & REPORT WOULD GIVE A MESSAGE THAT*
THE FILE IS DAMAGED & COULD NOT BE OPENED*
TRANSLATE v_buffer USING '~ '.
    CLEAR : wa_messg_att,
            gt_messg_att.
    DO.
      wa_messg_att = v_buffer.
      APPEND wa_messg_att TO gt_messg_att.
      SHIFT v_buffer LEFT BY 255 PLACES.
      IF v_buffer IS INITIAL.
        EXIT.
      ENDIF.
      CLEAR wa_messg_att.
    ENDDO.
  ENDIF.

Similar Messages

  • Help With PDF FILE Conversion

    Hi,
    I’ve been using Flash Professional CS 5.5 to create a “simple presentation” for a project I want funding for, which must be presented in a PDF format. I used CS5.5 thinking that the simple presentation template and the program in general was simple enough to just convert into a PDF, but I guess there are a lot of coding issues that don’t make that easy.
    So what I’m asking for help on is how to convert my presentation (which has no animations...only graphics, texts, and a total of 8 key frames) into a PDF file.
    It appears the closest I’ve gotten to this is to add the jpeg format in the "publishing settings" window (which I can than turn into a PDF file right?), but for some reason the jpeg file is not showing up on my computer (I also cant preview SWF file because it only appears to be accessible when I am using the file during editing).
    thanks for reading!
    Daniel

    Try File -> Export -> Export movie (PNG sequence)
    This should work just fine if you don't have any actionscript in the presentation (AS is ignored).

  • PDF file conversion into XSTRING

    Hi,
    We have a requirement that we are to convert a PDF file into XSTRING.
    My requirement is that i am to upload a file into DMS. So i am to pass the file as a XSTRING to a RFC.
    How can we achieve that??
    Thanks,
    Anumit

    XSTRING is binary type in java.

  • Pdf file conversion with mac

    How do you convert pdf files to excel or word with a mac?

    Hi,
    Have you purchased the subscription of ExportPDF or are you using acrobat to perfom this task??

  • Additional PDF file conversion

    HI All,
    I see that Adobe XI doesn't convert Outlook files (.PST), is there a way to buy bolt/add on's that would allow for the expansion of file types that XI will convert?
    Would you know if there are any other tricks/add ons that Adobe can do with regards to converting files into PDF's?
    Many may thanks indeed,
    Richsarada

    Hi,
    No,Adobe XI does not convert outlook files.
    You can use Adobe PDF 'Plug-In' in outlook to convert.
    Regards,
    Florence

  • Pdf form file conversion

    How can I convert an existing pdf fillable form to MSWord format?  Adobe's standard pdf file conversion service does not accept fillable pdf forms.

    Re: pdf file conversion with fillable fields (forms)
    created by StacySison in Adobe ExportPDF - View the full discussion
    Hi whatsagoodname?,
    You will need to use the formscentral.acrobat.com service. There are
    several great tutorials there as well.
    Let me know how it goes!
    Kind regards, Stacy
    On Friday, July 12, 2013, Genevieve Laroche <[email protected]

  • What does the "conversion error" I get when converting a pdf file to Microsoft word?

    What is the "conversion error" I get when converfting a pdf file to aMicrosoft word?

    Adobe reader with export to PDF
    Sent from my iPhone 5
    Marty Kennedy

  • The online conversion of my pdf file to word did not correctly convert the tables and certain other formatting.  I wish to obtain a refund.

    The online conversion of my pdf file to word did not correctly convert the tables and certain other formatting.  I wish to obtain a refund.

    Hi yammyamm,
    I'm sorry that your conversion didn't work out for you. Please contact Adobe Customer Support via phone or chat, and an agent will be able to process that cancellation/refund for you. Here is the contact information: Contact Customer Care
    Best,
    Sara

  • How do I convert a PDF file to Word when the conversion buttion is light grey, hence unavailable even though I'm signed in?

    I have just signed up.
    I need to convert a PDF file into Word.
    For whatever reason, the button which will select the conversion I want is light grey, hence unavailable.
    I am signed in - I've tried refreshing / starting again.
    Nothing is working.
    VERY FRUSTRATING - I need the document converted ASAP

    There is both phone and chat support at the link I posted earlier:
    But anyway, if you want your money back you need to cancel your subscription: http://helpx.adobe.com/x-productkb/policy-pricing/cancel-subscription-acrobat-online-servi ces.html

  • PPT action buttons are not present in pdf file upon conversion

    Hi
    Am using Office 2003 (SP3) and Acrobat 8 (version 8.1.6).
    Have been using action buttons in the presentations for several years, works fine.
    When converting existing files, action buttons in both PPT show and pdf file just works, no problems.
    Newly generated presentations work fine as PPT show. But when converted to pdf file, the action buttons are simply missing.
    Have verified that all action buttons are "at front", same result.
    Have tried to avoid corporate templates by creating a blank presentation and building a small and simple navigating presentation. Again, works fine as PPT show. And again, upon conversion there are no action buttons present in the pdf file.Corporate changes thereby should be ruled out.
    Have checked all settings (including "Adobe PDF, Change Conversion Settings") between a working and a non-working PPT file, can't identify any differences.
    A colleague helped out (using Acrobat 6), same result. But upon activation of "Adobe PDF, Change Conversion Settings, Restore Defaults", the action buttons worked for him. Tried it with Adobe 8, no such luck.
    Have trialed the "Prep 4 PDF" tool, then the PDF file is complete and the "go to slide" keys appear and work again.
    All new updates available are installed, anyone experienced the same and found a fix for this trouble?

    Have tried both ways, same result.
    When working with new presentations, the pdf file is viewable, but the action buttons are not present.
    When working with past presentations, the action buttons are present and do work as expected.

  • Adobe XI won't open pdf in windows 7; needs file conversion to encode text. need help!

    adobe XI won't open pdf files in windows 7; error msg says it needs file conversion to encode the text. choosing any of the options available still does not open it. please note that the pdf's are attempting to open in WORD. if it needs to open elsewhere, then how to i make adobe open elsewhere every time? thanks!

    thank you mike.  i tried to follow your shared link to unisntall and re-install the software.
    now i can open pdf without any error msg.
    however.. the file context cannot be showned... which is in white screen only.. i tried to close and re-open the file, but still can't view the context correctly. could you please help? thanks.

  • Suddenly can't open pdf file in Word, get a conversion box message

    This just started. Using Word 2002, when I try to open a pdf file all I get is a file conversion box for different systems and languages, none of which open the document. I tried going into the Properties in the file and selecting which program to open it in, but using neither Word or Adobe makes a difference.

    To clarify, I am not using Word to open the pdf files. Those are in My Documents along with Word and Excel files.

  • Pdf pack will not create a pdf from a tiff file    conversion failure    Why

    pdf pack will not create a pdf from a tiff file    conversion failure    Why

    Hi David Turner,
    What is the exact error message which you are facing while converting the file from .tiff  format to PDF format.
    As per my knowledge, PDF Pack supports conversion from .tiff format to PDF Format -Different File formats that Adobe PDF Pack supports.
    Regards,
    Rahul Tyagi

  • Having a problem converting a PDF file to Words with Adobe's conversion program.

    Having a problem converting a PDF file to Words with Adobe's conversion program.

    See https://forums.adobe.com/docs/DOC-2412
    If you need more help, please ask in https://forums.adobe.com/community/acrobatdotcom/

  • I recently subscribed to Adobe ExportPDF and tried to convert a PDF file to MS Word.  So far,  after many tries,  I get soe type of error and the conversion fails.  Please advise?

    I recently subscribed to Adobe ExportPDF and tried to convert a PDF file to MS Word.  So far,  after many tries,  I get soe type of error and the conversion fails.  Please advise?

    Hi there,
    It sounds like there may be an issue with the quality of the PDF. Not all PDFs are created equal, and especially those created from scanned documents can be problematic if the scan quality isn't the best. Is there a dark background on the PDF, or stray marks or smudges?
    You can try converting with OCR disabled at outlined in this document: How to disable Optical Character Recognition (O... | Adobe Community. But, while that's a good test to find out where the problem lies, you'll end up with a Word document that isn't editable, so it's not an optimal solution.
    Please let us know how it goes.
    Best,
    Sara

Maybe you are looking for

  • Blue screen of death ipod

    When I turned on my ipod I got a blue screen of death & then i went through a bunch of information screens thinking it woulld lead me to the end but I hit a brick wall when this screen showed up.... This is the set up:: This is what the screen says o

  • Retention Periods

    Hi, I've read this from the Microsoft support pages: Retention Range for File Data For file data, using the Create New Protection Group Wizard, you can select a retention range between 1 and 64 days for short-term disk-based protection, up to 12 week

  • Scheduling of jobs

    Hi Gurus, I have an issue regarding scheduling of jobs: How can we schedule the jobs based upon the colour and raw material structure. The scenario is , today I have to produce a red colour film (which is a sub assembly for a Parent item) and i have

  • What are the consequences of ServerSession.removeFromIdentityMap()

    We have external processes that update the data in our database. As a result we must invalidate and/or refresh portions of the ServerSession's identity map when these external changes are committed to the database. Given the following situation: A pr

  • WORD DOCUMENT TO XSL FO

    Hi, Can you please let me know is there any free tool available to convert a word document into XSL FO apart from wordproecessingML tool. Thanks.