1. 程式人生 > >ABAP 設定下拉框

ABAP 設定下拉框

AT SELECTION-SCREEN OUTPUT.
REFRESH LIST1.
  NAME1 = 'P_BSART'.
  VALUE1-KEY = 'ZEB'.
  VALUE1-TEXT = '配送轉儲採購訂單'.
  APPEND VALUE1 TO LIST1.
  VALUE1-KEY = 'ZCB'.
  VALUE1-TEXT = '非生產材料領料單'.
  APPEND VALUE1 TO LIST1.
  VALUE1-KEY = 'ZPB'.
  VALUE1-TEXT = '生產領料單'.
  APPEND VALUE1 TO LIST1.
  VALUE1-KEY = 'ZXB'.
  VALUE1-TEXT = '計劃直傳轉儲採購訂單'.
  APPEND VALUE1 TO LIST1.