Webdynpro - Pdf Behaviour

Please help me.
I have a purchase requisition field in a web dynpro. The search help for the field MBAN_C correctly gets mapped and shows up to help data selection.
Beneath this field, when I created a pdf interactive form, and created a value-help field for the same field node, the search help will not show-up.
I understand, if the same field is called in the webdynpro as well as interactive pdf form, the UI behavior should be the same. But not for me.

Hi Ratna,
We are having the same issue when downloading pdf with Internet Explorer 8.
We have EHP1 too, and the WDA works nice without the portal.
Did you find the solution?
Thank you.

Similar Messages

  • Webdynpro PDF forms issue

    Hello All:
    I am facing an issue, with opening pdf forms using webdynpro applcaions, after applyign support stacks.
    I am using linktoaction UI element to display a pdf form which is stored in mimereporsitory, and i am displaying it after getting URL. and by using abap class cl_wd_runtime_services=>attach_file_to_response.
    This was working fine until, our recent support packs, but after support packs are applied, we are getting an error saying
    Unable to open form yyyy.pdf from yyy.yyyy.com .
    Unable to open this internet site. the requested site is either unavailable or cannot be found.
    We applied support stacks both to, abap side and portal side, and we confirmed that issue is comign from portal side.
    One other thing, the applicaiton works fine when i test applicaiton by itself, but the problem arises when the application is opened from portal.
    And the error occurs only when i open portal using IE8, but it works fine IE9, chrome or mozilla.
    We are on the latest SP Stack 10 for Application Server Java on EHP1 FOR SAP NETWEAVER 7.0
    Thanks,
    Ratna.

    Hi Ratna,
    We are having the same issue when downloading pdf with Internet Explorer 8.
    We have EHP1 too, and the WDA works nice without the portal.
    Did you find the solution?
    Thank you.

  • Safari 5.1 and pdf display

    There used to be an option to display pdfs in Acrobat or Preview, but this doesn't seem to be available immediately any more. I do not want the pdf to open in Safari first then I have to right click the pdf page to allow it to open in Acrobat. Reading a pdf in Safari is a really inferior way.
    In Acrobat preferences the option to "Display PDF in browser..." is greyed out.
    Just upgraded to Lion, but this pdf behaviour was the same in Safari 5.1 in Snow Leopard.
    Is there any way I can revert back to having  the option of downloading the pdf first?
    Thanks for any help

    Actually, I would like to retract the "helpful answer" because it was not helpful at all. I changed the "Open with" default to Preview to test it out, and it BEHAVES IN EXACTLY THE SAME WAY AS ACROBAT DOES. I click on the pdf icon and it opens into another Safari page. If I right click, all it will download is a xslt_request.html, not the pdf I want.
    I see that you have been giving this information out to other people. Could you please try it out yourself. Here is a test page.
    http://journeyplanner.tfl.gov.uk/
    In the from field: put "london Bridge station". In the to field put: "Kings Cross station". Click "Search". On new page click "view selected".
    A web page will open with some pdfs on the right. Click on one, and it will open to a new Safari page. Right click there and instead of seeing "Open With Acrobat" it will say "Open With Preview".
    So your advice is not helpful at all.

  • 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

  • Error connecting using JCO.Client: null

    Hi,
    I created a WD app which uses  the RFC FM.  I followed How-To-build-webdynpro.pdf document to create the WD and trying to deploy and run, I see the view page but when I trigger the action via button UI element I get following error as exception in the try catch block of execute method
    In the NWA I see
    Could not create JCOClientConnection for logical System: 'WD_MODELDATA_DEST' - Model
    An exception has occurred: Erorr accessing cache [region]='XCM_SESSION_SCOPE'.
    [EXCEPTION]
    com.sap.isa.core.cache.Cache$Exception: Cannot return access for region 'XCM_SESSION_SCOPE'. Cache is not ready
    I'm using following existing JCO definition by configuring them with correct parameters.  Tested them successfully
    WD_RFC_METADATA_DEST
    WD_MODELDATA_DEST
    What am I missing?  In SM04 tcode I see 2 connections are opened with 2 Megabyte not released for a long time.  I think if connections are released correctly it should drop to 1 megabyte.  Is there anything that I need to do just after execute method as shown below (I have replaced function module with <FM> in below code)
    try {
             wdContext.node<FM>_Input().current<FM>_Get_InputElement().modelObject().execute();
         } catch(Exception exception) {
              msgMgr.reportException(exception.getLocalizedMessage(), false);
          wdContext.nodeOutput().invalidate();
          msgMgr.reportSuccess("Success");
    The error is in the catch block which is displayed on the view page.
    Thanks
    Praveen
    I modified the above code and put in finally block to close the connections as follows, please let me know if this is OK.  I still get error message as "Error connecting using JCO.Client: null" but no additional connections in the SM04 after adding finally block.
    try {
             wdContext.node<FM>_Input().current<FM>_Get_InputElement().modelObject().execute();
         } catch(Exception exception) {
              msgMgr.reportException(exception.getLocalizedMessage(), false);
         }finally {
              // disconnect the connection
              wdContext.<FM>_Get_InputElement().modelObject().modelInstance().disconnectIfAlive();     
    Edited by: Praveen11 on Oct 5, 2009 9:06 AM

    Thanks Satish.
    The issue is resolved.  I think it was to do with permission, as I was running directly from NWDS deploy and run the session didn't have proper authorisation or something that was causing this error.
    When I copy pasted the URL in the correct browser session window I got no error and function module was successfully executed.   However the issue now is that values are not showing up in the view may be to do with mapping context or model  I'll review and post back as different thread.
    Thanks
    Praveen

  • What is dynpro? what are its components?

    hi
    what is dynpro? what are its components?

    hi
    good
    Web Dynpro is SAP's development environment for creating professional web user interfaces for business applications. Its model-driven approach minimizes manual coding and uses visual tools to design and reuse UI components. Web Dynpro is based on a powerful and flexible Model-View-Controller (MVC) architecture that ensures a clear separation of user interfaces and back-end services. Developers have full control of the generated code at all stages of the development process. Get an overview of the fundamental concepts of Web Dynpro.
    https://www.sdn.sap.com/irj/sdn/was?rid=/webcontent/uuid/063bc942-0a01-0010-e7ae-d138e97acb5a [original link is broken]
    Go through this links
    Webdynpro wiki
    Web Dynpro is a development environment enabling enterprises to model and develop professional applications based on browser technology, including a standards-based, device-independent complete runtime environment.
    It bridges the gap between different platforms such as J2EE, ABAP and Microsoft.NET, and between different Internet browsers and mobile platforms.
    It allows the developer to define screen and Workflow using Java Server Pages that call ABAP applicatons in the R/3 server. Web Dynpro can be used to provide Web services. This ability means that your Web Dynpro applications can have complete interoperability with the .NET platform.
    See the link below for more information on Web Dynpro:
    http://epic.hpi.uni-potsdam.de/nwlab/docs/2004-11-01-WebDynpro.pdf
    Go through the link below to get an idea how to create applications using webdynpro
    http://help.sap.com/saphelp_nw04/helpdata/en/4b/9b3a3e5069eb6ce10000000a114084/frameset.htm
    reward point if helpful.
    thanks
    mrutyun^

  • Filename in Webdynpro for a PDF created with Smartform

    Hi,
    I created a PDF with Smartform in my Webdynpro-Application.
    When I click the save button there is a default filename f.pdf .
    How can I change the filename?
    Regards
    Marcus Schug

    Hi Experts,
    any update on this?
    I am facing the same problem with ESS payslip (smartform/Hrform): my customer wants to have custom file name for download salery statements from the portal. Do you know how to change the default form name unknown.pdf to e.g.. "payslip_month_year"?
    I spent a lot of time to find any possibility to get and change the file name but without success till now.
    Please respond.
    Regards,
    Zdzislaw Kaczmarczyk
    Edited by: Zdzislaw Kaczmarczyk on Jun 14, 2010 4:41 PM

  • Behaviours not working in PDF prototype [click-through]

    I'm trying to create a click-through PDF using Behaviours to swap out images onClick. My aim is to create a prototype PDF of a website for my Portfolio by mimicking a Spry Widget.  Please see image below.
    FYI:  I do have an issue with the Main-Nav which uses simple slices linked to their named page [via Link in Properties].  These are naturally shared in each page via Web Layer from a Master Page.  This menu doesn't function in Preview mode or once exported or previewed in a browser.[Google].  However, it does click-through in PDF format!  So all good there.
    I'm concerned with the 2nd Nav set; 1.1 to 1.9.  A simple set of rectangular Slices linking to the content area below - a single large rectangular Slice.  These Slices are not in the Master Page but located in the Design page of my document, and in all the States of the Design page, of which there are 12 in total. This Nav bar has simple UP, OVER and DOWN States that swap-out and seem to work fine and click-through OK, if previewed in a browser and in Preview mode within Fireworks. 
    However, click-through does not function in a PDF.  Each nav-tab Slice is using Behaviours: onMouseOver | Set Nav Bar Image and the second Behaviour being: onClick Swap Image, then names the correct slice to show onClick in the Behaviours' Panel.
    I have tried variations such as adding a Hotspot to create a hand on rollover and clicked and unclicked various Behaviour options in the Behaviours Panel to no avail.  I wondered if it was a PDF option that needed fixing much like when exporting a file from InDD but I can't find a suitable PDF option.  I read elsewhere about not using Animated Gif as an Image File Type but that didn't work either.  When I export to PDF, there aren't the Slice Save options available for PDF.  Also Fireworks defaults to export to Acrobat Pro, though if I view in Pro or Reader the click-through still fails.
    I'm fairly new to Fireworks but would really like to get to grips with it and I love this prototype wizardry.  I'd like to know why the click-thru fails in PDF but functions in browser and FW Preview and why Main Nav functions in PDF but not browser?
    So any help will be greatly appreciated.
    Blanche

    The original post did not indicate the method of creating the PDF. The result that was obtained was what happens when you print to the Adobe PDF printer. To get the hyperlinks embedded in the PDF, you have to use the PDF Maker (create PDF in WORD 2007).

  • Not able to open pdf file ( smart form from webdynpro )

    Dear friends,
    while trying to download pdf file from webdynpro i am getting the following error ( pls check the screen shot and also my  code )
    could any one please let me know what's the issue
    Thanks
    Vijaya
    data    v_bin_filesize           TYPE i,
               st_job_output_info       TYPE ssfcrescl,
                bin_pdfx TYPE xstring,
    data  : it_docs     TYPE STANDARD TABLE OF docs,
              it_lines    TYPE STANDARD TABLE OF tline.
    data : lv_file_name type string.
              lv_file_name = 'PDFSMARTFORM.PDF'.
    CALL FUNCTION 'CONVERT_OTF_2_PDF'
    * EXPORTING
    *   USE_OTF_MC_CMD               = 'X'
    *   ARCHIVE_INDEX                =
         IMPORTING
           bin_filesize           = v_bin_filesize
         TABLES
           otf                    = st_job_output_info-otfdata
           doctab_archive         = it_docs
           lines                  = it_lines
         EXCEPTIONS
           err_conv_not_possible  = 1
           err_otf_mc_noendmarker = 2
           OTHERS                 = 3.
       cl_wd_runtime_services=>attach_file_to_response(
       i_filename = lv_file_name
       i_content = bin_pdfx
       i_mime_type = 'application/pdf'
       i_in_new_window = abap_false
       i_inplace       = abap_false ).

    Hi,
    I think the binary file conversion was not done properly( you haven't filled bin_pdfx, its the otf_data ). OR, Use CONVERT_OTF FM and pass format as PDF. Check this document for reference: Opening a Smartform in Web Dynpro ABAP
    Hope this helps u,
    Regards,
    Kiran

  • 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 can i display a pdf file stored in my KM from webdynpro link ?

    Hi experts,
    i try to open my pdf file stored in km, in the same window of my webdynpro java who has the fire link ?
    i user tow  iviews with inBound and outBound plug, the first one has the fire link and the seconde an iframe witch i set source parameter to my km link where my PDF is stored. Unfortunately, the iFrame don't work correctly, and my PDF is not be displayed
    Can you give some advices ?

    Hi
    Recently in my project I came across a scenario where my Web Dynpro Project had to pick the image from KM. The images to be displayed will be placed in KM. This will avoid loading the images into the Web DynPro project. More over when you have KM installed on your EP server, one can use it for storing backend data and resources. The KM Admin will be undertaking this task of uploading the images to predefined folder structures. Through the application path to the image will be provided dynamically giving you the flexibility to decide which image to be displayed according to the business logic.
    Getting an image from KM Documents to be used in Web Dynpro
    Uploading files to KM repository using Webdynpro APIs
    KM with WebDynpro
    thanks
    Suresh

  • How to open a pdf file in Acrobat Reader from a webdynpro application

    Hi,
    I need to open a pdf file stored in the server from a web dynpro application. The pdf needs to be opened in the stand alone reader at the client and not in a reader embedded in the browser.
    Cheers,
    Krish

    Hello,
    I'm fairly new to webdynpro and am trying to  render a pdf via webdynpro.
    The webdynpro application runs but I see only a blank screen with the title.Is there any specific setting I need to do in order to view this pdf?I have used the FileDownload-UIElement.
    Thanks in advance
    Biraj

  • How to create the PDF file in WebDynpro?

    Hi.
           How to create PDF file in Webdynpro?
    I have one WD screen In there i have one File Download action. Once i click that it will open one PDF file which consisting of all details.
    Pls reply me.
    with regards,
    Gobintah.R

    Hi
    Check these links
    Re: Opening a PDF File from WebDynpro
    Re: Generating PDF file using FOP API in Web Dynpro
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/ff773f12f14a18e10000000a114084/frameset.htm
    Thanks
    Edited by: Anup Bharti on Oct 16, 2008 11:51 AM

  • Offline Interactive PDF Forms Using EMail with WebDynpro for ABAP

    These is a tutorial on implementing Offline Interactive PDF Forms using Email to both send out and receive the form back using WebDynpro for Java.
    Is it possible to implement the same using WebDynpro for ABAP, specifically receiving the forms via email server.
    Regards,
    Mark

    Hi Mark,
    Check this out :
    https://www.sdn.sap.com/irj/sdn/interactiveforms-elearning
    Go to section :
    Send, Receive, and Process Interactive Forms via Email in SAP NetWeaver Application Server ABAP (RIG session 4A)
    and for the ABAP WebDynpro :
    SAP Interactive Forms by Adobe in Web Dynpro for ABAP (Session 3A) .
    I managed to make it work in my internal sytem.
    Goodluck.
    Cheers,
    Danny

  • Error opening PDF using webdynpro

    Hello All,
    I created a webdynpro application that opens a pdf document using the code described in the following link.
    Open PDF in New External Window
    I am getting the following error:
    "There was an error opening this document. The file is damaged and could not be repaired"
    But I am able to open the same file using another ASP application.
    Am I missing anything?
    Thanks in advance.

    Nikhil and Vinod,
    Thanks for your response. I used this code but it is not working. I am still getting the same error.
    In my application, I am not reading the pdf from a file. Instead, it is stored in the database as a blob. I am reading the data using the following code:
    Blob pdfBlob = resultSet.getBlob(COLUMNNAME)
    byte[] pdf = new byte[1024]
    pdf = pdfBlob.getBytes(1,(int)blob.length());
    I am storing this value in a context and then displaying it as a pdf. I am using the following code to get bytes
    byte[] pdfBytes = wdContext.currentElement().getBLOB(); (BLOB - name of the context attribute where bytes are stored)
    and using the following code to open the pdf document (as suggested)
    IWDResource pdfResource = WDResourceFactory.createResource(pdfBytes,"test.pdf",WDWebResourceType.PDF);
    *                    wdComponentAPI.getWindowManager().createNonModalExternalWindow(pdfResource.getUrl(0),"test.pdf").show();*
    Am I missing anything here?
    How can I force the pdf document to open in a browser window instead of Adobe?
    Thanks in advance.

Maybe you are looking for