Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
grid.pdf
Скачиваний:
57
Добавлен:
21.05.2015
Размер:
795.44 Кб
Скачать

An Easy Reference for ALV Grid Control

As you examine at Code Part 19, after preparing the values table, we register our table by the method “set_drop_down_table”.

Managing Display Variants

You can manage display variants by using parameters, “is_variant” and “i_save” of “set_table_for_first_display”. Here are options for variant handling. <structure_name> is the variant-defining structure of type “DISVARIANT”. The field “report” in this structure should contain the value of “sy-repid”.

Mode

 

 

is_variant

i_save

Change current display

SPACE

SPACE

variant

 

 

 

 

 

 

Select

and

change

<structure_name>

SPACE

current display variant

 

 

Select,

change and

 

‘U’: Only user-specific

save

current

display

<structure_name>

‘X’: Only global

variant

 

 

 

‘A’: Both

Table 9 – Display variant modes

© 2005 SAP AG

33

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]