Check for duplicates
SELECT zuonr
budat
wrbtr
FROM bsis
into table i_bsis
for all entries in i_indata1
WHERE bukrs = 'BP01' and
gjahr = sy-datum+0(4) and
budat = i_indata1-t_pdate AND
zuonr = i_indata1-t_kioid.
When i am trying to select data from bsis i get time out error. Is there a way to avoid this?