Advertisement
CDLG_TGR

Dynpro - read listbox value selected

May 11th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ABAP 0.48 KB | None | 0 0
  1. " Ajouter un Fonction CODE sur la listBox : FC_LIST , un nom : LB_LIST
  2. " VALUE_table table utilisé lors de l'alimentation avec VRM_SET_VALUES
  3.  
  4.  IF sy-ucomm = 'FC_LIST'.
  5.      "here MY_LISTBOX either has 0 or 1, if you want to get corresponding TEXT for that simply read table
  6.      READ TABLE value_tab WITH KEY key = 'LB_LIST'.
  7.      "key value is stored in MY_LISTBOX
  8.      "text value for that key is stored in VALUE_TAB-TEXT, so you get your answer how to get selected value
  9.   ENDIF.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement