Skip to Content
0
Nov 12, 2020 at 05:53 PM

Radiobutton for different output in alv grid

288 Views

Hi, i have this request in my report:

Using the FM REUSE_ALV_GRID_DISPLAY, generate the following output:

If radiobutton RB_ITM is selected, create the output with following fields:

EKKO-BUKRS

EKKO-AEDAT

EKKO-LIFNR

LFA1-NAME1

LFA1-LAND1

EKPO-EBELN

EKPO-MATNR

MAKT-MAKTX

EKPO-MENGE

EKPO-MEINS

If radiobutton RB_SCHED is selected, create the output with following fields:

EKKO-BUKRS

EKKO-AEDAT

EKKO-LIFNR

LFA1-NAME1

LFA1-LAND1

EKPO-EBELN

EKPO-MATNR

MAKT-MAKTX

EKPO-MENGE

EKPO-MEINS

EKET-ETENR

EKET-EINDT

EKET-WMENG.

For the moment i used a structure (with all fields) created in the data dictionary that i used in the field catalog merge