Skip to Content
author's profile photo
Former Member

Address window in Smartforms

I have added address window in one of the smartforms, through ADRNR it fetches and shows address on form, but I want to change sequence of address lines as per specific requirement.

Eg, SAP follows this sequence, Title, name1, street supplement, street and house no.

I want: Title, name1, street house no, and street supplement, etc.

In address window SAP fetches and formats everything, can anyone please guide me how to arrange your own sequence in address window.

I guess it depends on country version.

P.s. - I have to use address window.

I am not talking about line priority.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    May 11, 2005 at 10:12 PM

    Check the function module - ADDRESS_INTO_PRINTFORM


    If it is specific to a country then Configure for address management or configure for countries


    Add comment
    10|10000 characters needed characters exceeded

    • Hi Kinnari,

      There are two ways to do this.

      1. Using the user exit in the function module ADDRESS_INTO_PRINTFORM you can control the display of address. The customer exit name is SZAD0001. Used CMOD to implement this.

      2. Otherwise select the desired fields from table ADRS using ADRNR and display using the text node.