‎2006 Mar 16 5:46 AM
hi all..
I am making a module pool in which i have to find the differnece of two quantities and save in ztable.
problem arises when negative value occurs...
for that i give difference-field of type char. but it save negative values in ztable but does not diplay when i retrieve it in module pool.
please help..
‎2006 Mar 16 5:50 AM
Hi
Convert character to number or float and then do calculation.
Then reassign the value to character.
Use casting.
regards
vinods
‎2006 Mar 16 5:54 AM
Take the type of diff field as the quantity field (instead of character field)...
‎2006 Mar 16 5:53 AM
1 st check the variable where u store the -ve value from ztab, variable have same type as in ztable...
‎2006 Mar 16 6:01 AM
Hi,
Use standard data element MENGEP for the quantity fields in your Z table.
Hope it helps.
Regards,
Shashank