Incorrect PDF output after Bursting an Oracle 9i Report

I have created a report for distribution. It is a single query based on several tables. I have 3 repeating frames -1 for the Budget Holder, then the cost centres for the Budget Holder, and then the nominal account for each of the cost centres.
I removed the repeating frame for the Budget Holder and in the Main Section of the report set the "Repeat On" field to Budget Holder.
The XML that I am using is :-
<!-- Send a mail with an attachment for each budget manager -->
<destinations>
<foreach>
<mail id="BudMon1"
to="[email protected]"
subject="Budget Monitoring Position Statement for &amp;&lt;TRIM_SUBSTR_BMBALSUM_BUDGET_HO&gt;">
<body srcType="text">Attached are your current periods Budget Monitoring Figures.</body>
<attach format="pdf" name="rep_&amp;&lt;BUDGET_HOLDER&gt;.pdf" srcType="report" instance="this">
<include src="mainSection"/>
</attach>
</mail>
</foreach>
</destinations>
The distribution is working correctly as far as creating the correct number of files and attaching the files to the individual emails.
The problem is the content of the PDF report. For example if there are 2 Budget Holders and I run this report for each Budget Holder separately. It would generate 2 PDF's Budget Holder A has a 5 page report and Budget Holder B has a 2 page report.
If I run the report for a range of Budget Holders and attempt to distribute the report it correctly generates 2 PDF's files with their ID's as part of the filename.
In the file named A.pdf the resultant pdf is 6 pages - pages 1-5 of A's data and then the second page of Budget Holder B's data (page 2 of 2).
In the file named B.pdf the resultant pdf is 6 pages - pages 2-5 of A's data is first followed by the 2 pages of Budget Holder B's data.
It does not matter how many Budget Holders are in the range, the result is always the same. In each report there is all Budget Holders page 2 to ??? of data, except for the actual Budget Holders (M) whose report is being created, where all of their pages are included.
If the other Budget Holders excluding (M) have only page 1 of 1, then this is not included in the report for M.
Has anyone else experienced this problem before?
Thanks
Michael

Hi Jennifer,
The errors you are getting FRM 41214 and 41217 according to documentation means the following :
FRM 41214 : Unable to run report.
Cause: The report server was unable to run the specified report.
Action: Check the Report server and make sure it is up and running.
FRM 41217 : Unable to get report job status.
Cause: There is a problem getting report status for a given report job.
Action: Check the Report server and make sure that the specified job exists.
The report itself is not run. Also it couldn't get report job status. Can you retry the operation after re-starting the server and also ensuring the report is run to success before firing the no result report.
Thanks,
Vinod.

