Skip to Content
author's profile photo Former Member
Former Member

smartform address space

Hi,

i am doing a smartform in which i want to display customer address. every thing display ok. but if any of the field was empty it gives a space .

for example.

&itab-name1&

&itab-street1&

&itab-street2&

&itab-location&.

if itab-street2 was empty it shows a space between street1 and location like this.

ram.

street1.

location.

i want to remove the blank space. any idea

thanks

madhu

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 01, 2007 at 06:27 AM

    Hi Madhu,

    Create an "Address" within the window(right click & press on Address).

    Here you will get an option for organizational address, personal address & others.

    you can select any of them which suits your address type & provide &itab-name1& and other attributes in the suitable entries.

    This wont print the blank line in display.

    Reward Points if found helpfull

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 31, 2007 at 04:06 PM

    Hi Madhu,

    try putting a condition (itab-street2 NE SPACE) in the conditions tab of the text node.

    Regards,

    Vidya.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 01, 2007 at 01:45 PM

    Hi Madhu,

    Create Adress node under the window. there u find 3 tabs

    1.general attributes

    2.output options

    3.conditions.

    in general attributes tab give addreess number in address number field and country in sending country field.

    in conditions tab writeas below

    add_num <> ' '

    Reward points if helpful

    Thanks,

    Suma.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 01, 2007 at 02:07 PM

    You can use the ADDRESS_INTO_PRINTFORM function module in the form.

    The documentation in the F/M provides plenty of detail.

    Hope that helps,

    Bill

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.