Q

Formatting addresses

A client wants addresses displayed on the Smart Form scree in a different format. Mark Smithson provides clues for how to change the display type.

In the Smart Form, I need to populate the 'Bill to' and 'Ship to' addresses. I created the address node for the same and passed the addr no. The client is now not comfortable with the way this address shows up on the screen. For instance, the Smart Form formats the last line as "F-1234 ABC", but the client wants it as "1234 ABC, France."
Bear in mind that the default addresses produced by a Smart Form's address node are based on international postal guidelines, and take into account both the sending and recipient countries, as well as the address fields populated and the amount of lines available.

In the address nodes, check to make sure you have populated the 'Sending Country' field, and with the correct country. Also verify that you have specified an adequate number of lines in the 'Number of Lines to be Used' field. The final field with which you can experiment in the form itself is the 'Priority of Lines' field, but I am not sure that will help in your case.

If the above suggestions don't solve your issue, then you will need to make tweaks external to the form, either in country configuration (field T005-ADDRS) or within a user-exit in the ADDRESS_INTO_PRINTFORM function module -- which the form calls behind the scenes. Based on my extensive experience with both of these options, I would recommend them only as a last resort.

This was first published in February 2007

Dig deeper on SAPscript and Smart Forms

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close