Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform -Zero issue

Former Member
0 Kudos

Hi!

In my smartform I have set condition as to when a material group 100 is there it should show blank under the qty and unit price coulmn ,. The problem is that when i run the form it shows me 0.00 value and not blank in it. I found out if I chnage the formt of the character from number to character i.e&filed(CI)& it will help me out. Now my problem is in teh existing form I have a field &GS_UNIT_PRICE(<C)& which I wnat to change it to &GS_UNIT_PRICE(<CI)& ., but I dont know how to change it . This will solve my problem . Can anyone please help me out with this please.

Thnks

2 REPLIES 2

Former Member
0 Kudos

Aarav,

You need not change that variable.

What you can do is define a new variable of type char inside the smartform.

Just before you print, in the routine, assign the value of your existing field to the new character field.

Then you need to modify the rules to not display this field if the value is 0.

I have done this few times and it worked for me.

cheers,

Sushil Joshi

Former Member
0 Kudos

.