Skip to Content
0
Former Member
Oct 20, 2006 at 04:48 AM

Help On Read

16 Views

Hi,

I have the below data in my internal table and i am reading the resords based on some condition as below.

CLEAR w_jest.

SORT i_JEST.

READ TABLE i_jest

INTO w_jest

WITH KEY objnr = w_iflot-objnr

stat+0(1) = 'E'

inact = ' '

BINARY SEARCH.

The internal table data is as below.

OBJNR STAT INACT

===================================

IF00000000000000004113|E0001|

IF00000000000000004113|E0002|X

IF00000000000000004113|I0098|

IF00000000000000004330|E0001|

IF00000000000000004330|E0002|X

IF00000000000000004330|I0098|

IF00000000000000004331|E0001|

IF00000000000000004331|E0002|X

IF00000000000000004331|I0098|

IF00000000000000624145|E0002|X

IF00000000000000624145|E0003|

IF00000000000000624145|I0098|

IF00000000000000624164|E0002|X

IF00000000000000624164|E0003|

IF00000000000000624164|I0098|

IF00000000000001260720|E0001|

IF00000000000001260720|E0002|X

IF00000000000001260720|I0098|

IF00000000000001437518|E0002|X

IF00000000000001437518|E0003|

IF00000000000001437518|I0098|

IF00000000000001454313|E0002|X

IF00000000000001454313|E0003|

IF00000000000001454313|I0098|

IF00000000000001454314|E0002|X

IF00000000000001454314|E0003|

IF00000000000001454314|I0098|

IF00000000000001454315|E0002|X

IF00000000000001454315|E0003|

IF00000000000001454315|I0098|

IF00000000000001454316|E0002|X

IF00000000000001454316|E0003|

IF00000000000001454316|I0098|

Now while reading the records based on the above condition I am getting the result for some records and not getting for some records even the condition matches. Can anyone help me out.

For OBJNR value 'IF00000000000000624145' i am not getting the record even the condition is matched. For this OBJNR it should pick the record where STAT = E0003. But its not picking the record.

Also one strange thing is for OBJNR value 'IF00000000000000624164' its picking the matched condition where STAT = E0003.

Pls help me out as why its not picking the record for the condition mentioned.

Regards,

Ram