Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SMARTFORM Address

Former Member
0 Kudos

Hello.

Is there any way to reorder the lines of the address structure of the smartform?

It prints the street as Street2, Street3, Street.

Is there a way to make it print Street, Street2, Street3.

Thank you

Nuno Silva

4 REPLIES 4

Former Member
0 Kudos

Hi Silva

You need to create a address layout (using user exit) and assign that layout to the country code and specify the country code against the sending country column in smartform.

Regards

Ravindra Suvarna

0 Kudos

Hi.

Thank you for the answer.

How can i create a adress layout and what user exit do i have to use?

Thank you

Former Member
0 Kudos

one option is to get the address from adrc table using address number n then displaying it as u want...this code u can write in the amrtform itself.

Hope it helps,

Regards,

Bikash

vinod_gunaware2
Active Contributor
0 Kudos

hi

Use function module

<b>ADDRESS_INTO_PRINTFORM</b> which act like ADDRESS ENDADDRESS

In which all options are available like no line ...etc.

ADDRESS_INTO_PRINTFORM Address format according to Post Office guidelines Note. It's enough to import two parameters:

ADDRESS_TYPE = 1 (Firm or Organization, SAP Address)

ADDRESS_NUMBER

regards

vind