Skip to Content
0
Former Member
Jan 12, 2011 at 10:39 AM

Issue with read statement with one more key missing in mapping

26 Views

Hi All ,

I have such data in two internals table :

IT_bdc
vbeln            posnr
90000593	10
90000576	10
90000672	10
90000672	20
90000672	30

it_konv
kbetr		vbeln
6250		90000576
12160000		90000593
500000		90000672
600000		90000672
700000		90000672

My current program statement is :

LOOP AT it_bdc.
READ TABLE it_konv WITH KEY
      vbeln = it_bdocs-vbeln.
  currency =   it_konv-waers.
*******
endloop.

as you can see the posnr is missing in it_konv how can i modify this read statement so

that vbeln posnr from it_bdc should get correct kbetr from it_konv.

Kindly help in this mapping.