cancel
Showing results for 
Search instead for 
Did you mean: 

smartform address space

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (3)

Answers (3)

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi Madhu,

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

Regards,

Vidya.