Skip to Content
0
Former Member
Dec 05, 2006 at 09:54 PM

read statement

30 Views

Hi All,

I am trying to write a read statement some like

read table acct_tab with key zacthigh = 0account or zactlow = 0account.

means i want to check record containing in any of the either 2 fields containing value of 0account. How to write a read statement. Currently i am writing like below.

Can we write in a single read statement for this. Please let me know.

read table acct_tab with key zacthigh = 0account.

if sy-subrc <> 0.

read table acct_tab with key zactlow = 0account.

endif.

regards,

Kalpana