Skip to Content
0
Former Member
May 03, 2014 at 07:56 AM

How can i set variant in alv ?

387 Views

I using this method but i can't get solution this way

How can i do this ?




data tab2 type DISVARIANT .

tab2-REPORT = sy-repid.

tab2-VARIANT = '/0010/'. "Variant Name

tab2-username = sy-uname.




call method r_grid->set_variant

exporting

is_variant = tab2

i_save = 'A'.