Show PDF from RFC

Hi,
I´ve installed ESS BP on my portal and some of the reports are showed as a PDF file, and I was wondering how did they do that?
Seem like the rfc send the file, like a binary sent thru the function.
Any idea? Any sample how to do that?
Thanks,
Edu

Eduardo,
I've used a binary type in a similar situation. The RFC retrievers a BINARY type and my Web Dynpro applications show the PDF result.
Following my Web Dynpro code:
IWDCachedWebResource resource = WDWebResource.getWebResource 
       (wdContext.currentZ_Pdf_Report_OutputElement().getPdf(),
WDWebResourceType.getWebResourceTypeForFileExtension("pdf"));
resource.setResourceName(this.getDescriptionReport());
// Create a External Window with the URL destination
IWDWindow window = wdComponentAPI.getWindowManager().
       createExternalWindow(resource.getURL(), this.getDescriptionReport(), true);
// Eliminate some features of the window
window.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
window.removeWindowFeature(WDWindowFeature.MENU_BAR);
window.removeWindowFeature(WDWindowFeature.STATUS_BAR);
window.removeWindowFeature(WDWindowFeature.TOOL_BAR);
window.setWindowSize(780,430);
window.setWindowPosition(20,140);
window.open();
Regards,
Luciano

Similar Messages

  • How to show PDFs from a shared library?

    Hi,
    is it possible to share also PDFs from another library?
    I am sharing my library from my own itunes account. It also contains PDFs and the whole library is shared. On the account of my wife my shared library shows up with all the music etc. However, it does not show the PDFs. Is this feature only available for eboks bought from the itunes store? How can I share my PDFs with iTunes?
    Thanks in advance for any help on this!
    Filip

    This DLL is not a standard Windows DLL but a .Net Assembly. You need to use the .Net operators in LabVIEW to access it. Put the DLL in your LabVIEW project directory, drop a .Net contstructor node onto your diagram and then in the dialog that opens select the Browse button and point it to your DLL.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Spool to pdf from RFC Connection

    Hi friends,
    I am trying to download Sap Quotation into PDF from VB application using RFC connection. The problem is WS_DOWNLOAD RAISING Exception NO_BATCH. I had read one of the link which talks about using datasets etc, but doesn't apply for my case.
    I need to download PDF version of Sap Quotation using RFC connection from VB. please help me
    Regards
    Lakhbir

    Hi Rich,
    I had also found an Sap note that also says about using Datasets.. anyidea, we can have this done in some other way..
    or should we give it up as not supported by Sap.

  • I'm trying to open a PDF from Safari with iBooks, but when I choose "Open with ..." in Safari, only Pages and Dropbox show as options.  I'm running iOS 7.1.2 and iBooks 3.2.  Thanks for any ideas!

    On my iPad, I'm trying to open a PDF from Safari with iBooks, but when I choose "Open with ..." in Safari, only Pages and Dropbox show as options.  I'm running iOS 7.1.2 and iBooks 3.2.  I have rebooted the iPad and that did not help, and reinstalled iBooks, which also changed nothing.  Thanks for any ideas!

    Yup, it was uploaded to our school Wiki as a PDF, and Pages did open it.  I was then able to move it to iBooks, but I'd rather avoid the extra steps.

  • Export to PDF from Infoview does not show correct data - CRS 2008

    I have a problem where users attempt to export a report from the Infoview interface to a PDF.  The report shows correctly in Infoview while in Crystal Reports format, but when the use exports the data, the data changes and shows different values.  To troubleshoot, I have tried this on different clients - without a change in the result.  I have also pulled the latest instance of the report from this history on the Central Management Console.  Interestingly enough, the same thing happens when I export to a PDF from there as well.  Any insight or help would be greatly appreciated.  Thanks!

    Hello,
    I can't tell you offhand on what the issue is here, as various factors come into play.
    Here are a few troubleshooting steps you can try:
    - Try opening the report in Crystal Report designer and export to pdf from there. Does this work?
    - Instead of viewing the report and export; schedule a report to PDF and check the results.
    - there is currently a know issue in regards of certain formulas and using font type "arial Unicode MS" that gives incorrect export to pdf. Maybe alter the font used.. or see if you take out any questionable formulas and try again to export.
    Regards,
    Duncan

  • Creating a pdf from a word doc and the image and footer will not show

    I am trying to create a pdf from a word doc that has an image and footer. Neither will show in the pdf. Also getting this message "Adobe Acrobat Updater has not been able to check for updates recently. Check online to see if solutions are available from the Adobe website." My Cloud says it is updated.

    What was the Original?
    If it was from Word, chances are the top and bottom Margins were set too narrow. (should not be less than .5 inches even more safety 1" would be better). As for graphics. Check in Word preferences (may be called different in a windows machine) make sure in view and Print settings "Graphics" is checked (show Graphics and Print Graphics).

  • Get PDF data from RFC and send in email.

    Hello,
    I need to get PO spool PDF from R/3 server into SRM server and send email from SRM.
    Code for sending PDF in email is working fine if executed from R/3 .But in SRM server PDF
    in email is not opening in SOST  transaction. Its showing error "Adobe reader cannot open document because either its not a supported file type or the file has ben damaged(for example,it was sent as an email attachment and wasnt correctly decoded).
    Is this due to some server specific settings? Any help is appreciated!

    Hi Kanchan,
    If the generated PDF file is opened properly in R/3 & not in SRM, then it should be a version issue.
    Please check for any relevant note wrt SRM/PDF.
    Best regards,
    Prashant

  • Trying to create a pdf from an HP G85 scanner and the G85 is not showing up as a device for Adobe

    I have windows 7 (new) and adobe 8 professional.  I was trying to scan from my HP G85 all in device and adobe was not recognizing any devices to scan from.  Can someone please offer advice.

    @kvolk6oldbarn –
    The G85 works for me in Windows 7. I have Windows 7 Home Premium (new about a week ago) and Acrobat 8 Standard.  I can see my G85 AIO from Windows (Control Panel\Hardware and Sound\Devices and Printers).  If you’re still having trouble connecting to it, I suggest the Microsoft Compatibility page for the G85:
    http://www.microsoft.com/windows/compatibility/Windows-7/en-us/Details.aspx?type=Hardware& p=HP%20Officejet%20g85%20All-in-One%20Printer&v=HP&uid=C6737A&pf=9&pi=4&c=Printers%20%26%2 0Scanners&sc=Multifunction&os=64-bit
    You might also check out the related discussion about connecting to the G85 at “See what others are saying about this product in the Windows 7 Answers Forums” where they also discuss access to some of the other functions (eg fax); that’s at:
    http://social.answers.microsoft.com/Forums/en-US/w7hardware/thread/79d670dc-36b8-4303-9adf -909f839c4d90/
    Once you’re connected, the settings I use to get reasonable scanning speed are Native and Show Scanner’s Native Interface.  That’s in the Scanner Options dialog (get there from Create PDF > From Scanner > Scanner Options).  The only interface I have available is WIA (in the scanner pull-down to the left of the Scanner Options button).  The resulting scanning behavior is about 4 stutters as it scans a page – that is, the scan bar moves a few inches, backs up about 1/2 inch, then goes another few inches, etc.  That’s about what I saw in XP, so it looks nearly the same to me. 
    Good luck.
    P.S.  if HP tech staff are watching: Acrobat has a lot of trouble driving the scanner if the settings are instead Native/Hide.  The behavior then is the scan bar goes about an inch, backs up 7/8 inch, goes another inch, etc.  That’s so painful to watch I’ve never let it continue to see if really would make it all the way down the page.

  • Big text showing in PDF from flex input

    Hi,
    I have a problem printing data to PDF from SQL. I'm using Rich text editor as it allows the user to add bullets, bold etc... and I'm using font Family arial and font size 12 in my flex form. Now when the data goes into DB it saves all the html tags like following
    Data coming from SQL is like
    <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0">Here is some text</FONT></P></TEXTFORMAT>
    I'm using in PrintPDF.cfm
    <tr>
        <td style="font-family:Arial, Helvetica, sans-serif;
         font-size:12px; font-weight:bold;">Text</td>
         <td>#qryText.Some_text# </td>
    </tr>
    Using this the PDF show big data returning from the SQL DB.
    It overwrites all the styles that I have and will show big text
    Please let me know if there is a way around this...
    Any suggestions....

    text as following:
    Test Case here (This is what it is suppose to look)
    Add Test Case Here, Add Test Case Here. This is a test case...(This is what is showing up)...

  • Shapes, Smart Art not showing in PDF from Word 2007

    Hi,
    I am having a strange problem. When I convert my Word 2007 document to PDF using Acrobat PDF, all the shapes and smart art that I created in Word 2007 is not appearing in the PDF.
    However, when I am converting either Microsoft Powerpoint or Microsoft Excel 2007 to PDF, the shapes and smart art are coming properly.
    Can anyone please help me. It is really really urgent for me.
    Regards,
    Ashish Agarwal

    How are you converting your document?  Try another way.  You can convert it by going to the Acrobat ribbon, or by printing it to Adobe PDF (just like you would to a normal printer but select Adobe PDF) or from within Acrobat (File>Create PDF>From File).  If this doesn't fix it try changing the PDF settings used to create it, e.g. smallest file size, Press Quality etc.

  • The PDFs from email I need to open then with iBook thebeginning was Ok now the Ebola programs no more show in the open with list

    I Need to open PDFs from the mail with iBook or any E book program

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after It shuts down, press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10-15 seconds).
    No data will be lost.

  • PLD Report does not show data from Query

    Hello,
    SAP b1 9.0 PL08 on MSSQL 2008 and I get data on the query, but when the PLD prints, it shows nothing. Is there a way to filter the data that the PLD shows? Does PLD have its own SQL script it uses b/c its not showing data from the query.
    Thanks,
    Nick

    Hi Nicholas,
    Please check below links.
    query based print layout design
    Print Layout Designer \Custom Reports
    How to Make a Print Layout (PLD) Report from a SBO Query | SBOnotes.com
    http://www.tegrous.com/wp-content/uploads/2011/07/HowTo_QPrintLs_88.pdf
    Hope this help
    Regards::::
    Atul Chakraborty

  • How to print specific pages of a pdf from a vb 2013 program using a print dialog

    Hi.  I am using the acrobat sdk to display pdfs from within a vb 2013 program, because the pdfs are large and we have developed indexes on certain columns.  The indexes are stored in SQL tables.  My program has a search window which allows the user to search for a value and displays all the pages on which this value appears in the indexed column in a listbox.  By double-clicking on the desired value in the listbox, the user can go to the selected page and column.  However, the user also needs to be able to highlight one or more of the pages in the listbox and print these pages.  I could do this silently using AcroExchAVDoc.PrintPages, but the user also needs to have a print dialog displayed in order to possibly select a watermark to be printed on the pages.  I also need to default the orientation of the pages depending on the document.
    I have reviewed the sdk documentation and also searched in Google and on this site but have not found a way to do this.  Does anyone have a suggestion?  Thanks for any help you can provide.
    Mary

    Hi.
    I did try using the printParams feature and it worked, but since I need to be able to print sets of non-consecutive pages,  I end up having to bring up the print dialogue multiple times and have the user set watermarks each time. 
    I decided to just create a new pdf in a temp directory containing the selected pages and open this document in a new window.  This works well and allows them to use the print button on the window to print, bringing up the print dialogue just once.  However, since I need to open the document in a way that shows the print button, I am using OpenInWindowEx, with AV_DOC_VIEW, and the option PDUseBookmarks or PDUseThumbs, rather than PDUseNone.  This displays a toolbar which also includes icons for creating a new pdf, deleting pages, etc.  I do not really want to include these icons on the toolbar.  Is there a way to remove unwanted icons from the toolbar, or make them invisible?
    Hope this makes sense.  Thanks for your help.
    Mary

  • Open PDF from database in a browser and run Javascript within PDF

    What we're trying to accomplish is to query a PDF in the database and open the PDF in the browse. Once opened if a user click on a link to open another PDF, it launchs a URL to Coldfusion, that queries the database and opens the PDF link. This all works but we also want to have the open PDF goto a section or bookmark within the PDF. We currently have JavaScripts within the PDF links that do that but only if the PDF is in the file system. We're using the app.openDoc to get a reference to the opened PDF. But when opening the PDF from the database we pass the control to Coldfusion using app.launchURL or app.getURL. These do not pass back a reference to the opened PDF and the JavaScripts fails.
    I'm looking for different methods or ideas.
    Is there another way to do this, I'm new to acrobat JavaScripting?
    Thanks, Rob

    I tried tapping and holding the attachment icon, it just shows "Open / Bookmark/ Copy"...
    Also i tried opening the attachement first and then tapping on it, it just shows "open in Safari"
    Is there any settings to be done to add the options of Opening in Adobe Reader/or any other Docu Sign app . the exhibition booth systems one would work i think
    Appreciate if someone could help

  • Silent print a PDF from a web page using Flex. We are targeting Windows and Mac with Arcobat reader installed

    We are planning to Silent print a PDF from a web page using Flex. We are targeting Windows and Mac with Arcobat reader installed. I have tried using the AIR appliaction and it worked, But our requirement is NO INSTALL to the user machine for the silent printing. It is just from web page and silent printing to the default printer to the desktop/Laptop. Can anyone share your thoughts and experience with us. It will be very helpful..
    For AIR : I tried the thread Re: AIR and PDF showing/silent printing

    Hey CodeMonkey & Ross,
    Did you either of you ever find a solution? I'm stuck too, it seems I can get remote printing on all these PDFs to work but it just prints a blank page since I've been using Javascript in the browser, not Adobe's (they are Engineering drawings that I do not have permission to edit so I can't just insert code into them but I need to make work instructions). I've been scouring the internet for hours now, it seems that this thread is the only relevant/useful one at this point. No one else was trying to achieve this for similar reasons to mine.
    Thanks guys,
    Lox

Maybe you are looking for