report zkfmb_02 .
include zkfmb_02_t01."T01
include zkfmb_02_sel."SEL
include zkfmb_02_f01."F01
include zkfmb_02_alv."ALV
"INCLUDE ZKFMB_02_BTN."button
initialization.
* selection-screen:function key 1.
* sscrfields-functxt_01 = 'butonn name'.
"PERFORM initial_value.
at selection-screen.
"PERFORM check_value.
start-of-selection.
perform get_all_data.
check not gt_out[] is initial."false exit
perform inert_all_data.
end-of-selection.
perform show_alv.
*----------------------------------------------------------------------*
* INCLUDE ZKFMB_02_T01 *
*----------------------------------------------------------------------*
type-pools: slis.
tables: isellist,sscrfields.
types:begin of ty_out,
matnr type matnr,
end of ty_out.
data:gt_out type table of ty_out with header line.
field-symbols: <gt_out> type ty_out.
*----------------------------------------------------------------------*
* INCLUDE ZKFMB_02_SEL *
*----------------------------------------------------------------------*
selection-screen begin of block blk1 with frame title text-098.
select-options: s_matnr for gt_out-matnr.