cancel
Showing results for 
Search instead for 
Did you mean: 

Avoid blank rows in smartforms

Former Member
0 Kudos

Hi,

One of the columns in the smartform tables have 5 texts one below the other.

If one of the text is blank, the whole line is blank.

How can i avoid this ?

Regards,

Usha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

You have an option of NO Blank Lines check box in smart form text window output options check that check box so that the blank lines will not be coming in the output

Thanks&Regards

Sarves

Former Member
0 Kudos

Thanks Sarves. But i don't see any such option for text. there is one for page protection, which is greyed out and the other is for border shading.

Former Member
0 Kudos

create the program lines befor processing the smartform tables and delete space (without text)entries form internal tables and pass...

Former Member
0 Kudos

Hi,

Sorry that option is for SAP Scripts..i gave the wrong answer for the Question.

You can use the condition if the text is initial so that the particular line won't be blank and you get continues text for the table

Just try the CONDITION TAB with condition

&TEXT& NE INITIAL

this will definitely work.

Thanks&Regards

Sarves

Former Member
0 Kudos

Thanks Sarves.

That was helpful

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

If u r using a LOOP in the smartform (For Reading a Text), have a condition saying *wa_tdline-text NE ' ' then only print.

surya

Former Member
0 Kudos

Hi,

Use the below condition in 'Conditions' tabs of the text nodes.

&field_name& NE INITIAL

and replace this variable with the variables, which are used to display in the corresponding text nodes.

Suppose you are displaying &wa_mara-matnr& in one text node. Then under the Conditions tab, write......

&wa_mara-matnr& NE INITIAL

and do the same for other text nodes also.

Hope it will work