Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error while dowloading ALV output

Former Member
0 Likes
458

Hi All,

When am trying to download the ALV output to a spreadsheet it is giving an information message 'Filter criteria, sorting, totals and subtotals are not taken into account' and the followed by the message 'Export of a list object was terminated (internal error)'.This is occuring when the ALV does not contain any data otherwise it donload fine.In other standard report even if the ALV doesnt have data it downloads empty data to excel.what could be wrong?

THanks,

Rakesh.

2 REPLIES 2
Read only

Former Member
0 Likes
404

Hi rakesh,

You can put one condition to check the final internal table consists any data or not. If that table is not initial then display the output otherwise just display a message 'Data not found'.

I think this is the solution .

IF NOT T_FINAL[] IS INITIAL.
* Fill field catalog table
    PERFORM FILL_FIELDCATALOG.
* Fill Layout options
    PERFORM FILL_LAYOUT.

    CALL SCREEN 0100.
ELSE 
  MESSAGE ' No data found' Type 'E'.

  ENDIF.

Check whether you filled fieldcatalog correctly or not.

Regards,

Rajitha.

Read only

Former Member
0 Likes
404

Rakesh,

check your fieldcat properly.

are they maintained properly like table name and field name in caps and spell mistake should not be there.

and please give full error message for further analysis.

Amit.