No text displayed in PDF Document

Hi @all,
I want to download a PDF-Form to my local machine.
Approach:
- CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
- CALL FUNCTION 'FP_JOB_OPEN'
- CALL FUNCTION h_funcname
- CALL FUNCTION 'FP_JOB_CLOSE'
- CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
- CALL METHOD cl_gui_frontend_services=>gui_download
I just inserted a static text in the PDF Document (Font: ARIAL).
Adobe Document Designer shows this text on the preview tab but
the downloaded PDF Document is empty.
Only the graphical elements like circles are displayed but no text.
System-Details:
SAP ERP Central Component 5.0
Release 640 Non-Unicode
Adobe Designer Version 6.0
Do you have any ideas?
I just found the note 715599 but this refers to UNICODE Systems.
Thanks.

Hi,
thanks for you answer.
But the document only describes the conversion of SAP Script into PDF file.
The OTF output of the SAP Script is converted to PDF by using the function module CONVERT_OTF.
Do I have any other possibilities to access and download the PDF Document without using SAP Script?
I already created the PDF Interface and PDF Form by using the "Form Builder" (Transaction SFP).
My program shall access and download this Form.
This works almost but all of the text information is obviously lost. All of the graphical information is displayed in the downloaded document.
Thank you for you help.
Christian Nitschka