Similar Messages

  • Some text goes missing in the PDF output after I convert FM8 book

    Hi,
    I am using Framemaker 8.0, Acrobat 8.0 Professional, Acrobat Distiller 8.0.
    When I convert my Framemaker books to PDFs, some text (especially Table Heading tags) go missing in the PDF output. I have tried to change the font colour, change the cell shading, and many other options. But, the problem persists.
    I saw some similar links on the forums with this kind of problems. For example,
    http://support.microsoft.com/?id=952909
    http://forums.adobe.com/message/3285145
    http://forums.adobe.com/message/4167112
    http://helpx.adobe.com/framemaker/kb/troubleshoot-pdf-creation-problems-framemaker.html
    After going through these links from the forums, I realized that this is a known issue. But, the above links direct me to Microsoft patches and these patches are available only for Windows XP, Windows 2003 Server, and Windwos Vista operating systems. My operating system is Windows 7 Professional, 32-bit version.
    One more thing I want to say is we have never faced this problem earlier. It started appearing now.
    While I know that the world (many of us) moved on to Framemaker 9 and 10, I also know that there is someone out there to help me to overcome this issue.
    Thanks and regards,
    Raghavacharyulu NCB

    Hi Harpreet,
    Thanks for your response.
    We tried this option also. In fact, the Distiller shows this option by default. Secondly, we have recently updated our old template to reflect the new corporate styles and we suspect something went wrong there. We once again took the old template and updated with the new colour definitions and fonts, this time very carefully and it started working. Now, the text is not missing.
    So, the result is something is wrong with our template. Quite surprising is it is inconsistent and some places the text appears and some places it does not.
    Where do you work? Are you in India?
    Cheers,
    NCB Raghavacharyulu
    Mobile No. : 9845192336
    E-mail : [email protected]

  • Barcode in PDF output not coming in Oracle R12.1.3

    Hi,
    We have a rtf template for Invoice report. In this report we have to display barcode in PDF output. In our development instance barcode is coming properly. But in our test instance barcode is not coming(same template is available in Development and Test instance).
    We are using wocrb.ttf and w128l.ttf font files and we have these files available at $OA_JRE_TOP/lib/fonts path.
    Also, we have config file available on $OA_JRE_TOP/lib directory. and this config file has correct path of both the font files.
    Still the barcode is not coming in Test instance.
    Request you all to please help me with this issue.
    Thanks,
    SA

    PDF requires the font be registered correctly, since it is not appearing you have missed something in your configuration.
    The most common error is the font family name does not exactly match the font name in Word. (Open the font on your PC and the name is present there also.)
    You can use the xdodebug.cfg troubleshooting method,  then see what error appears in the xdo.log when the font is accessed.
    See the following note for xdo.log:
    Note 364547.1 : Troubleshooting Oracle XML Publisher For The Oracle E-Business Suite
    Thank you
    Eugen

  • Hide URL in PDF output in hyperlink , Maintain History within reports

    hi
    i have some issues to discuss for report output in pdf format.
    we are using java application to call reports via AS 10g, my issue are
    1) Hide URL in PDF output for hyperlink created.(Using username/password in Key is not enough)
    2) Maintain history as i call second report from my parent report then i want to go back to parent report.(Note here go.history or history.go(-1) work in HTML output format but not in PDF)
    3)To Call Child PDF report in new window(here again working fine target="_blank" for HTML output but not for PDF)
    regards
    abid

    Hi Ram,
    Not sure if this is possible.
    However, one workaround might be the following:
    1. Write a javascript that submits the URL using, say a POST method, and does not show the parameters in the URL. You will have to write this javascript code in the "Before Report" Report Escape. For a generic example on how to use javascript in a report, see Metalink Note 125652.1. This note shows javascript to disable the right-click of the mouse on the report output.
    2. Use the Hyperlink peroperty of the report to call this javascript function, eg,
    javascript:myfunction('http://machine:port/reports/rwservlet?report=...+server=...+empno=&empno')
    I am not a javascript expert, so I cannot give you an example of the function, but I hope someone in your team can find out.
    Navneet.

  • PDF Output generates invalid Thai output

    PDF Output with English characters From Oracle Reports 6i is generated properly.
    We are facing problems while generating PDF OutPut with Thai characters . The Reports builder shows proper Thai Character, but when we generate to PDF file the output shows invalid Thai Characters.
    The environment variables set for this purpose are:
    NLS_LANG was changed to THAI in Reports Server
    THAI Fonts were installed in the Reports Server and also the machine hosting the Printer.
    If anybodys knows the solution or can give a clue to sorting out this issue, it will be very helpful.
    Best Regards,
    Savitha.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by SavithaG([email protected]):
    PDF Output with English characters From Oracle Reports 6i is generated properly.
    We are facing problems while generating PDF OutPut with Thai characters . The Reports builder shows proper Thai Character, but when we generate to PDF file the output shows invalid Thai Characters.
    The environment variables set for this purpose are:
    NLS_LANG was changed to THAI in Reports Server
    THAI Fonts were installed in the Reports Server and also the machine hosting the Printer.
    If anybodys knows the solution or can give a clue to sorting out this issue, it will be very helpful.
    Best Regards,
    Savitha.<HR></BLOCKQUOTE>
    Now Report will not support multi-char while your DESTYPE='FILE' and DESFORMAT='PDF'. I got the same problem in Tradition Chinese.
    So if you want to get a correct PDF file, you
    can install a Acrobat Writer first and then
    use the following setting: DESTYPE='Printer',
    DESFORMAT='PDF',DESNAME='Acrobat PDFWriter'(<== your acrobat printer name).
    After that, you can get a PDF file. But you have to key-in PDF file name as Acrobat printer dialog box will show up every time.I'll try to solve the problem to avoid user key-in every time. Now I still have no idea about it :(
    null

  • PDF Output, security concerns

    Hello there,
    I'm using Forms6i & Reports 6i to generate PDF documents. Everything works well. But the generated PDF-files can be changed using the Acrobat Writer. Is there a way to force Reports (or any other tool) to generate PDF-files, which cannot be changed by anyone ? Purpose is the creation of signed documents, which should be archived and therefore these files should be protected against unauthorized access. I know this can be achieved by using Acrobat Writer, but it has to be done automatically through my application. Thanks for any help.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by SavithaG([email protected]):
    PDF Output with English characters From Oracle Reports 6i is generated properly.
    We are facing problems while generating PDF OutPut with Thai characters . The Reports builder shows proper Thai Character, but when we generate to PDF file the output shows invalid Thai Characters.
    The environment variables set for this purpose are:
    NLS_LANG was changed to THAI in Reports Server
    THAI Fonts were installed in the Reports Server and also the machine hosting the Printer.
    If anybodys knows the solution or can give a clue to sorting out this issue, it will be very helpful.
    Best Regards,
    Savitha.<HR></BLOCKQUOTE>
    Now Report will not support multi-char while your DESTYPE='FILE' and DESFORMAT='PDF'. I got the same problem in Tradition Chinese.
    So if you want to get a correct PDF file, you
    can install a Acrobat Writer first and then
    use the following setting: DESTYPE='Printer',
    DESFORMAT='PDF',DESNAME='Acrobat PDFWriter'(<== your acrobat printer name).
    After that, you can get a PDF file. But you have to key-in PDF file name as Acrobat printer dialog box will show up every time.I'll try to solve the problem to avoid user key-in every time. Now I still have no idea about it :(
    null

  • PDF Output File Format

    Hi all,
    Does somebody know what is the PDF output file format in Oracle EBS 11.5.10.2?
    Is it PDF/X, PDF/E, PDF/UA, PDF/VT or something else?
    Thanks and regards,
    Karmit

    Hi,
    See this thread.
    concurrent ouput to email
    concurrent ouput to email
    Regards,
    Hussein

  • Reports PDF output

    Hi,
    I am able to sucessfully generate HTML output thru' Reports 6i.
    Can someone show me the steps to show the steps to show the Pdf output in client browser.
    incidently "publishing reports" documentation PDF show only how to generate HTML output.
    Is it true that I will have to follow 2 step process for that
    step1 : request the Pdf.
    step2 : redirect the browser to the location where the generated PDF was put by the Reports server.
    Can't I have the PDF be seen in the client browser in just one Go?

    Create a parameter
    let say p_output with datatype number.
    assume if p_output = 1 desformat= html
    and if 2 desformat = pdf
    In after parameterform report trigger
    initialized these values
    if :p_output = 1 then
    :desformat := 'HTML';
    Else
    :desformat := 'PDF';
    Endif;
    In this way u will be able to use a single button to solve ur purpose.
    sa.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by izabella():
    I've had the same problem.
    We can't change the Report Seabrver's Success Page. So, you have to do it in 2 steps.
    (f.e., you can have 2 buttons).<HR></BLOCKQUOTE>
    null

  • PDF Output display change

    Dear Team,
    I want to change the output format of PDF file which is sent through broadcast in BI7. I have added logo in the 0QUERY_TEMPLATE_BROADCAST_PDF Template. But it is not showing after changing and sending a mail. what may be the problem.
    Best Regards,
    SG

    Hi,
    If I execute that template it is showing but in the pdf output after receiving a mail it is not showing.
    Best Regards,
    SG

  • Regression testing on PDF output files from Reports?

    My current client is looking to do more automated regression testing of the output (content) of their reports, most of which are output from Reports6i into Adobe Acrobat PDF file format. Is anyone currently using or aware of a tool (QARun, WinRunner, etc.) that will do this? (Most of the tools can do a binary comparison of the PDF files that were output, but we need something that will look into the PDF files themselves and tell us where any differences are found in the actual content (text) of the report itself.)
    Thanks in advance for any info anyone can provide!
    - Bill

    Dear Nick,
    Just ensure a printer is configured. This can be done by typing in echo $PRINTER at the $Prompt.
    If it returns null then configurea printer and i fell this should resolve your problem,
    Since it did resolve my problem.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Nick Mavrakis:
    I am having some trouble getting pdf output in the unix environment from Reports 6i.
    If I kick off a defined report file (.rep) from the command line as follows:
    rwrun60 testreport.rep destype=file desformat=pdf desname=testreport.pdf userid=connection_details
    I get the following errors:
    REP-0004: Warning: Unable to open user preference file.
    REP-3300: Fatal error in toolkit.
    UI-9: This function call is out of context
    If I run the command without the file output options (rwrun60 testreport.rep userid=connection_details) then the report opens up on the screen correctly. From here, if I try to generate a pdf file, I get the following error:
    REP-1800: Formatter error.
    The report is defined as character type, and is a simple listing of approximately 50 records from a database table. There are no graphics or any pl/sql defined in the report.
    Has anyone had similar problems in trying to do this?
    Any help is greatly appreciated.
    Cheers
    Nick<HR></BLOCKQUOTE>
    null

  • Browser closing when opening PDF output in Apps

    Hello,
    When opening the concurrent request/report output (for PDF output), the browser just closes.
    The PDF output were generated thru XML Publisher (reports converted in XML Publisher - rtf).
    PDF is defined in the Viewer Options/ System Options(Viewer). I could open PDF output by
    pressing CTRL key while clicking on the output request Output button. It will give prompt on
    whether to Open or Save the PDF.
    Not sure if it's really related to XML Publisher, maybe more on concurrent request, but idea
    will be very much appreciated.
    Thanks,
    Rownald

    To clarify what you posted:
    When opening the PDF document, your browser closes. When pressing the control key and opening the document, you get a dialog window (with the choices of open or save). What happens when you select open?
    This is browser behavior, nothing to do with this being a PDF file. Which browser and which platform? If you are using IE7, popup blocker is automatically enabled, and if you are viewing this on a 2003 server, you have server security settings to override. Pressing the control key allows popups.

  • Font mapping in Oracle 6i Report Server

    Dear All,
    I am creating a report which is required to display the Palatino Linotype font in the PDF format by using the Report Builder in MS Windows XP.
    After deploy to Oracle 6i report server which is running in Solaris, I was facing a problem to generate a PDF report in Palatino font. After a few tries to configure the uifont.ali I'm still failed to get the PDF report to display the font correctly.
    Below is the setting that I had been done, that is under the PDF section I had added in the mapping.
    [ PDF ]
    "Palatino Linotype" = palatino
    #"Times New Roman" = Times
    #"Courier New" = Courier
    #"Times Roman" = Times
    Could anyone help on this. Thanks in Advanced.

    The servlet runs on the server and only call the Reports 6i CGI. It isn't a true servlet in Reports 6i. I configured my servers to run reports 6i as a servlet and it was terrible. It crashed several times. After opening a tar with Oracle, I found that running Reports 6i as a servlet is a waste of time because it still uses the CGI to run the Report.
    Do a search on for a topic of "Configuring Apache Web Server".
    "The recommended way to use a web client in Reports 6i is cgi since 6i Report servlet essentially calls the c-code only inside and does not offer a true servlet based architectural benefit. 9iAS Rel-2 offers a true Servlet based architecture and offers much more performance and scalability gains for the user plus with all the new Reports 9i features."

  • PDF outputs continually crash after editing an html source file

    I have English and multiple localized versions of a RoboHelp webhelp project. I have created several PDF outputs for the localized versions. I can generate the PDFs fine when I don't touch any of the html source files.
    However, I had to make a change to one of the html source files to remove a <dl> from the source file. After making the change to the source file in an outside text editor (Notepad ++), I went back to RoboHelp to generate the PDF, and the PDF output crashed.
    The reason I was using an outside text editor is that when I tried to edit the <dl> HTML tags in RH, its HTML editor deleted all text within the tags being edited.  There was no undo at this point.  In anotehr attempt to use the RH Design editor, RH didn’t delete the <dd> or <dt> tags when those tag styles were changed to <h4> and <p>, respectively. RH inserted the new html wrapper inside the existing ones, instead of replacing it.
    Also, during the PDF generation process, a Visual Basic error message will appear dozens of times stating that the application was interrupted.  I must press OK to continue for each error message.
    What gives with the PDF generation failing like this?

    I hate to say it but it sounds like something you are doing in the external editor is not liked by RoboHelp.
    It could just be the way that text editor codes the file. I use EditPad Pro and that has various options for text encoding. My guess is your editor is not set to what RoboHelp expects.
    Aftr that what I would do here is create a new one topic project and recreate the problem, with the minimum of text. It may help you spot the code RoboHelp does not like.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Oracle Report, How to Display Polish Characters in a PDF Output

    Environment :
    Oracle Application Server version 10.1.2.0.2 on Red Hat 4 Enterprise (Kernel 2.6.9-42.0.3 , 32 bit) Oracle Database Version 10.2.0.3.0 Our character set of database is UTF8
    I have trouble to display polish characters in Reports Output. We develop on Windows XP machines. I can see the Polish Caharacters in the Reports Builder using several fonts (arial, arial unicode, Times new roman, verdana...) during design time or when running with the paper layout. But when the report deployed to application server running on the linux, the polish characters are replaced by symbols.
    Even under Windows, when I select 'generate to a PDF' file option, the characters are not displayed correctly (When I open the generated PDF file with Acrobat reader and go to Document Properties / Fonts, I see the Fonts are always replaced with Adobe Sans MM)
    Using the Forms Applications running on the same application server we have no trouble dealing/displaying with the characters (Ąą ĆćĘę Ł ł ŃńÓóŚ ś Ź ź Ż ż ß Đ đ € )
    NLS_LANG setting is AMERICAN_AMERICA.UTF8 on the Linux Box and AMERICAN_AMERICA.WE8MSWIN1250 is on the Development machines. (have tried a number of different NLS_LANG settings on the development box as well with no luck).
    Any direction would be appreciated.

    Hi,
    You have several different approaches to fix this problem. First of all, you would be able to generate the PDF output with Font Subsetting setup and be able to see the Polish characters correctly when running the output with destype=cache&desformat=pdf. The following metalink documents would guide you with this setup :
    Note.207711.1 "How to Use Font Subsetting in Reports 9i and 10g for PDF Output"
    As at design time you use many different Windows specific fonts, I also advice you to check the following document :
    Note.356221.1 "A Practical Methodology on Porting Reports from Windows to Unix with Different Fonts"
    Once the PDF output is generated properly with correct characters, then if you need to use "destype=printer" for direct print, rather than "destype=cache" to display the output in browser, then you can use the "PDFPrint" pluggable destination, which is located in :
    http://www.oracle.com/technology/products/reports/pluginxchange/index.html
    Regards,
    -Bulent

  • ECC6.0 - PDF issue - Junk Character output after Upgrade from 4.7c

    Hi All,
    I am working in Uprgade project(from 4.7c Non-unicode system to ECC6.0 unicode system).
    We are facing PDF output issue in ECC6.0 that means we are getting junk character output(screenshot is attached for your reference).
    In 4.7c , we have stroed the OTF data in table after generated from smartform as we should not get different output in future. Whenever we need output of the same then we are getting the OTF data from that table and we will generate pdf through "Convert_otf" function module.This logic is working fine in 4.7c.
    In ECC6.0 ,the same logic is not working as system is unicode sytem and we are getting junk character output.
    As per my old upgrade project experience , i have used the below piece of code for solve this junk character issue but still I am facing the same issue.
    Kindly note that in my old upgrade project i have regenerated the OTF data in ECC6.0 and used the below piece of code then I got correct output but here I have to use the old OTF data (from table) which was generated in 4.7c.
    Please any one can give solution for this issue.
    Regards
    Anandakumar.K
    +91 9486963561.
    REPORT  z_display_notification_tst.
    Local Vairable Declaration
    TYPES: lt_pdf_table(1000) TYPE x.
    Local Vairable Declaration
    DATA :
      lv_otf_data         TYPE STRING,            " OTD data in string format
      lv_length           TYPE i,                                   " OTF Length
      lv_lines            TYPE i,                                   " No of lines
      lv_no_of_recs       TYPE int4,                                " No of OTF Lines
      lv_offset           TYPE int4,                                " Offset
      pdf_fsize           TYPE  i,
      lv_binfile          TYPE xstring,
      gv_reportsize       TYPE i,
      l_url(80) TYPE c,
      l_pdf_data TYPE STANDARD TABLE OF lt_pdf_table ,
      l_pdf_line TYPE lt_pdf_table,
      l_offset TYPE i,
      l_len TYPE i,
      lt_pdf_table        TYPE rcl_bag_tline,
      lt_otfdata          TYPE tsfotf,
      ls_otfdata          TYPE itcoo.                               " Line type of OTF data
    DATA:
        g_html_container TYPE REF TO cl_gui_custom_container,
        g_html_control   TYPE REF TO cl_gui_html_viewer.
    ******************GET OTF data from Table ******************************
    Primary Keys used for selection : BUSKEY,
                                      NTFTYP,
                                      TRNTYP,
    SELECT SINGLE otf_data FROM znotif_otf
                           INTO lv_otf_data
                          WHERE buskey EQ 'LS_000000000010001470'
                            AND ntftyp EQ '0037'
                            AND trntyp EQ 'ACT'.
    Get the length of the OTF data stored as stream of string************
      l_len = STRLEN( lv_otf_data ).
    Compute the OTF lines
      lv_lines = l_len / 72.
      lv_no_of_recs = lv_lines + 1.
    Set the offset to initial
      lv_offset = 0.
    *Reconstruct the OTF data from the string
      DO  lv_no_of_recs TIMES.
        IF sy-index NE lv_no_of_recs .
    Get OFT format: command ID
          ls_otfdata-tdprintcom  = lv_otf_data+lv_offset(2).
          lv_offset = lv_offset + 2.
    Get OTF format: command parameters
          ls_otfdata-tdprintpar  = lv_otf_data+lv_offset(70).
          lv_offset = lv_offset + 70.
        ELSE.
    Last line contains only the OFT format: command ID  "//" (End of file)
          ls_otfdata-tdprintcom  = lv_otf_data+lv_offset(2).
          lv_offset = lv_offset + 2.
        ENDIF.
    Append the OTF data to Export OTF table
        APPEND ls_otfdata TO lt_otfdata.
        CLEAR ls_otfdata.
      ENDDO.
    *************************Convert OTF to PDF**************************
    IF lt_otfdata IS NOT INITIAL.
      clear: lv_binfile,
             pdf_fsize.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
        IMPORTING
          bin_filesize          = pdf_fsize
          bin_file              = lv_binfile
        TABLES
          OTF                   = lt_otfdata
          lines                 = lt_pdf_table
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          OTHERS                = 4.
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDIF.
    Call screen***********************************
    Call screen
    CALL SCREEN 100.
    RETURN.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE status_0100 OUTPUT.
    SET PF-STATUS '100'.
    SET TITLEBAR '100'.
    Convert bin file
      clear :l_len,
             l_offset.
      free l_pdf_data[].
    l_len = XSTRLEN( lv_binfile ).
    WHILE l_len >= 1000.
      l_pdf_line = lv_binfile+l_offset(1000).
      APPEND l_pdf_line TO l_pdf_data.
      ADD 1000 TO l_offset.
      SUBTRACT 1000 FROM l_len.
    ENDWHILE.
    IF l_len > 0.
      l_pdf_line = lv_binfile+l_offset(l_len).
      APPEND l_pdf_line TO l_pdf_data.
    ENDIF.
    Initialise and create the HTML container
      IF NOT g_html_container IS INITIAL.
        CALL METHOD g_html_container->free
          EXCEPTIONS
            OTHERS = 0.
        CLEAR g_html_container.
      ENDIF.
      CREATE OBJECT g_html_container
        EXPORTING
          container_name = 'HTML_CONTAINER'.
    Initialise and create the HTML control that will display the
    PDF output as URL
      IF NOT g_html_control IS INITIAL.
        CALL METHOD g_html_control->free
          EXCEPTIONS
            OTHERS = 0.
        CLEAR g_html_control.
      ENDIF.
      CREATE OBJECT g_html_control
        EXPORTING
          parent   = g_html_container
          saphtmlp = 'X'.
    Load the pdf data and obtain the URL
      CALL METHOD g_html_control->load_data
        EXPORTING
          size         = pdf_fsize
          type         = 'application'
          subtype      = 'pdf'
         IMPORTING
          assigned_url = l_url
        CHANGING
        data_table    = l_pdf_data
       EXCEPTIONS
          OTHERS = 1.
      IF sy-subrc NE 0.
       raise cntl_error.
      ENDIF.
      CALL METHOD cl_gui_cfw=>flush.
    Show the URL
      CALL METHOD g_html_control->show_url
        EXPORTING
          url      = l_url.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    Edited by: Anandakumar.K on Oct 25, 2011 12:47 PM
    Edited by: Anandakumar.K on Oct 25, 2011 12:54 PM

    Hi,
    as you can see in SAP notes 842767 and 1349413, spool data cannot be converted properly for all types in a Unicode conversion.
    This might be possible if you have English (US7ASCII) characters only, but with Chinese characters I do not think that a small piece of code can do it ...
    Hence I think you need to recreate the data on the Unicode system ...
    Best regards,
    Nils Buerckel
    Edited by: Nils Buerckel on Nov 3, 2011 1:51 PM

Maybe you are looking for

  • No longer working with docking station

    Second time this has happened. I had my iPhone 3GS working fine through a docking station for music -- now all of a sudden it only plays through the iphone speaker. Previous iPhone did the same thing with another docking station - worked then stopped

  • Forward the mail to more than one agents in User Decision Step

    Hi All, I am referring blog http://wiki.sdn.sap.com/wiki/display/XI/User%20Decision%20step%20in%20SAP%20PI%207.1%20-%20Part%20I But my requirement is to forward the mail to group i.e. more than one agents in User Decision Step How to do this. Regards

  • Failed to open links on the Intranet.

    Hello! In the technical support page for my company there are several links that allow access to files stored in folders on the server, however when the user gives a click on a link, the browser can not open the corresponding file. Example: Link: Tec

  • SAVE EXCEPTION CLAUSE

    I'm trying to use the SAVE EXCEPTION clause and load all the records that error into an error table. example of my code is below. This code does not compile, it does not like the way I refrence a column in the collection ie. recs.sku(SQL%BULK_EXCEPTI

  • Retreiving text from SD Card

    Can old text messages be retreived from your SD card?