Push button on selection screen’s toolbar

REPORT z_test9 NO STANDARD PAGE HEADING .

TABLES: sscrfields.

SELECTION-SCREEN FUNCTION KEY 1.
SELECTION-SCREEN FUNCTION KEY 2.

PARAMETERS: P_TEST(8) TYPE C.

INITIALIZATION.
sscrfields-functxt_01 = ‘button1′.
sscrfields-functxt_02 = ‘button2′.

AT SELECTION-SCREEN.
CASE sy-ucomm.

WHEN ‘FC01′.

P_TEST = ‘FC01′.

WHEN ‘FC02′.

P_TEST = ‘FC02′.
ENDCASE.

Comments are closed.