Similar Messages

  • How to display a PDF document in popup window

    Hi,
    I have a requirement where i need to display a PDF document to be obtained from a virtual repository and then display it on a popup window.
    Thanks
    DS
    PS: any code snippet or link explaining the above will be helpful

    Use should the ShowProperty servlet in a link or javascript, e.g.:
    <a href="/mywebapp/ShowProperty/path/to/pdf/node
    target="someOtherWindow">pdf</a>
    pdf
    Or, with dyamic node retrieveal (from search or contentSelector,
    assuming node is the pdf Node):
    <a href="/mywebapp/ShowProperty<cm:getProperty node='<%=node%>'
       name='cm_path' conversionType='url'/>
    target="someOtherWindow">pdf</a>
    <a href="javascript:window.open(
       '/mywebapp/ShowProperty<cm:getProperty node=<%=node%">"
    name="cm_path" conversionType="url"/>',
    'SomeOtherWindow',
    'height=400,width=400,scrollbars=auto,resizeable=yes');return false;">
    pdf</a>
    Greg
    Sanjay Datta wrote:
    Hi,
    I have a requirement where i need to display a PDF document to be obtained from a virtual repository and then display it on a popup window.
    Thanks
    DS
    PS: any code snippet or link explaining the above will be helpful

  • How can I copy text from a PDF document in bb pbk?

    I've tried to copy a text from a PDF document but adobe reader doesn't give me that option. How can I do it? or there is a better reader for PDF that allows to copy, make bookmarks, to highlights?

    If the PDF is not an IMAGE, you can using a free program called PDF-XChange Viewer from Tracker Software. If the PDF was done as an image then you will not be able to select the text.
    Bold 9000 on Rogers Network - Company BES
    Playbook 16G WiFi Only

  • How do i disable copy and paste so a reader can not copy text from my pdf document?

    how do i disable copy and paste so a reader can not copy text from my pdf document? i have gone into my security preferences but can not find out how to change the settings so i can disable the copying option.

    See http://www.adobe.com/content/dam/Adobe/en/products/acrobat/pdfs/adobe-acrobat-xi-protect-p df-file-with-permissions-tutorial-ue.pdf

  • Inserting text to Acrobat PDF document, not able to create PDEText.

    Hi ,
    I have created a plugin for Acrobat, On press of MyPlugin's 'Insert' button it has to add the text to the document.
    Eg: If there is a Active PDF document, which contains a text "Hello" in it. I want to insert "World" (i.e, the document should have "Hello World") when i click 'Insert' button.
    I am writing the below function for this:
    static void InsertCitationText(PDDoc activePDDoc,PDPage pdPage , int pgNum , int pgOffset)
          PDEContent volatile pdecontent = NULL;
          PDPage pdPage = PDDocAcquirePage (activePDDoc, pgNum);
          pdecontent = PDPageAcquirePDEContent (pdPage, gExtensionID);
        Here I have to create PDEText pdeText and assign "World" to it. How do i do this??
         I tried to do this in TextCreate function by looking into the sample plugin snippets but its not creating the text , when i debug and see the value value of 'pdeText' its giving,  "pdeText not found".
               PDEText pdeText = TextCreate();
          PDEContentAddElem(pdecontent, kPDEAfterLast, (reinterpret_cast<PDEElement>(pdeText)));
          /* Put the contents back in the page */
          PDPageSetPDEContent(pdPage, gExtensionID);
          /* Clean up */
          PDPageReleasePDEContent(pdPage, gExtensionID);
    static PDEText TextCreate()
                PDSysFont sysFont=NULL; /* Used by PDEFont creation */
                PDEFont pdeFont=NULL; /* Reference to a font used on a page */
                PDEFontAttrs pdeFontAttrs; /* Font attributes */
                ASFixedMatrix textMatrix; /* Transformation matrix for text */
                PDEColorSpace pdeColorSpace; /* ColorSpace */
                PDEGraphicState gState; /* Graphic state to apply to operation */
                // Create a PDEText object
                PDEText pdeText = PDETextCreate();
                // Text to write to the PDF
                char *Title = "World";
                // Get system font
                sysFont = PDFindSysFont(&pdeFontAttrs, sizeof(PDEFontAttrs), 0);
                // Initialize the font descriptor then create the font reference.
                memset(&pdeFontAttrs, 0, sizeof(pdeFontAttrs));
                // Find the matching system font.
                pdeFontAttrs.name = ASAtomFromString("Verdana");
                pdeFontAttrs.type = ASAtomFromString("Type1");
                //Get system font
                sysFont = PDFindSysFont(&pdeFontAttrs,sizeof(pdeFontAttrs),0);
                pdeFont = PDEFontCreateFromSysFont(sysFont, kPDEFontDoNotEmbed);
                // Create a DEGraphicState object and set its attributes
    pdeColorSpace = PDEColorSpaceCreateFromName(ASAtomFromString("DeviceGray"));
                memset(&gState, 0, sizeof(PDEGraphicState));
    gState.strokeColorSpec.space = gState.fillColorSpec.space = pdeColorSpace;
                gState.miterLimit = fixedTen;
                gState.flatness = fixedOne;
                gState.lineWidth = fixedOne;
                // Create an ASFixedMatrix object
                memset(&textMatrix, 0, sizeof(textMatrix));
                textMatrix.a = Int16ToFixed(24);
                textMatrix.d = Int16ToFixed(24);
                textMatrix.h = Int16ToFixed(1*72);
                textMatrix.v = Int16ToFixed(2*72);
                //Create a PDEText Object
                pdeText =  PDETextCreate();
    PDETextAdd (pdeText, kPDETextRun, 0,(ASUns8 *)Title, strlen(Title), pdeFont, &gState,
                sizeof(gState), NULL, 0, &textMatrix, NULL);
                PDERelease ((PDEObject) pdeColorSpace);
                PDERelease ((PDEObject) pdeFont);
                return pdeText;
    Is there anyway i can add the "World" (as PDEElement) to document so that i can use in this function "PDEContentAddElem(pdecontent, kPDEAfterLast, (reinterpret_cast<PDEElement>(pdeText)));"  ???
    Or
    Should i use the above 'TextCreate()' huge function to create PDEText(PDEElement). If i have to use this method why the PDEText is not getting created? Am i missing something in the above function ??
    Please someone help me out, Thanks in advance.
    Regards,
    Chetan.

    Hi Irosenth,
    I will give a try for this, we must try to certain extent who knows we may Succeed. We must noe give-up easily.
    You have not said this is impossible, but you say this is difficult. Rite ??
    If you give me support, i dont think it would be difficult.
    First i will try to insert a text in a blank page.This is possible rite ??
    I saw a discussion in this forum, http://forums.adobe.com/message/2092443#2092443 , this is 2 years old. This guy has inserted the text into PDF document.
    I refered this link and try to insert a text in Active PDF document but text is not getting inserted into it.
    Please let me know what i am making wrong in the below function,
    static void InsertCitationText(PDDoc activePDDoc, int pgNum , int pgOffset)
          PDEContent volatile pdecontent = NULL;
          PDPage pdPage = PDDocAcquirePage (activePDDoc, pgNum);
          pdecontent = PDPageAcquirePDEContent (pdPage, gExtensionID);
          PDEText pdeText = TextCreate();
          PDEContentAddElem(pdecontent, kPDEAfterLast, (reinterpret_cast<PDEElement>(pdeText)));
          /* Put the contents back in the page */
          PDPageSetPDEContent(pdPage, gExtensionID);
          /* Clean up */
          PDPageReleasePDEContent(pdPage, gExtensionID);
    TextCreate() function is same as the one which i mentioned in this discussion. Please let me what i am making wrong in that function aswell. Its not creating the specified "World" pdeText. Please help me out for this. Thanks in advance.
    Regards,
    Chetan.

  • Insert Text in a PDF Document

    I am trying to edit text (insert text) in a pdf document using Adobe 9 Pro.  When I click on Advanced Editing, touch up text tool.  I select a box around the text and begin to type, nothing appears the cursor moves but nothing is typed.  I need immediate help .

    Editing text and Adding text require different tools.
    The Touch up text tool would be used to modify; add, modify or delete within a line of existing text.
    To add text to an open area, the Typewriter tool would be necessary.
    Don't expect full editing abilities.

  • Display word/pdf document in the HTML region or report

    Hi,
    How to display blob content stored in a table in HTML region or report region.
    I already have a process to display the image content.
    But my question here is how to display word/pdf document within the html region so that the user can read the document without downloading it.
    Any suggestions/solutions would be of great help.
    Thanks in advance...
    Thanks,
    Ramesh P.

    I was dead wrong.
    The display of images from BLOB is a special case because APEX provides a Display Image item type.
    Moreover, HTP/HTF packages also do not provide for handling of BLOB content. So AJAX cannot be used.
    Which implies that the only way to get binary content, other than images, is with the use of a WPG_DOCLOAD.DOWNLOAD_FILE call.
    This in turn implies that it may not be feasible to "inject" the BLOB into an exist HTML DOM in the Browser.
    Regards,

  • Display a PDF Document from a standard transacction

    Hi.
    I need to display a PDF document located in a server outside SAP. The idea is to implement a menu exit and add a new button to a standard transaction. When the user press the new button a PDF document must be displayed.
    I want to know if this solution is possible and if you know any function in SAP to display a PDF document.
    Thanks.
    Diana.

    hi,
    chk out this link..here you can find various ways in displaying PDF..
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=how%20to%20display%20pdf&cat=sdn_all
    thanks
    jaideep
    *reward points if useful..

  • Select RTF Data and display in PDF Document

    Hi all,
    I have a simple table:
    CONTENT_ID - NUMBER
    CONTENT - VARCHAR2(4000)
    On top of this table I have a form that allows the user to enter / update data. The 'CONTENT' field is a Rich Text Editor (ApEx 4.0 - CKEditor 3). This allows the user to enter and format their text as they require.
    I need to be able to select this data and display it in a PDF Document (via BI Publisher).
    I therefore have a simple query
    select content from content_table where content_id = 1;and a simple template that processes the resulting xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <ROWSET>
       <ROW>
          <CONTENT>& lt;h2& gt;
         This is a heading& lt;/h2& gt;
    & lt;p& gt;
         This is the text& lt;/p& gt;
    </CONTENT>
       </ROW>
    </ROWSET>(There is not really a space between the & and 'lt' etc but I had to add this to get it to display correctly here).
    Where I run this past my template I get a PDF with:
    <h2>
    This is a heading</h2>
    <p>
    This is the text</p>I get the same if I generate HTML.
    but what I want to see is the text formatted as the user has entered in the RTF editor.
    Can this be done?
    Many thanks,
    Martin

    I think your mixing 2 technologies.
    At 1 side you have xml in combination with xsl (style sheets used in BI Publisher and FOP) to generate your pdf. And at the other side you have HTML...
    XML and HTML are 2 entirely different technologies which you can not mix this simple. I investigated the same problem as you had, and in the end I ended up using jasperreports instead of FOP.
    Maybe BI Publisher has some html regions which you could insert into your word document but I doubt it cause more people have asked the same question on this board...
    So my advice: use jasperreports (also it is free for commercial usage)
    Success
    Br,
    Nico

  • Incorrect font display in pdf document(web view)

    Adobe helpers,
    I am encountering a  very peculiar problem with incorrect display of fonts in pdf documents when viewed in a web browser. Briefly, the problem typically affects  the first page of a pdf document, the font being displayed as an unidentified mix of large and very small, skinny type.  Other pages may or may not be affected, and if one back-clicks to the previous page the text often displays the correct font, so the problem is in some (but not all) cases non-persistent.  The problem however is resolved completely if I uncheck the 'display pdf in browser' option  under edit>preferences in adobe reader. Fonts I use include Arial, Cambria, Franklin Gothic Book, and Garamond; as straight-up pdfs, the documents look fine. FYI, I have Adobe reader X 10.0.1 (Win 7) and 9.0 (Win XP sp3) installed on two different machines. Firefox 3.6 and IE9 are equally at fault. FWIW, all the pdf documents begin life as MS Word or Publisher 2010 documents, which are converted to pdf within these applications before publishing to web.   Since I can't control how people choose to view web pdfs, I'm concerned that display of the prone documents is impaired when viewed in a web browser.
    Not sure if this is a reader, browser, or distiller problem but this seems a logical place to start looking for answers. Any thoughts?
    Thanks!

    I've also had problems printing with Reader X.
    When printing an attachment from an email in Outlook, if I don't open the attachment first, sometimes it doesn't print correctly as everything shows with the following number or letter. Example 12345 will print as "23456" and invoice will show as "jowpjdf". Even if I open the attachment, sometimes it will print the first page ok, but the next pages will "mppl mjlf uijt".
    Never had this problem with previous versions.

  • How do I select text in a PDF document?

    I have a text-based PDF document, but I can only select text by restarting the reader. Once I select "Take a Snapshot" I can't select text anymore. How do I switch back to select text? I tried right-clicking on the document but I don't see any "selection" tool. I am using 11.0.3 under Win 7.

    Just tested this (Reader 11.0.3 on Windows XP), and your scenario is exactly so.
    I have been able to go back to get the Select Tool by clicking on the Highlight tool in the Toolbar, then right-clicking on the document.
    But it's definitely a bug in my view.

  • Problem with selecting text in a PDF document

    I'm having a problem with Acrobat 9 and Reader 9.  PDF document that has copying and selecting permissions granted, when I highlight text for copying, some of it gets highlighted and some doesn't.  Put the same document on several computers in the office, same issue.  It's the document, but I can't figure out what the deal is.
    We need to copy large portions of this into a new tech manual. 
    Can someone help

    Without further information, my first reaction is to think that the texts that you cannot copy are included as images.

  • Problem in getting complete display in pdf document from spool

    Hi,
    I have a report1 which calls another report2 in the background. The report2 which is run in the background produces some output and thus generated a spool.
    Report1 then gets the spool number generated from report2 and converts it to a pdf document .
    The problem is that the complete width of data in spool is not coming on pdf.
    Forex , if the spool contains following records:
    1. AAAAAAAABBBBBBBBBBCCCCCCCCCCCCCDDDDDDDDDDDDD
    2. SSSSSSSSEEEEEEEEEETTTTTTTTTTTTTTTTTUUUUUUUUUUUUU
    when this is converted to pdf, the pdf doc will display data as:
    1. AAAAAAAABBBBBBBB
    2. SSSSSSSSEEEEEEEE
    Complete width is not coming in the pdf document.
    Any ideas on how to resolve this issue? Can this be handled by ABAP or BASIS team needs to be include to solve this..All ideas are welcome...
    Harmeet Singh.

    Hi,
        Im also facing the same problem of truncation.
         can someone please reply back if there's a solution ?
    Thanks
    Sourav

  • Edit or deleting text in a pdf document.

    I'm trying to edit text in a pdf file, If i delete a line the the document backs up and i end up with text over the top of text....can anyone tell me how to edit or delete text in a document without everything around it moving up or down?

    Realistically, that's just how it is. Text in a PDF file (unless it's very well-structured at the creation stage) is not laid out in a flowable 'story' as it is in Word, but is scattered about all over the place. Two lines of the same paragraph don't necessarily have to be connected, so deleting / adding a line break will often result in the remaining content moving about all over the place.
    The best approach is to edit the original file and recreate the PDF, but if that's not an option then it gets messy. You may be able to open the page in Illustrator (where you could edit the text objects and reposition them if things act strangely) but that will break any interactivity or accessibility so is only a sensible option if the resulting PDF is only destined to be printed out.
    If the page layout is relatively-simple, try exporting the PDF to Word (from Acrobat Pro), editing it and re-saving to PDF. Again it will lose any interactivity, but during the Save As step, Acrobat will try and guess the flow of the page content from where each item is positioned.

  • Is it possible to display a pdf document in flash?

    I'm not that familiar with flex/flash but i was wondering if it's possible to display a native pdf document in flash.  If so are any add-on's required or does flex/flash have that capability built in.  Essentially I would be trying to create a pdf viewer in flex that allows users to markup documents and save them to the server for others to view.  I'm just in the discovery phase of this project, so any guidance would be great.
    Thanks!

    Thank you very much for the reply, that's an interesting project.

Maybe you are looking for