Skip to Content
avatar image
Former Member

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


I am using excel data export using the

"Exporting Context Data into Excel Using the Web Dynpro Binary Cache" guide at

this" target="_blank">">this link.

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jan 15, 2007 at 11:45 AM


    Seems that you had built your project using JDK 1.5, then deployed it to server running on JDK 1.4

    Valery Silaev

    SaM Solutions

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 13, 2007 at 12:58 PM

    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 Exporting" target="_blank">">Exporting Table Data Using On-Demand Streams - SAP NetWeaver 7.0.


    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");
          "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

    Add comment
    10|10000 characters needed characters exceeded