on 05-13-2008 3:09 AM
Hi friends,
i want to display below address in Smartform .
&wa_head-zname1&
&wa_head-zstreet&
&wa_head-ZSTR_SUPPL1&
Phone: &wa_head-Ztel_number&
Fax : &wa_head-Zfax_number&
if the field wa_head-zstreet is empty then i am getting space in ouput between zname1 and zstreet fields.
i have written the following code in text editor to remove the space but still i am getting space.
/: IF &wa_head-ZSTR_SUPPL1& NE ' '.
L9 &wa_head-ZSTR_SUPPL1&
/: ENDIF.
Please help how can i handle this.
Thanks
Ramesh
You can use templets in smartform to over come this problem. Else create program line and place your condition.. if empty pass some flag and display your results according to your flags.
Rgds,
Sairam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In your case ,suppose if wa_head-zstreet is empty ,then a space will appear between
&wa_head-zname1& and &wa_head-ZSTR_SUPPL1&.
To remove this space,under that address window ,first create three text nodes.In the first text node ,put &wa_head-zname1& for displaying,in the second text node ,put &wa_head-zstreet& and the for this second text node check the condition wa_head-ztreet NE INITIAL and in the third text node put the remaining fields ie &wa_head-ZSTR_SUPPL1&
Phone: &wa_head-Ztel_number&
Fax : &wa_head-Zfax_number&
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.