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

cl_salv_table - Get saved layout values

vallamuthu_madheswaran2
Active Contributor
0 Likes
913

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.

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
807

If you just want to get the characteristics of the current layout:

DATA(layout) = go_salv_table->get_layout( )->get_current_layout( ).