How call PDF file in Web dynpro screen?

i have one labal,one input box and one search button also...Just i clk search button mns...that PDK file will come..for printing purpose...
How i will call that PDF file? please give details...

hi...this is my error...
Failed to process request. Please contact your system administrator.
[Hide]
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
   com.sap.tc.webdynpro.services.sal.deployment.api.WDDeploymentException: Failed to get deployable object part for application 'webdynpro.pdf' of deployable object 'local/LoginProject1'.
    at com.sap.tc.webdynpro.serverimpl.core.deployment.AbstractDeployableObject.getApplication(AbstractDeployableObject.java:158)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.getApplicationDeployableObjectPart(RequestManager.java:381)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.initTask(RequestManager.java:317)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:143)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    ... 17 more
See full exception chain for details.
System Environment
Client
Web Dynpro Client Type HTML Client
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-05:15:08:24[UTC], changelist=413534, host=pwdfm101), build date: Mon Oct 30 16:29:02 IST 2006
J2EE Engine No information available
Java VM Java HotSpot(TM) Server VM, version:1.4.2_09-b05, vendor: Sun Microsystems Inc.
Operating system Windows XP, version: 5.1, architecture: x86
Session & Other
Session Locale en_US
Time of Failure Thu Sep 27 16:48:55 IST 2007 (Java Time: 1190891935798)
Web Dynpro Code Generation Infos
Detailed Error Information
Detailed Exception Chain
com.sap.tc.webdynpro.services.sal.core.DispatcherException: The requested deployable object 'local/LoginProject1' and application 'webdynpro.pdf' are not deployed on the server. Please check the used URL for typos.
     at com.sap.tc.webdynpro.clientserver.session.RequestManager.getApplicationDeployableObjectPart(RequestManager.java:383)
     at com.sap.tc.webdynpro.clientserver.session.RequestManager.initTask(RequestManager.java:317)
     at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:143)
     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.tc.webdynpro.services.sal.deployment.api.WDDeploymentException: Failed to get deployable object part for application 'webdynpro.pdf' of deployable object 'local/LoginProject1'.
     at com.sap.tc.webdynpro.serverimpl.core.deployment.AbstractDeployableObject.getApplication(AbstractDeployableObject.java:158)
     at com.sap.tc.webdynpro.clientserver.session.RequestManager.getApplicationDeployableObjectPart(RequestManager.java:381)
     ... 20 more

