cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove blank line in smartform window

Former Member
0 Kudos

hello friends,

i need ur help.

ref code:---

SUPPLIER:&w_lifnr&

IF &W_VNAME1& NE SPACE

&w_vNAME1','&

ENDIF

IF &W_VNAME2& NE SPACE

&w_vNAME2','&

ENDIF

IF &W_VNAME3& NE SPACE

&w_vNAME3','&

ENDIF

IF &W_VNAME4& NE SPACE

&w_VNAME4','&

ENDIF

IF &W_VSTREET& NE SPACE

&W_vstreet','&

ENDIF

so when fields w_vname2,w_vname3,w_vname4 are blanks. it gives one line blank beteen w_vname1 and w_vstreet.

can u help me to remove this blank line.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

just create the textelements seperately and

under the conditions tab of the text element write

W_VNAME1 NE space

and write the variable &W_VNAME1& inthe text element.

inthe same way write for all the variables

Reward if useful.

Former Member
0 Kudos

Hi,

Use conditions to avoid the same.

Or may be try out some formatting options like

&symbol(I)& Suppress output of the initial value

&symbol(C)& Compresses spaces.

Regards,

Narendra.

Former Member
0 Kudos

Hi,

1.Just place a condition in the text element .i.e:

not initial EQ 0.

text--->condtions tab

2.blank lines will delleted by this condition.

Regards,

If helpful reward with points(Don't forget).