‎2009 Sep 04 10:13 AM
select single belnr
into it_data-belnr
from bkpf
where awkey = it_vbrp1-vbeln and
blart = 'RV'.
above code i am using for selecting bkpf table , actually key field are not useful in this case & hws to use index.
plz reply.
Thanks,
Jyotsna
‎2009 Sep 04 10:19 AM
‎2009 Sep 04 10:28 AM
HI,
Atleast company code(BUKRS) & fiscal year(GJAHR) can be filled, which wont affect performance, along with AWKEY.
Regards,
Amit
‎2009 Sep 04 10:31 AM
Hi,
select single belnr
into it_data-belnr
from bkpf
where awkey = it_vbrp1-vbeln and
blart = 'RV'.
In above query what is it_vbrp1-vbeln? if it is internal table you are missing some thing like For all entries in it_vbrp1.Check it once.