Skip to Content
0
Former Member
Jun 04, 2014 at 07:14 AM

how can i get Variant Change Button and Variant save button to toolbar?

26 Views

Here is my code part as you see There are no variant save and variant change buttons ?

Can you help me ?

Thanks & Regards

CALL METHOD r_grid->set_table_for_first_display

EXPORTING

i_save = 'X'

" is_variant = gv_variant

is_layout = LVC_S_LAYOUT

CHANGING

it_outtab = GET_ITAB[]

it_fieldcatalog = SAVE_FCAT[]

it_sort = GET_SORT[]

EXCEPTIONS

invalid_parameter_combination = 1

program_error = 2

too_many_lines = 3

OTHERS = 4.

IF sy-subrc <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

Attachments

ss2.jpg (28.3 kB)