10-23-2007 3:47 AM
Hi All,
I have developed a smart form(a letter) which has about 5 address fields in the following order.
&address_line1&
&addressline2&
&city& , &state& &zip&
&addressline2& is not mandatory. When this parameter is empty then i get the output like this
1234 wood creek street
Herndon, VA 20171
I do not want the gap . What am i supposed to do. I want something like If addressline2 is null then delete line .
Thanks in advance
10-23-2007 3:48 AM
&address_line1&
<b>IF &addressline2& is not initial.
&addressline2&
ENDIF</b>
&city&,&state& &zip&
Or you can create new text and add condition as above in condition part
so you will get
1234 wood creek street
Herndon, VA 20171
Rewards if useful......
Minal Nampalliwar
null
10-23-2007 3:55 AM
I guess in your paragraph format (which you are using to print address) you can tick the check box no blank lines and it will not display any blank line.
Hope this helps.
ashish
10-23-2007 4:27 AM
Hi Ashish,
i could not find any check box for no blank lines. Can you help me with the navigation.
Thanks
10-23-2007 5:06 AM
I have checked STYLES but there is no option in these for "No Blank Lines" which we have in SAP Scripts.
can you handle this with abap command? ( IF &TEST& IS NOT INITIAL)
ashish
10-23-2007 5:03 AM
Hi Madhu,
1. Execute Transaction SMARTFORMS
2. CLICK on SMARTSTYLE
3. Enter your Smartsytele & click Change
4. Double click on your Paragraph Format
Best regards,
Prashant