05-29-2008 2:31 PM
Hello all,
I m coding . user will enter the value between the range or single from selection screen.
I want to check these values are in my look-up table or not . if yes take those values for further calculation.
Basically i want to make check table to check entered value is there or not.
can any body tell me how to do that i m using LDB .
Thanks a lot .
05-29-2008 2:35 PM
HI,
Write the below code in AT SELECTION-SCREEN event.
SELECT matnr FROM mara
INTO lv_matnr
WHERE matnr IN s_matnr.
IF lv_matnr is initial.
MESSAGE EXXX.
ENDIF.
ENDSELECT.
Rgds,
Bujji