Skip to Content
0
Former Member
Jan 18, 2008 at 05:01 PM

please help witht his code

21 Views

Dear All,

My internal table is

Matnr W_value

1140 2000

1150 3000

1160 4000

I have to select matnr based on w_value compared to vbap-netwr.

i.e if my vbap-netwr is 2600 I have to select 1140 as this is between 2000 - 3000. in the same way if my netwr is 3300, I should select 1150.

Please help me in code.

I am already in loop VBAP. I think i have to read internal table and select matnr accordingly.

And have internal tables values as stated above. please help.

Regards

madhu