ABAP 捕获回车键
*&---------------------------------------------------------------------* *& Report ZHUICHE001 *& *&---------------------------------------------------------------------* *&捕捉回车键 *& *&---------------------------------------------------------------------* REPORT ZHUICHE001. TABLES:MAKT. DATA:OK-CODE TYPE SY-UCOMM. PARAMETERS:P_MATNR TYPE MAKT-MATNR, P_MAKTX TYPE MAKT-MAKTX. AT SELECTION-SCREEN. CASE OK-CODE. WHEN ' '. SELECT SINGLE MAKTX INTO P_MAKTX FROM MAKT WHERE MATNR = P_MATNR. * WHEN . * WHEN OTHERS. ENDCASE.