‎2007 Oct 17 10:32 AM
Dear Friend,
In Smartform I am printing Quantity Filed through below code in SMARTFORMS
<b>&GS_ITM_GLOBAL-ZMENGE(IZ)&</b> because I want to suppressing zero.
For Example :- Billing have quantity <b>2,038.449</b> so it should print <b>2,038.449</b> but it always printing like <b>0.002,038.449</b>
<b>ZMENGE LIKE VBRP-FKIMG</b> .
Could you anybody help me on this issue urgently.
Regards
Vijay
‎2007 Oct 17 10:34 AM
Instead of &GS_ITM_GLOBAL-ZMENGE(IZ)&
write <b>&GS_ITM_GLOBAL-ZMENGE(Z)&</b>
Remove that I
This will solve ur query..reward if it does
‎2007 Oct 17 10:35 AM
move quantity to type c varaible
write GS_ITM_GLOBAL-ZMENGE to zch.
replace '0.00' in zch with space.
condense zch.
‎2007 Oct 17 10:39 AM
in your program define a new variable.
data : GS_item_value(12) type C.
GS_item_value = GS_ITM_GLOBAL
now pass this value from program to form.
in form define a same variable, GS_item_value(12) type C.
now print this value.
if the varibale GS_ITM_GLOBAL is in form.
then declare a another variable in form.
GS_item_value(12) type C.
then pass value of GS_ITM_GLOBAL to GS_item_value.
reward if useful.
Amit Singla
‎2008 Nov 20 11:27 AM