cancel
Showing results for 
Search instead for 
Did you mean: 

Could a TABLE UI provide export function?

Former Member
0 Kudos

In WD4A SALV_WD_TABLE, there is an EXPORT button above the alv table, and it can export the table contents into M$ excel.

Can the UI element CL_WD_TABLE be able to export the table data into excel automatically, like ALV?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

As suggested you can use your own logic to export to excel or use the ALV instead for such use cases.

former_member199125
Active Contributor
0 Kudos

That can be achieve this by customizing the code

You have to place one button, inside that button you have to write the code to download data into excel. In abap we have Function module to convert the data into excel format.

to avoid these,alv provided default functionality.

Regards

Srinivas

Former Member
0 Kudos

The problem is, there are many Tables need to export data.

If the CL_WD_TABLE cannot offer such method like ALV, the easier way is change the UI from Table to ALV.

Former Member
0 Kudos

Then i think ALV is appropriate for you.