‎2006 Oct 23 7:52 PM
Hello friends,
I have to read a internal table based on it_zzsd-Kunnr.
I am using,
READ TABLE it_knvv WITH KEY kunnr = it_zzsd-kunnr.
However in table it_knvv there are multiple records for a single it_zzsd-kunnr.
I just want to pick the first.
Will the read statement serve my purpose or it wont.
Shejal.
‎2006 Oct 23 7:55 PM
Hi,
Yes..READ TABLE will pick the first record that matches the key..
Thanks,
Naren
‎2006 Oct 23 7:55 PM
Hi,
Yes..READ TABLE will pick the first record that matches the key..
Thanks,
Naren
‎2006 Oct 23 8:00 PM
It will pick the first, but that first record will depend on the order in which it is sorted.
Rob
‎2006 Oct 23 8:01 PM
Hi,
Yes, you can use READ TABLE statement to select first record when the condition is matching.
Regards,
Ferry Lianto
‎2006 Oct 23 8:02 PM