‎2014 Mar 09 3:18 PM
Hi
i am displaying quantity fields kwmeng and bmeng in alv, in code am subtracting the two quantities,
the final subtracted value is displaying in alv when it is >0, when it is equal to zero ,it is displaying blank .
Thanks
Srini
‎2014 Mar 09 3:46 PM
Hi Srinivas,
See this link, it ll help you.
Value Display with Currency/Quantity Unit - ALV Grid Control - SAP Library
Cheers,
pravin
‎2014 Mar 09 6:08 PM
Hi srinivas,
What is the variable you r using for capturing the subtracted value.
Also Chk with the condition,GE in ur comparing value statement.
Regards,
‎2014 Mar 10 2:33 AM
hi Srini
Declare the final subtracted field as type 'C', then
data: lv_sub_temp type kwmeng.
lv_sub_temp = p1 - p2.
if lv_sub_temp gt 0.
output-final = lv_sub_temp.
endif.
hope can help you.
Regards,
Archer