Similar Messages

  • How to call PDF file in Web Dynpro Appl?

    How to call PDF file in Web Dynpro Appl?

    Hi Gobinath,
    1. Create a value attribute of type byte called pdfSource.
    2. Insert an UI element called Interactive Form in your layout
    3. Set the source property of this Interactive From UI element to the context pdfSource.
    4. Insert a button which would open your pdf file.
    public void onActionsubmit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionsubmit(ServerEvent)
       IPrivate<viewname>.IContextElement contextElement = wdContext.currentContextElement();
             byte[] bytes = contextElement.getPdfSource();
             try
                   File file = new File("C:
    temp
    example.pdf");
                   FileOutputStream os = new FileOutputStream(file);
                   os.write(bytes);
                   os.close();
                catch (IOException e)
                   // do something
                   e.printStackTrace();
        //@@end
    Warm Regards,
    Murtuza

  • How to create PDF from a web dynpro screen

    Hi all,
    I am in the process of creating my first web dynpro application for parking a document, the new requirement is when the user parks the document, a PDF of the web dynpro screen should also be generated. Can you please tell me how can I achieve that.
    Thanks,
    Rajat

    A PDF generated from the screen?  There is no SAP delivered functionality to do this. I might suggest that you just use the browser print and print to a PDF generated virtual printer.  Otherwise you would have to design an Adobe Form (and run it within WDA using the InteractiveForm) that matched the interface of the WDA screen.  There is no automatic generation.  You would have to design and maintain each independently.

  • How call key Function in WEB Dynpro Java?

    Hi,
    Somebody know how to call key Function(F1, F2, ... F12) in WEB Dynpro Java to launch and Event?
    Thanks in advance.

    Hi,
    You can WDHotKey property to define the different keyboard shortcuts to enable the user to trigger events with key combinations.
    When the user presses the key board shortcut defined as the hotkey then onAction event is triggered.
    The keys F2, F3, F4, F5, F6, F7, F8 and F9 are not supported, they call predefined functions provided by the Web Dynpro Framework.
    The complete list of supported shortcuts is here:
    http://help.sap.com/saphelp_nwce711/helpdata/en/48/1f1d65deaf733fe10000000a42189b/frameset.htm
    http://help.sap.com/saphelp_nwce711/helpdata/en/62/832cf3cd35004aa4ea8a2378c8a2be/content.htm
    If your question is answered then mark it so.

  • Pdf files for web dynpro

    can anybdy tell any link to get the study materials for web dynpro for java in .pdf format.

    Hi,
    there you can find the entire documentation, you normally have a look at help.sap.com, in pdf format (it's NW2004s, SP 5 or 6, I guess)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/nw/netweaverdevelopersguide2004s/sap%20netweaver%20developer's%20Guide%202004s/UsingJava_00_PDFsList.ca
    (copy & paste the link, directly it won't work )
    kind regards
    Stefanie

  • Import data from excel/csv file in web dynpro

    Hi All,
    I need to populate a WD table by first importing a excel/CSV file thru web dynpro screen and then reading thru the file.Am using FileUpload element from NW04s.
    How can I read/import data from excel / csv file in web dynpro table context?
    Any help is appreciated.
    Thanks a lot
    Aakash

    Hi,
    Here are the basic steps needed to read data from excel spreadsheet using the Java Excel API(jExcel API).
    jExcel API can read a spreadsheet from a file stored on the local file system or from some input stream, ideally the following should be the steps while reading:
    Create a workbook from a file on the local file system, as illustrated in the following code fragment:
              import java.io.File;
              import java.util.Date;
              import jxl.*;
             Workbook workbook = Workbook.getWorkbook(new File("test.xls"));
    On getting access to the worksheet, once can use the following code piece to access  individual sheets. These are zero indexed - the first sheet being 0, the  second sheet being 1, and so on. (You can also use the API to retrieve a sheet by name).
              Sheet sheet = workbook.getSheet(0);
    After getting the sheet, you can retrieve the cell's contents as a string by using the convenience method getContents(). In the example code below, A1 is a text cell, B2 is numerical value and C2 is a date. The contents of these cells may be accessed as follows
    Cell a1 = sheet.getCell(0,0);
    Cell b2 = sheet.getCell(1,1);
    Cell c2 = sheet.getCell(2,1);
    String a1 = a1.getContents();
    String b2 = b2.getContents();
    String c2 = c2.getContents();
    // perform operations on strings
    However in case we need to access the cell's contents as the exact data type ie. as a numerical value or as a date, then the retrieved Cell must be cast to the correct type and the appropriate methods called. The code piece given below illustrates how JExcelApi may be used to retrieve a genuine java double and java.util.Date object from an Excel spreadsheet. For completeness the label is also cast to it's correct type. The code snippet also illustrates how to verify that cell is of the expected type - this can be useful when performing validations on the spreadsheet for presence of correct datatypes in the spreadsheet.
      String a1 = null;
      Double b2 = 0;
      Date c2 = null;
                        Cell a1 = sheet.getCell(0,0);
                        Cell b2 = sheet.getCell(1,1);
                        Cell c2 = sheet.getCell(2,1);
                        if (a1.getType() == CellType.LABEL)
                           LabelCell lc = (LabelCell) a1;
                           stringa1 = lc.getString();
                         if (b2.getType() == CellType.NUMBER)
                           NumberCell nc = (NumberCell) b2;
                           numberb2 = nc.getValue();
                          if (c2.getType() == CellType.DATE)
                            DateCell dc = (DateCell) c2;
                            datec2 = dc.getDate();
                           // operate on dates and doubles
    It is recommended to, use the close()  method (as in the code piece below)   when you are done with processing all the cells.This frees up any allocated memory used when reading spreadsheets and is particularly important when reading large spreadsheets.              
              // Finished - close the workbook and free up memory
              workbook.close();
    The API class files are availble in the 'jxl.jar', which is available for download.
    Regards
    Raghu

  • How to Download a PDF file from Webdynpro ABAP Screen

    Hi,
    I have developed a input form in webdynpro - ABAP(Not Adobe),
    As I am not using above services here, but would like to download the information I am capturing into a PDF file.
    can I do it without using adobe interactive forms ?
    thanks
    Siddharth

    Hi siddharth,
    My suggestion would be to create your output as a Smartform and call your Smartform in your View.
    For more Click this link.
    [HOW TO DISPLAY A SMARTFORM AS PDF DOCUMENT IN WEB DYNPRO FOR ABAP|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785]
    Regards
    Bulent

  • How to hide Interactive form in Web dynpro screen

    Hi all,
    I am working on an application where a user will enter the vendor number and based on that vendor the information of the vendor such as his name, address should get filled in the interactive form that we have created. I am able to get the vendor information at the back end and I have created a print button and hitting on that print button will actually fill the form. But now my problem is when I run the application the form is already displayed on the web dynpro screen (without any vlaues) and when I hit print button the form gets filled with correct values but I don;t want form to be pre displayed until and unless user hits print button. Can you please tell me how can I do this.
    Thanks,
    Rajat

    Hi Thomas,
    Thanks for quick reply.
    Let me explain you what I want... I am very new to webdynpro so my questions may sound very basic or may be weird.
    I have an application where the user will enter the vendor number on the web dynpro screen and then will hit the button PRINT and when he hits print  button the PDF form should be displayed on the web dynpro screen. So far when I run my application the vendor number (input field) is there and a print button is also there but beneath there is the whole interactive form is showing up (a balnk) and when I enter the vendor number and hit print the same form will get filled up with the required data.
    What I want is when I execute my application and on the web dynpro screen only the vendor number field and the print button should be visible and not the PDF form, the PDF form should only be displayed once user hit print button. I tried to change the value of the property from visible to none and what it did was the PDF form was not visible on the web dynpro screen on both the occassion i.e. when I execute the the web dynpro applkication and after when user hits print button.
    Thanks,
    Rajat

  • Calling a BSP application on a Web-Dynpro screen

    Hi all,
    We have a requirement as below:
    In the SAP Standard Web-Dynpro screen we have a Tab-strip control, where there are 2 tabs.
    We need to enhance the tab-strip control and add a new tab. On the same tab we need to call a BSP application.
    It meas when we select the tab we should be able to see a specific BSP Application there.
    How can this be made possible?
    One way that I can think of is by creating the Service calls... However, I am not sure how can the service call can be created and used to call a BSP App to be displayed on the screen.
    Waiting for your replies.
    Regards,
    Kunjal Patel

    Hi Thomas,
    Thanks for the reply. It was quite helpful in analyzing the available options for the development.
    Now, with the further analysis from your inputs, following are the findings:
    1. BSP is a Stateful BSP.
    2. Yes, We are using this web-dynpro in the portal. How can we go about with the alternative way suggested by you about the iView? As i have very limited knowledge about the Portal hence a little more help from you will be helpful.
    Is it like we can provide a button on the screen and then when a user clicks the button the result is a new window of the browser with the given portal link?
    Please suggest.
    Regards,
    Kunjal Patel

  • How can I get Safari 5.1.2 to automatically open pdf files on web pages by using Adobe Reader?

    Safari 5.1.2 always opens pdf files on web pages as a single frame and thus it will not print properly.  How can I get Safari to open all pdfs with Adobe Reader 10.1.1?

    Carolyn,
    Thanks for sending your suggestion on how to solve my problem.  Unfortunately, it did not work for me.  I trashed the file, quit and relaunched Safari, but the problem remained the same.  Although it did not work, I do appreciate that you took the time to try to help me.
    Thanks.

  • How do we scan for viruses of uploaded excel file in Web Dynpro for JAVA

    Hi All,
    Please let me know "How do we scan for viruses of uploaded excel file in Web Dynpro for JAVA"
    Regards,
    Ganga.

    Hi ,
    pl go through this note "Integrating a virus scan into SAP applications 817623 "
    SAP Virus Scan Interface
    http://help.sap.com/saphelp_nw2004s/helpdata/en/30/42c13a38b44d5e8d1b140794e8e850/frameset.htm
    Sample Application
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6e1c4221-0901-0010-63ba-b1f9459d6e74
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f2681486-0a01-0010-8497-c778eac80da5
    Regards
    Ayyappparaj

  • Since I downloaded version 4 of Firefox, I'm having the following problems: Extremely slow at loading all web sites, can't view PDF files from web sites, and lots of unresponsive script messages. How can I fix this?

    I downloaded version 4 of Firefox this week and have been having problems since. Firefox is now extremely slow at loading all web sites. Trying to view PDF files from web sites crashes Firefox. I'm getting lots of unresponsive script messages. How can I fix this?

    I downloaded version 4 of Firefox this week and have been having problems since. Firefox is now extremely slow at loading all web sites. Trying to view PDF files from web sites crashes Firefox. I'm getting lots of unresponsive script messages. How can I fix this?

  • How to call DOC file using web.show_documents

    Hi friends ,
    If I use the built-ins web.show_documents for open the *.doc file
    I am getting the following error
    ORA-06550: line 5, column 2:
    PLS-00201: identifier 'README.DOC' must be declared
    ORA-06550: line 5, column 2:
    PL/SQL: Statement ignored
    DAD name: WebDB
    PROCEDURE : readme.doc
    URL : http://132.148.160.3:80/WebDB/readme.doc?
    PARAMETERS :
    ===========
    ENVIRONMENT:
    ============
    SERVER_PORT=80
    SERVER_SOFTWARE=Oracle WebDb Listener 2.1
    SERVER_NAME=132.148.160.3
    GATEWAY_INTERFACE=CGI/1.1
    SERVER_PROTOCOL=HTTP/1.0
    REMOTE_HOST=132.148.160.251
    REMOTE_ADDR=132.148.160.251
    REQUEST_METHOD=GET
    QUERY_STRING=
    SCRIPT_NAME=
    PATH_INFO=/WebDB/readme.doc
    HTTP_ACCEPT=*/*
    HTTP_ACCEPT_LANGUAGE=en-us
    HTTP_ACCEPT_ENCODING=gzip, deflate
    HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)
    HTTP_HOST=132.148.160.3
    HTTP_CONNECTION=Keep-Alive
    Please advice How to call Doc file in web.
    Thanx
    null

    The syntax to execute web.show_document:
    web.show_document('http://server_ip_or_server_name/virtual_path/filename.doc')
    The virtual path has been defined in Apache (if you run on web with Apache) or has been defined in Internet Inoformation Server (if you are runing with Internet Information Server.)
    null

  • How to browse local file using web dynpro

    hi everyone
    How can I browse local file using Web Dynpro?And read file names into Context or array. I have tried the following code but its not working
    String resourcePath = WDURLGenerator.getResourcePath();
    String depObjResourcePath = WDURLGenerator.getResourcePath(“Test”);
    WDDeployableObjectPart appPart = WDDeployableObject.getPart(“Test”, “TestApp”, WDDeployableObjectPart.APPLICATION);
    help required urgently
    Thanks & Regards
    Jaspreet Kaur

    Reply in
    how to browse local file using web dynpro
    Regards,
    Ashwani Kr Sharma

  • I want to programatically(in dotnet) save the pdf file open on the screen, how can i do that ?

    i want to programatically save the pdf file open on the screen. iam using dotnet. is there any library to do this ??@

    Try asking in https://forums.adobe.com/community/acrobat/acrobat_sdk

Maybe you are looking for

  • SELECT INTO doing case insensitive query?

    Hi all, I'm having a problem with a query acting as if it is case-insensitive when I do a "SELECT table.x INTO variable ...". If I do the same query, without the "INTO variable", I get one result, as expected. The query is similar to the following: S

  • Disable built in adminstrator account

    help

  • Firefox Sync not working with weave server behind password protected proxy

    Since the sync is moved from firefox to Android, I'm completely unable to sync my bookmarks with my personal weave server. The server is internal, but accessible via a proxy with a username/password for all internal sites. Last working version was 10

  • XMII for iDoc verification

    Hi all, I'd like to know your opinion this architectural topic. We are using an xMII 12.0.5 in production to act as a broker between external systems that generate some messages and ECC (through PI). So the message is generated from the sender, flows

  • JVM Error : 4349254E560E43505000EC

    Getting the following Randomly: AnyIdea whats going on ? # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # Error ID: 4349254E560E43505000EC # Problematic Thread: prio=5 tid=0x2