Skip to Content
0
Former Member
Apr 30, 2009 at 01:05 PM

VA05 Transaction Userexit Division Problem

159 Views

Hi All,

I have a problem during division for VA05 Transaction.

I had appended few fields in VBMTV structure.

Fieldname Data Element Data type length Decimal Refernce table Refernce field

ZZSETREM ZSETREM QUAN 13 3 VBMTV VRKME

ZZDPNTWT ZDPNTWT QUAN 13 3 VBMTV VRKME

Now in the program V05TZZMO,

I am calculating as lvbmtv-zzsetrem = ( lvbmtv-zzdpntwt / lvbap-ntgew ) * 100.

During debugging lvbmtv-zzdpntwt = 20.000 and lvbap-ntgew = 950.000.But still no calculation takes place and lvbmtv-zzsetrem = 0.00. For a lesser value say ( 2/4 ) * 100...calculation does takes place.

I declared the same in a Z program and gave those values it was working perfectly. But in this program the division fails. I tried all the different data types but unsuccessful. Due to some reason the division never takes place. Kindly guide me on this issue.

Thanks n regards,

Vinayan