Skip to Content
avatar image
Former Member

Problem with export to excel functionality

Hi All,

I am working with export to excel functionality.

I have created level based reports which displays dynamic table in each level by clicking on link to action.

Each level has dynamic table and export to excel functionality which exports the data from the table to excel sheet.

Issue: At first time click

After the 1st level is rendered without clicking on export to excel, moving to 2nd level. Now in 2nd level I am clicking on export to excel which exports the data of the 2nd level correctly in the excel sheet.

Now coming back to 1st level and if i click on export to excel, it is exporting the 2nd level data to the excel sheet which is absolutely wrong. It has to export the 1st level data.

But after rendering the 1st level if i click on export to excel in 1st level it is working fine . Then if u move to 2nd level and click on export to excel it is also working fine.

The problem occurs when you go to 2nd level export to excel then coming back to 1 st level export to excel.

What could be the reason for this issue?

I am using JXL API and everything is dynamic.

This is very urgent.

Please suggest.

Regards,

Subashini.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 28, 2008 at 06:43 AM

    Hi,

    Which version of IE are you using?

    Clearing your IE cache and try the same steps, if it works

    Regards

    Ayyapparaj

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Ayyapparaj,

      Thanks for your replies. Where do I write this if condition?

      In modify view or init method itself?

      in init method i ve the following code:

      Setting the input values for bapi for each level and executing the bapi in the init method itself.

      if(reportLevel==1){

      toExcel(param value);

      }

      if(reportLevel==2){

      toExcel(param value);

      }

      Pls explain.

      Regards,

      Subashini.

  • avatar image
    Former Member
    Jul 03, 2008 at 12:06 PM

    Hi,

    My issue got resolved. We need to specify different excel file name for different levels.

    Thanks for replies.

    Regards,

    Subashini.

    Add comment
    10|10000 characters needed characters exceeded