cancel
Showing results for 
Search instead for 
Did you mean: 

Spacing problem in Smartform

0 Kudos

Hi

i m new in SAP Smartforms, i m displaying 4 numbers :.

for example :

A 5.09

B 8.00

C 3.04

D 7.03

my problem is that when any of the variable value is 0.00 then it should not display that variable and it sholud not left any blank line. if C is having value 0.00 the output should be like this

A 5.09

B 8.00

D 7.03

but my output is displaying like this

A 5.09

B 8.00

0.00

D 7.03

Help me !

Regards

Viren

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

hi Virendra,

Go to condition tab. Add condition.

e.g. c NE 0.

This will resolved your problem.

Add this condition for all four variables you are using..

Former Member
0 Kudos

Hi,

In the same text node, i dont think it is possible.

R u getting the data as lengthy text ( in single variable).

Regards,

Prabu.

0 Kudos

NO I CANNOT DO THIS ALSO.... as in that internal table there are other data in that line which needs to be printed ..... is there any way not to show that line...

thanks

0 Kudos

No i m printing it in one text only. and i want to print it in one text only.... please suggest me..

Former Member
0 Kudos

You can put the data into another Internal Table... delete the data where field 2 = '0.00' and then loop.

else,.

loop at the internal table call the text and put condition field 2 <> '0.00'.

Thanks,

Preyansh

arafat_shaik
Explorer
0 Kudos

Hi,

If you are printing all the four values in different text nodes, then you can put a condition for each like print the value of a only if it is not '0'. this can be done by putting a condition in conditions tab of the text node.