tables: SSCRFIELDS <<===该结构是必须的,SAP共预留了5个按钮
PARAMETERS P_WERKS TYPE MARC-WERKS OBLIGATORY.
PARAMETERS FS_DYNS TYPE RSDS_TYPE NO-DISPLAY.
SELECTION-SCREEN: FUNCTION KEY 1. <<===该段落是必须的,是用于激活选择屏幕中预留的按钮
INITIALIZATION.
SSCRFIELDS-FUNCTXT_01 = ‘Testing’(002). <<===按钮的描述
AT SELECTION-SCREEN.
CHECK SSCRFIELDS-UCOMM = ‘FC01’. <<===每一个按钮相对应的功能码
…