Skip to Content
Former Member
Feb 27, 2007 at 02:13 PM

abap code


hello every one,

can anyone tell me how to write the code for .....I have one custom table called zxyz haveing matnr(model no:1) and having zmatnr(model no:2)...

so I need to write code for total items should not exceed 06....the combination must like matnr = 1 zmatnr =5

matnr = 2 zmatnr =4

matnr = 3 zmatnr =3

matnr = 4 zmatnr =2

matnr = 5 zmatnr =1

matnr = 6 zmatnr =0

I need to build this logic in code......i have fields in my table are........matnr, zmatnr, combination and quantity........and I need to relate with xvbap in mv45afzz and this table.........

Thanks in advance,