Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

look-up table

Former Member
0 Kudos

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 .

1 REPLY 1

Former Member
0 Kudos

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