2021 Feb 09 6:36 AM
Hi Friends,
The existing program using cl_salv_table for alv display.
Now the requirement is that to send a mail with the attached excel.
The excel is saved ALV layout format.
i am trying to use REUSE_ALV_VARIANT_SELECT FM. But layout is mandatory input.
How to get the layout values from cl_salv_table?
Thanks and Regards,
Vallamuthu M.
Hi Friends,
The existing program using cl_salv_table for alv display.
Now the requirement is that to send a mail with the attached excel.
The excel is saved ALV layout format.
i am trying to use REUSE_ALV_VARIANT_SELECT FM. But layout is mandatory input.
How to get the layout values from cl_salv_table?
Thanks and Regards,
Vallamuthu M.
2021 Feb 09 8:05 AM
If you just want to get the characteristics of the current layout:
DATA(layout) = go_salv_table->get_layout( )->get_current_layout( ).
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |