Getting and Printing A PDF Document From R/3 Using Web Dynpro

I would like specific information on getting and printing a document residing R/3 using web dynpro.  My environment is Netweaver 04s SR2, an it will not include ITS or the ABAP stack. It connects to remote R/3.  I will not be using Adobe Interactive Forms.       I only need get/render/print the doc.  My question is in 3 parts.
1) Getting the PDF from R/3
     a) In terms of the RFC ABAP module, how should it return the pdf (a table?)
     b) How should the document be stored within the Component Controller context
         for display.
2) Converting the R/3 returned binary into a form that is renderable within
    Web Dynpro.  (Does the Form UI Element Require it to be converting and if so
                          what is the best way to do this)
3) Printing the PDF from the corresponding iView in the portal. (If I am using the
    form ui element to display it, how can printing be initiated in the portal)
Thanks

Hi,
In webdynpro there s a fecility to convert the general data to PDF by uisng th InterativeForm UI Element.
This for u need to do the following things.
1. Need to configure the ADS(Adobe document services) in your VA(Visual Admin).
2. Once ADS is configured we  can utilize the UI element Interactiveform It has contain the Adobedesigner by using this we can design the PDF and binding with the model nodes.
3. Develop the Function module in the r/3 side and import into WD side and those are created as Model nodes and we canutilize in the 2 step.
4.When u run the application u can display the pdf with how u design ur PDF form.
This is generally doing the PDF by using PDF.
Or do u think any other way post ur issues.
Thanks,
Lohi.

