change sscrfields structure function key dynamically
I want to create own function key for selection-screen button in application toolbar.
If possible to change at run time.
SSCRFIELDS-FUNCTXT_01 = 'INSERT'.
SSCRFIELDS-FUNCTXT_02 = 'UPDATE'.
AT SELECTION-SCREEN OUTPUT.
SET PF-STATUS 'TEST' .
The exixt func.keys are CnttF1 & CntlF2.I want to change into F6 & F7.