Regarding Web Dynpro Binary Cache

Hi All,
I have a Table in my view and I want to export the data in the table in Excel. I have a pdf Exporting Context Data into Excel Using the Web Dynpro Binary Cache
It talks about the Sample Application WDExcelExport.zip. I am unable to locate this zip file
Also for using Web Dynpro Binary Cache do I need to add some other JAR files in the classpath.
Is it possible that apart from saving the data in excel, can the data be saved in some other formats eg .html, .txt, .pdf
Regards
Nikhil Bansal

Hi Abhijeet,
When I am trying to download the Sample Application for Excel Export from the foll. link https://wwwn.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/bad3e990-0201-0010-3985-fa0936d901b4 [original link is broken] then I get the foll error
Portal Runtime Error
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
The exception was logged. Inform your system administrator..
See the details for the exception ID in the log file
I need to take a look at the application.
Plz help.
Regards
Nikhil

Similar Messages

  • Export to Excel Problem external DC using Web Dynpro binary cache

    Hallo,
    I want to export from Web Dynpro to Excel. For this I study the Tutorial "Excel Export Using the Web Dynpro Binary Cache".
    The example is running without a problem.
    I have create a new DC only for excel export. The name is ExcelExportWD. In this DC I create a Component and programmed the methods of the example. Also I create the View and the Context for it.
    This DC is used in other DCs. I put the Component to the public part. After than I make the entry in the used DCs in that DC which I want to use the Excel export. I use the DC ExcelExportWD in the DC ContactsWD.
    The ContactsWD is running without a problem.
    If I try now to export to Excel I got the following error.
    <b>com.sap.tc.webdynpro.services.sal.api.WDDispatcherException: Requested deployable object 'mgi.de/portalscmContactsWD' and application 'ResultGetContacts.xls' are not deployed on the server. Please check the used URL.</b>
    In the View of the ExcelExport the name of file is not visible in the URL of the ExcelFileName. The name "ResultGetContacts.xls" is the name of the node which I want to export.
    What is wrong? I have try to set a Sharing reference in the ContactWD without success.
    An idea ?
    Regards
    Gunter

    Hallo,
    I want to export from Web Dynpro to Excel. For this I study the Tutorial "Excel Export Using the Web Dynpro Binary Cache".
    The example is running without a problem.
    I have create a new DC only for excel export. The name is ExcelExportWD. In this DC I create a Component and programmed the methods of the example. Also I create the View and the Context for it.
    This DC is used in other DCs. I put the Component to the public part. After than I make the entry in the used DCs in that DC which I want to use the Excel export. I use the DC ExcelExportWD in the DC ContactsWD.
    The ContactsWD is running without a problem.
    If I try now to export to Excel I got the following error.
    <b>com.sap.tc.webdynpro.services.sal.api.WDDispatcherException: Requested deployable object 'mgi.de/portalscmContactsWD' and application 'ResultGetContacts.xls' are not deployed on the server. Please check the used URL.</b>
    In the View of the ExcelExport the name of file is not visible in the URL of the ExcelFileName. The name "ResultGetContacts.xls" is the name of the node which I want to export.
    What is wrong? I have try to set a Sharing reference in the ContactWD without success.
    An idea ?
    Regards
    Gunter

  • Exporting table data to MS-Excel Sheet(enhanced Web Dynpro Binary Cache)

    Hi experts,
    I am trying to implement the functionality of downloading the contents of a webdynpro screen to excel sheet. In order to implement the functionality of excel download i used the following blog.
    [/people/subramanian.venkateswaran2/blog/2006/08/16/exporting-table-data-to-ms-excel-sheetenhanced-web-dynpro-binary-cache ]
    In this blog they have used javaexcel api to implement the excel functionality. I face some problems
    while implementing it.
    i) The use of "Label label = new Label(0, 2, "A label record");
    sheet.addCell(label); " is not supported. It says that a constructor for label with
    (int, int, str) parameter is not available.
    ii) Then i implemented it with "Label label = new Label("A label record"); " Then i deployed it. I got a runtime exception saying that " java.lang.ClassNotFoundException: jxl.format.CellFormat ".
    This cellFormat is an interface available in the jar. I am using jexcelapi_2_6_9_1.4 version. Do i have to
    download some other versions.
    Please help. Thanks in advance.
    Regards
    Ramanan

    Hi,
    Please check the following steps while creating External Library DC:
    1) creating an Extneral library DC
    2) import the JARs to the libraries folder of the External Library DC project
    3) Right-click on each of the JARs imported to the project and add them to the public part.
    This DC is now ready to be used as a build-time reference that will allow CBS to build the "main" Web Dynpro application that will use the external libraries. Next, we have to create a new Web Dynpro DC to hold the class files here are the steps:
    1) Create a new Web Dynpro DC
    2) Create a new public part, selecting the "Can be packaged into other build results" option
    3) Rename the JARs as Zip files and extrct the full content (folders and class files) to your root folder
    4) Import the folders and files to the src/packages folder
    5) Expand the public part node that was created and select the "Entities" node, right-click it and choose Edit
    6) In the Entity Type list select the "Folder" option then in the selected entities tree pick each of the folders that you imported in step 5 (above)
    7) Now do a DC build and a DC deploy of the project
    Then check-in, activate, and release any activities you have associated with creating these two projects. In the DC perspective, refresh the Active DCs and Inactive DCs to ensure that both new DCs appear in the Active list. Now we have to setup the references to these DCs in our main Web Dynpro application. To do this, follow these steps:
    1) Open the Web Dynpro perspective and right click the Used DCs node then choose "Add Used DC.."
    2) Pick the public part of the External Library DC that we created (first) and set it to have a Build Time dependency
    3) Again, right click the Used DCs node and choose "Add Used DC.." then choose the public part of the Web Dynpro DC that we created and give it a Run Time dependecy (weak) and click finish.
    4) Now, due to what I think is a bug. You must right click on the Web Dynpro "used DC" that you just added in the previous step, and set the run time dependency again (it seems to revert to the default values for some reason)
    5) Now do a DC build and a DC deploy on the "main" web dynpro application.
    6) Check-in, activate, and release any activities associated with adding these references and then others on your team may use the classes in the external libraries within the Web Dynpro project.
    Regards.
    Rajat

  • Problems  with example Web Dynpro Binary Cache service.

    Hi!
    I made the example explained in PDF  Web Dynpro Binary Cache service, everything works fine but i faced a problem when a tried to download the excel file in XP  spanish version , all the columns  names came disorderly. These names are technical names of my nodes, i'm using bapis models to connect with R/3
    Who knows how can i solve this feature, the example works fine in my english XP`s version.
    Thanks!

    Hi Maria,
    which tutorial number do you refer to?
    Regards, Bertram

  • Exporting into Excel Using the Dynpro Binary Cache is not working on NW04s

    Hello,
    I am using excel data export using the
    "Exporting Context Data into Excel Using the Web Dynpro Binary Cache" guide at
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/edc2f3c2-0401-0010-8898-acd5b6a94353">this link</a>.
    The tutorial is working on NW04 but when I use it on NW04s I receive errors for the StringBuffer object:
    java.lang.NoSuchMethodError: java.lang.StringBuffer.append(Ljava/lang/String;)Ljava/lang/AbstractStringBuilder;
    Any ideas?

    Hallo Roy,
    I have created an updated/enhanced version of this tutorial running on NW 7.0. The new solution allows to open the exported Excel File instantly without opening a popup window befor:
    See <a href="https://wiki.sdn.sap.com/wiki/x/0mQ">Exporting Table Data Using On-Demand Streams - SAP NetWeaver 7.0</a>.
    <b>NOTE:</b>
    Use <b>LinkedHashMap</b> instead of <i>HashMap</i>
      private Map getProductColumnInfos() {
        Map columnInfosMap = new LinkedHashMap();
        columnInfosMap.put(IPrivateTableCompBasketView.IProductsElement.QUANTITY, "Quantity");
        columnInfosMap.put(IPrivateTableCompBasketView.IProductsElement.ARTICLE, "Article");
        columnInfosMap.put(IPrivateTableCompBasketView.IProductsElement.COLOR, "Color");
        columnInfosMap.put(IPrivateTableCompBasketView.IProductsElement.PRICE, "Price in EURO");
        columnInfosMap.put(
          IPrivateTableCompBasketView.IProductsElement.TOTAL__PER__ARTICLE,
          "Total Per Article In Euro");
        return columnInfosMap;
    This keeps the order of key-displaytext-pairs passed by the client (table component) to the service (excel export component) stable.
    Regards, Bertram

  • I need help regarding web dynpros.

    what is web dynpro? and  how to create it?

    Hi,
    Webdynpro is actually the front end that we use in Web Application server. It allows the developer to define screen and Workflow using Netweaver Developer Studio that call ABAP applicatons in the R/3 server.There are pre defined UI elements as well as APIs which we can use to write the logic.SAP has structured the WebApplication Server in such a way that we can easilly do the data binding between model,controller and view.
    ) How to build a Web Dynpro Application
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/how%20to%20build%20a%20web%20dynpro%20application.pdf
    2) How to program Portal Eventing
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/how%20to%20program%20portal%20eventing
    3) How to integrate a Web Dynpro Application into SAP EP 6.0
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/how%20to%20integrate%20a%20web%20dynpro%20application%20into%20sap%20ep%206.0
    Hope this helps you
    Regards
    Bala

  • Regarding Web Dynpro (java)

    Hi Experts,
      Im a  Beginner of SAP Netweaver developer studio in Web Dynpro (Java). I have created 2 buttons in designer view. I have to write coding for that Button in implementation part. how to wirte an event for that button? I would be thankful.
    Regards,
    DhanaLakshmi

    HI,
    This PDF mentions how to use buttons
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/a-c/creating%20your%20first%20web%20dynpro%20application.pdf
    Sample applications are given in this link.
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    PDF's with the sample applications give you step by step guidance.

  • Regarding: web dynpro for JAVA in giving application to client

    hello all,
    I made an webdynpro application accessing data from r /3.
    using bapi call .its working fine but i want to know how we supply it to client.
    mean what we do with this application that we made. so that it can be accessed from net.
    and how.
    and what else we can with this application.
    thanks
    Edited by: Punit Pawar on Jul 21, 2008 6:53 AM

    Hi,
    As I said it can be achieved by using DC's (development Components)  in NWDI.
    As your example....
    2 person team one is making for quotation creation another one is making for sales order. how will these 2 application combine.
    The first person will create DC for Quotation and Second person will create a DC for Sales Order. Both can be combined at the SC level and can shipped via SDA using CBS.
    Here is a great document on NWDI.
    here you can download , steps for installtion, configuration, sample tutorials / applications, a Video DEMO on NWDI....
    every thing related to NWDI..... https://www.sdn.sap.com/irj/sdn/javaee5?rid=/webcontent/uuid/f6eb8e9e-0901-0010-8abb-cba5279db9b6
    and also look at these threads
    /message/5817556#5817556 [original link is broken]
    Re: Migrate Local DC to NWDI
    coming to 3rd question on JCO's
    I am not sure but can say....When you move to production server bapi's will go along with that or at least bapi object will be there in the production server. so there is no problem. you have to be clear with BASIS team about RFC name's.
    PradeeP

  • Web dynpro export functionalities

    Hi all,
    I'm beginning with web dynpro and I would to know if it's possible to send web dynpro's data to Excel.
    Thanks to everybody.
    Best regards.
    Dustin Klerck

    Hi Dustin,
    in this Blog you can find the solition to your problem:
    <a href="/people/subramanian.venkateswaran2/blog/2006/08/16/exporting-table-data-to-ms-excel-sheetenhanced-web-dynpro-binary-cache:///people/subramanian.venkateswaran2/blog/2006/08/16/exporting-table-data-to-ms-excel-sheetenhanced-web-dynpro-binary-cache
    In that blog you also find a pre-requisite tutorial:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/1208c2cd-0401-0010-4ab6-f4736074acc6">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/1208c2cd-0401-0010-4ab6-f4736074acc6</a>
    Best regards.
    Gianluca Barile

  • How to store a file and refer it from another file using the Binary cache?

    Hello,
    I think it's a long shot but I thought I will give it a try.
    I am creating an excel file from an xml String using the Web Dynpro Binary cache.
    The problem is that when columns with numbers are involved an extra #agg column is being added by the excel "flattener" which is in charge of rendering the excel file from the xml String.
    The only way to override this excel feature is to supply your own XSLT and reference it from the XML. Now, since I am not using an actual filesystem but the Web Dynpro Binary cache, is it possible to use this cache in order to store there the xslt and refer it later from an XML?
    Roy

    Hi,
    Just found out this.. See if you can make use of it..
    getPublicCachedWebResource(byte[] webResource, WDWebResourceType resourceType, WDScopeType scopeType, WDDeployableObjectPart deployableObjectpart, String key)
    <i>          returns a IWDCachedWebResource, <b>which is saved directly to the WDDeployableObject directory.</b></i>
    you can make WDDeployableObject as your component and point the reference to the component folder.. Since you are specifying a scope type.. it shoukd be deleted after the scope defined...
    Lemme know if this works..:)

  • Binary cache jxl.Format.CellFormat exception

    Hi everyone,
    I am trying out the example given at <a href="/people/subramanian.venkateswaran2/blog/2006/08/16/exporting-table-data-to-ms-excel-sheetenhanced-web-dynpro-binary-cache location.</a> The WD project compiles without any problems but during runtime, I get the following exception -
    java.lang.NoClassDefFoundError: jxl/format/CellFormat
    I included the jxl.jar and checked it too for the CellFormat class. It exists in the jar file in the correct folder too. Has anyone come across this problem before?
    Any ideas or hints would be appreciated..
    Thanks!
    t00th
    Message was edited by: Sameer Jagirdar
    Fixed the link

    Inside blog explain how to use the library for NWDS, but nope how include into PROJECT.
    You need to import the library into "lib" folder.
    From NWDS, WebDynpro prospect, click to "Navigator" tab, right click on "lib" folder --> import --> File System --> choose JAR files.
    Build and deploy.

  • Possibility of Web dynpro ABAP development for SAP R/3 4.7 Version

    Hi Experts,
         I request for information regarding Web Dynpro ABAP. We have SAP R/3 4.7 as back end. And we are going to implement NetWeaver 2004s - Enterprise Portal 7.0 as front end. We are taking development option as Web Dynpro ABAP. Is it possible to do development in Web Dynpro ABAP where you have SAP R/3 version as 4.7.
    Regards,
    Venkat.

    Hi Heidi ,
    Thank you for your reply. I have assigned points to you. Could you pls give any SAP notes which is giving this information
    Regards,
    Venkat.

  • How can I call a java object from Web dynpro ABAP application?

    I made Web dynpro ABAP application and posted it to SAP EP.
    For certain business purpose, we need to call external 3rd party java object using 3rd party's java api in Web dynpro application.
    Is there anybody who experienced this kind of java interface issue?
    I know Web dynpro Java environment can fully support this kind of requirement. but regarding Web dynpro ABAP, I couldn't find any clue for this.
    Any comment or suggestion would be greatly appreciated.
    Thanks,
    Raymond, ABAP Consultant

    if you have jco configured, then you can make calls to java api from ABAP .
    check out this weblog.
    /people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
    Raja

  • 500 Internal Server Error - Working with Web Dynpro

    Hi,
    I need some help regarding "Web Dynpro's"
    When i try and and run the test from :- Support Desk- Web Dynpro Test Tools-
    Portal Navigation, the following error occurs:-
    500 Internal Server Error
    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 'ObjectLinkNavigation' of deployable object 'sap.com/tcwdeptests'.
        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
    Do i need some configuration to be done in order to get these Web Dynpro's working. Also when i try and Preview the iview, it comes back with a blank screen.
    Please help !!!
    Regards,
    Morgan

    Many thanks for your prompt response.
    I have attached a snapshot of the log files, please see if you could assist.
    #1.5#0003BA184A5000710000010900002C6B00042F8E70317E4A#1178188720995#com.sap.tc.webdynpro.sessionmanagement#sap.com/tcwddispwda#com.sap.tc.webdynpr
    o.sessionmanagement.ExceptionHandler.handleThrowable()#a145254#6362##hrqup00_QUP_6921950#Guest#facca4d0f95a11dbb2e60003ba184a50#SAPEngine_Applicatio
    n_Thread[impl:3]_26##0#0#Error#1#/System/UserInterface#Java###An exception "com.sap.tc.webdynpro.repository.RepositoryRuntimeException: XMLParser: B
    ad attribute list. Expected WhiteSpace, / or >: (:main:, row:1, col:493)" has occured during application processing. During clean-up an additional e
    xception "com.sap.tc.webdynpro.repository.RepositoryRuntimeException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >: (:main:, row:1, co
    l:493)" was thrown. The stacktraces has been written to the logfile!
    [EXCEPTION]
    #1#com.sap.tc.webdynpro.repository.RepositoryRuntimeException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >: (:main:, row:1, col:4
    93)
            at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter.startParsing(XMLConfigurationParserWriter.java:178)
            at com.sap.tc.webdynpro.repository.persistence.xml.XMLPersistence.doReadVMO(XMLPersistence.java:126)
            at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.readVMO(RepositoryPersistence.java:356)
    Many thanks,
    Morgan

  • ABAP Objects and Web Dynpro

    Hello everyone,
    I would like to know if it is possible to have instances of a class as a part of a controller context. You know, like if you added a service call to a BAPI or a function group, but with method calls to an object instead.
    I have a feeling, that it is uncommon to bring Web Dynpro and the object orientation of ABAP Objects together.
    For example, i don't want the event handling code of my controllers to call function groups, which in turn make calls to my object oriented model. Is there a way to skip that nasty imperative step?
    Sorry for asking questions which may sound vague or naive, I'm kind of a beginner regarding Web Dynpro and ABAP.
    cheers,
    Jens Barthel

    There's no need at all to have function modules in the way.
    You can have either controller attributes or context attributes defined as object references, and then call methods from those objects instead...
    In both cases, you just have to use TYPE REF TO instead of TYPE when defining the attributes.
    Furthermore, if you have a central class through which you interact with your OO model, you can define it as Assistance class and then you'll have an instance automatically in all the controllers...the drawback / advantage is that you do not control its instantiation which is done by the framework.
    Regards
    Edited by: Alejandro Bindi on Oct 14, 2008 6:23 PM

Maybe you are looking for

  • Video screen caps

    I can't seem to figure out how to do this right - I always tend to get just a blue background.... I've been using import to take a snap of a full screen xine window... *thumbs down* Is there something I'm not doing right?

  • Autoquit in DIadem 11

    Hi, I am trying to autoquit in a script which is been called by and exteral service through ToCommand. The program works fine with 10.2 but when the same program is run in version 11 the script is not terminated. When I checked the help file it says

  • New entries with restricted values in SM30

    Dear all, I have an issue and I don't know how to fix this ... We have a Z-table that should be maintained by some key-users ... This table contains a few fields : MANDT, KUNNR, WERKS, PARVW and PERNR ... The fields KUNNR and PARVW should only get so

  • Sales order for sales BOM item

    Hi, We are facing a problem in 2007B While creating sales order for a item which has sales BOM and excise able and the component of sales BOM item are also excise able, system is not saving the sales order.We have to go into the component item master

  • Voice distortion problem in Garageband...can anyone help?

    While recording a 30 minute audio clip of voice with some ambient noise...the voice begain to get distorted. There are 5 segments of voice all recorded using Macbook Pro microphone built in. On the second segment, a noise that sounds like low white n