Similar Messages

  • How to print a PDF document from Labview?

    I am looking to create a paper copy of a PDF document.  Note: I do NOT want to create a PDF document.
    In other words I want to print a PDF document from Lab View or Visual Basic or C#.  The application is used in a production environment so I want a clean solution.
    The requirements are:
    1) Be able to specify the output printer.
    2) Set the quantity to print.
    3) Specify the file to print.
    4) Function returns when printing is complete
    5) Silent operation, that means no popup boxes.
    Any help is appreciated.

    http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/prnmngr.mspx?mfr=true
    http://forums.ni.com/ni/board/message?board.id=170&message.id=183895&requireLogin=False
    you might be able to use system exec to print files.

  • FETCH DATA FROM ORACLE DATABASE USING Web Dynpro

    I want to fetch data from ORACLE database using Web Dynpro.How can I do this?

    1) Are you sure that you get no results? It sounds like you are having name resolution issues, which would imply that you should be getting an ORA-00942 error indicating that the table doesn't exist (or that you don't have access to the table). If you are not seeing this error, I would tend to suspect an overzealous exception handler.
    2) What database account owns the table? What database account is your ASP.Net application using to connect? Assuming these two accounts are different, your application would either have to
    - Explicitly prefix the table name with the schema name
    - Have a public or private synonym that maps the table name to the fully qualified identifier schema_name.table_name
    - Issue the command ALTER SESSION SET CURRENT_SCHEMA = <<schema name>> in each session, in which case all queries in the session would use the specified schema name as the default if no schema name is prefixed.
    Justin

  • Viewing and printing a PDF file from Java Swing Application

    Hello,
    I need to view and print PDF files from Java Swing Application.How do I do that?I appreciate your help.
    Thank you
    Sumana Somareddy

    If you have a link to the URL pointing to the PDF file, you can allow the browser to open it. Then use the print function of the browser to print the PDF document.
    Regards,
    Tak.

  • Problem printing scanned PDF document from iPad to HP Photosmart Plus B209a

    Hi,
    I'd like to report a problem printing a scanned PDF document from iPad via HP ePrint application to my HP Photosmart Plus B209a printer. The document was sent to the printer without any issue. However, the printer only prints out the
     screenshot image in the center of the PDF page, and the image is enlarged and rotated to fit in an A4 paper. The rest of the document is simply ignored by the printer. The document with the problem can be downloaded in the link below:
    Download PDF document with the problem
    What could be wrong? Thank you in advance!

    Thanks for the reply.
    I received the document from my teacher, so I don't know what program she used to scan it.
    I tried to print the document directly from my PC which works fine though, so I guess the document is OK.
    My HP printer is an old model which doesn't support eprint or air print, so I used the eprint application on iOS to print the document. I tried both color and black/white which gave me the same result: only the center screenshot image is printed out, and the image is enlarged and rotated to fit an A4 paper, the rest of the document is just ignored.
    What do you mean by saving it as a document?

  • Print a PDF document from flash

    Hi,
    I need to create a flash button that when I click on him its
    print a PDF document.
    Is it possibility to do that in flash
    Thanks
    Pini

    For offline/CD-Rom work yes you can using JStart read this
    http://www.flashjester.com/index.php?section=faq&cPath=28_41#352
    and download the example file
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. -
    http://www.flashjester.com
    There is a very fine line between "hobby" and
    "mental illness."

  • How to print a PDF document in duplex mode using command prompt?

    I want to print a pdf document in DUPLEX mode by command prompt.Already tried with /p and /t.

    Hello Ram,
    Please see this link - http://www.coolutils.com/Print-PDF-duplex-cmd
    ~Deepak

  • 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

  • Printing of pdf document from java application

    Hello,
    I want to print out a pdf document which I get from a server as a byte-stream. I don't want to display or preview it on the client but print it out right away. Is there a way to do this?
    Thank you very much!
    Matthias

    Hi Matthias,
    If you have got solution for this can u suggest me.
    I'm using following code
              PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet();
              DocFlavor flavor = javax.print.DocFlavor.INPUT_STREAM.AUTOSENSE;
              System.out.println("====================>"+flavor);
              PrintService printService[] = PrintServiceLookup.lookupPrintServices(flavor, pras);
              PrintService defaultService = PrintServiceLookup.lookupDefaultPrintService();
              PrintService service = ServiceUI.printDialog(null, 200, 200,printService, defaultService, flavor, pras);
              if (service != null)
                   try
                        javax.print.attribute.standard.Copies obj=new javax.print.attribute.standard.Copies(1);
                        Attribute at=(Attribute)pras.get(obj.getClass());
                        int noOfCopies=1;
                        if(at!=null){
                             try{
                                  noOfCopies=Integer.parseInt(at.toString());
                             }catch(Exception err){noOfCopies=1;}
                        for(int i=0;i<noOfCopies;i++)
                             URL url = null;
                             try{
                                  url = new URL(urlToPDF);
                                  url.openConnection();
                                  fis = url.openStream();
                             }catch(Exception err){}
                             DocPrintJob job = service.createPrintJob();
                             job.addPrintJobListener(printjoblis);
                             DocAttributeSet das = new HashDocAttributeSet();
                             Doc doc = new SimpleDoc(fis, flavor, null);
                             pras.add(Sides.ONE_SIDED);
                             job.print(doc, pras);
                   }catch(Exception err){System.out.println("=========>"+err);}
    some times i'm getting garbage values in the printout.
    Thanks & Regards,
    Surya.

  • Uploading and sending a PDF document from document management

    Hello to all,
    does anybody know a function module which is able to upload a pdf document stored within the document managemenent system of ERP and then send it via e-mail?
    Thanks to all
    Jörg

    Hi,
    Getting PDF:CONVERT_OTF
    mail:SSF_FUNCTION_MODULE_NAME
    Regrds:
    Prabu

  • Is impossible to know when you print a PDF document from Workflow? how?

    Hi
    I am creating a workflow that prints a PDF form and send it in a WorkItem to the user's inbox, once you run the WorkItem a PDF is opened the user ... I wonder if you can capture an event if the user prints the document or cancels ... I do not speak English and translated into the google translator excuse any errors.

    http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/prnmngr.mspx?mfr=true
    http://forums.ni.com/ni/board/message?board.id=170&message.id=183895&requireLogin=False
    you might be able to use system exec to print files.

  • To access pdf files from application server using web.show_document

    Hello!
    If my pdf file is copied in Oracle_home/forms90/java directory.Then using web.show_document i can access the pdf file.But I can't copy all the pdf files in /forms90/java directory.We have lacs of pdf files which I want to keep in my own directory.But my requirement is if my pdf file is in /home2/docs directory in (Linux application server) ie in my own directory where I store all the pdf files.Then web.show_document does not open the pdf file.It says page cannot be displayed.For that I think we have to configure the directory /home2/docs directory as a webserver.From otn I got something like forms90.conf file in application server where we have to set virtual directory mapping etc.If the pdf is in local machine then in orion-web.xml file we have to mention real path and save the file and shutdown oc4j instance and restart it again.I tried it.But it is not working.Can u give me step by step instructions to solve this problem.I found a few links in discussion forum.But is doesn't work out.My pdf file is in /home2/docs directory in Linux application server.Please treat it as urgent.
    Regards
    Jayashree

    Hi Sandeepmsandy,
    There is no available code sample for this scenario. You may write your own.
    Step 1: Get pdf URL from sqlite database. Please refer to the following MSDN blog and see a code sample.
    http://blogs.msdn.com/b/robertgreen/archive/2012/11/13/using-sqlite-in-windows-store-apps.aspx. Note, you need to retarget the project to 8.1 and then get two sqlite packages from NuGet before building this sample.
    Step 2: Use some special classes to get file from serer.
    HttpWebRequest can help download small pdf files. For more information to see
    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/de96a61c-e089-4595-8349-612be5d23ee6/download-file-with-httpwebrequest?forum=winappswithcsharp. It’s easy for use, but if you want to download the larger or many files, it’s recommend to use
    BackgroundTransfer namespace. The classes in this namespace provide a power way to transfer files in the background. See a code sample from MSND.
    https://code.msdn.microsoft.com/windowsapps/Background-Transfer-Sample-d7833f61.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • I am trying to print a pdf document from an electronic journal at my school, and i can only get it to print what is on the screen at the time i hit print.  How do i get it to print the whole document?

    how do i get it to print the whole article?  i don't seem to have a problem printing from my old windows laptop

    melbaby_3 wrote:
    when I clicked on your link and hit print, all pages were there!
    That suggests there's no problem with Safari or Quartz, the PDF rendering engine used by Safari, Preview, and other Mac applications.
    When I'm in the database and have the article open that I want to print, I click on the "full text in pdf" link and it opens in another safari window.
    Does the PDF in this other Safari window have all the pages? If yes, why don't you print from this window?
    It's very difficult to tell what might be going on if you don't give very specific details.
    For instance, in many reference databases, full-text articles are not free. You have to pay to view them, either article by article, or by subscription. Your school may have such a subscription, but, if it does, you probably need to access the database through the portal, web site, or facility provided by your school (your school's librarian should be able to help you with that). If you don't, the database has no way of knowing you have a right to view the full text, and may give you just a preview or the article's first page.
    Another possibility is that the database provides full-text PDFs in a format not compatible with Quartz, which may be able to render only the first page. But, in such a case, I'd expect Safari to print blank pages. If that's the case, you need to save the PDF on your hard disk and open it with Adobe Reader (Preview wouldn't work).
    There are other possibilities, but these two seem to me the most likely.
    Would I have to save it in preview first
    You should save the PDF on your hard disk from Safari. (I think you should do this anyway, just in case you need to refer to the article again later.) Instead of just clicking the  "'full text in pdf' link", press and hold Control, then click. This should give you a contextual menu; if the link points to a PDF file, you should see the commans "Save Linked File to 'Downloads'" and "Save Linked File As…". Use either, save the file, then, in Finder, double-click on it. Preview should open it.
    It is possible that the link is not to a PDF file, but to a script which fetches that PDF file for you. In that case, it's pointless to download it. Click on it, and then, if the PDF viewing window opens in Safari, move the cursor towards the centre of the bottom of the window. A bar with commands should appear; one of them will download the file to your Downloads folder.

  • Printing a PDF document from a network printer hosted on Windows Print Server

    Hi
    We have a use case where a XFA form needs to be merged with the XML file and later be printed on a printer hosted on Windows Print Server.
    While I know the first part of merging the template with the data file, I am stuggling to get my document printed.
    Here are the options that I have already tried -
    1) Used the generatePrintedOutput to render a flat PDF and convert it into a PS format.
    2) The output of the above service was input to the "sendToPrinter" service with following configuration settings
        Input document     : <Document variable referencing to the output of the GeneratePrintedOutput service>
        Printer Protocol     : DirectIP
        Server URI            : \\ <IP address of the Print Server>     NOTE: The Print Server is hosted on a different domain & is a Windows Server
        Printer Name        : \\ <IP address of the Print Server>\<name of the printer>
    Some more information about our LC servers -
    OS -> Unix
    Application Server -> JBoss
    When I used these settings and invoked the process, I got the following exception -
    2011-03-07 11:13:39,047 ERROR [com.adobe.livecycle.output.exception.OutputException] ALC-OUT-001-403: Could not connect to the DirectIP Server: \\<IP Address of the Printer Server>.
    2011-03-07 11:13:39,067 ERROR [com.adobe.workflow.AWS] An exception was thrown with name com.adobe.livecycle.output.exception.OutputException message:com.adobe.livecycle.output.exception.OutputException: ALC-OUT-001-403: Could not connect to the DirectIP Server: \\<IP Address of the Printer Server>. while invoking service OutputService and operation sendToPrinter and no fault routes were found to be configured.
    2011-03-07 11:13:39,069 ERROR [com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker] An exception was thrown with name com.adobe.livecycle.output.exception.OutputException message:com.adobe.livecycle.output.exception.OutputException: ALC-OUT-001-403: Could not connect to the DirectIP Server: \\<IP Address of the Printer Server>. while invoking service OutputService and operation sendToPrinter and no fault routes were found to be configured.
    2011-03-07 11:13:39,079 ERROR [com.adobe.workflow.AWS] An exception was thrown with name com.adobe.livecycle.output.exception.OutputException message:com.adobe.livecycle.output.exception.OutputException: ALC-OUT-001-403: Could not connect to the DirectIP Server: \\<IP Address of the Printer Server>. while invoking service OutputService and operation sendToPrinter and no fault routes were found to be configured.
    Therefore I tried to check if I am able to Ping the Printer Server from my Livecycle Server and found that the ping was successful.
    Next - I changed the Printer Protocol from DirectIP to SharedPrinter keeping the rest of the settings same. In this case - when I invoke the process, it did not throw any error , but it did not print any document as well.
    Any suggestion where I have gone wrong? Pls let me know if you would need more information to help me resolve this issue.
    Thanks & Regards,
    Priyank

    Well I found the answer......
    I had to do the two steps below -
    1) Go to Admin UI, "Trust Store Management -> User & Password Credentials" and add a profile for my Printer server with login ID and password which can access the printer.
    So in the "User & Password Crendentails" page, I click on "add" and fill the following values
    Profile : \\ <IP address of the print server> ....... (It is important that you write the name correctly..for example " \\10.10.234.212"
    USername : <user id who has access to the printer>
    Password  : <password for that user Id>
    2) In the sendToPrinter service, I used CIFS as the protocol and I have the proper Server URI as below
      \\10.10.234.212\<printername>
    And it worked ! .....

  • Just installed Firefox 4.....now cannot print a pdf document in FF 4 using either file-print or the printer icon. However, I can print by right click on pdf page and selecting print form drop down. Was printing fine with FF 3.X

    using adobe 9.x would not print. Then loaded Adobe Reader 10.x still would not print. Can print Adobe images just fine outside of FF4.x I am about ready to remove FF4 and go back to FF3.x.
    Has anyone else had this problem.
    Am running Win Xp with all current updates.

    I had the same issue and my of my friends.
    The fix is easy. You need to remove and re-add your printers.
    Do this by going to the Applications folder Utilities folder and opening up Printer Setup Utility
    Then click on the printers you see click remove and add them again.
    If its a network printer, I would write down the IP address. Otherwise you have to figure out what it is.
    Cheers

Maybe you are looking for

  • ID CS4 slow after pasting text from MS Word

    Each time I paste text from a Word document into my ID CS4 document, ID begins to run very slowly. I can't even type properly. Has anyone else seen this? I have fixed this problem by copying all the text and pasting in the a new document (I thought t

  • Error while loading xml files using JDBC

    Hi, I am trying to load xml files into an xmltype table using JDBC calls and am getting this error for some files LPX-00200: could not convert from encoding UTF-8 to UCS2 The xml files and our database are both UTF-8 encoded. The version of oracle th

  • Can see File sharing capability in iTunes 10

    Hi, I am trying to copy some files to iPhone so I can mail them. I found this vid http://www.cultofmac.com/iphone-os-4-0-adds-file-sharing-feature-to-itunes/41772 It's an older version of iTunes... in v10 I don't get the scroll bar for File Sharing?

  • How to display warning message in PL/SQL?

    Hi, I would like to know how to display a warning message in PL/SQL? Thanks and Regards, SC

  • The phone very hot, close the app

    z1 if I run dowlad, wifi, or recent game, the phone gets very hot and close the app, android services, I have to use the reset to turn off the phone and wait for it to cool, I do not think it is normal, in fact I hope that it is not normal. Lello