cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform-Suppress Zero and Display Zero for same field in Diff Conditions?

Former Member
0 Kudos

Hi,

I have a scenario in smartform, where for a quantity field of length p15 and Dec3, needs to display ZERO for one scenario and display SPACE for another condition. To display ZERO i have made it as &quantity(c)&, so that i can display zero. It displays ZERO, but for another condition, when i want to display space, there also it displays 0.000 ! how to display SPACE there ?

thanks,

Padma

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member225631
Active Contributor
0 Kudos

You can declare the output quantity field as character instead of type P. While assigning values, you can assign values like 0.000, or if you don't assign anything, space will be output.

Former Member
0 Kudos

Hi,

I think then in that case we need to use (NZ) I am not sure. But however why don't you use the Condition Tab in the Text by Including the Condition Quantity > 0.000.

Please let me know if anyone of this works for you.

Regards,

SRinivas

Former Member
0 Kudos

Hi padma,

to suppress zero u can use (z) indicator after variable . to suppress space u can use (c) .

Regards,

karthikeyan k s