Hi Team,
I have a requirment where I need to read entries with *
For Exa :
My Internal table contains Rec1 with SORTL = AB1234 .
And table key contains value lv_sortl = 1234.
I need to retrive the Rec1 though it has AB1234. Normally we can do the similar thing on DB table
(i.e) In select Options for field SORTL if we give *1234, then a Record is displayed. Now I need to do the similar thing through Program.
Currently I am using the below which is helpless.
READ TABLE i_kna1 INTO wa_kna1 WITH KEY sortl = lv_sortl.
I have a solution I need to loop the Internal table and use String Operators(Contains any or Contains Pattern), but I cant do this because its a huge table and I have to loop it everytime inside a loop.
Is there any alternate way to do this ?
Thanks in advance.
use proper subject line for your posts
Edited by: Vijay Babu Dudla on Jan 20, 2009 8:18 AM