cancel
Showing results for 
Search instead for 
Did you mean: 

formatting adress

Former Member
0 Kudos

how to format address for different countries

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Pava,

The ADDRESS - ENDADDRESS control command formats an address according to the postal convention of the recipient country defined in the COUNTRY parameter. The reference fields are described in the structures ADRS1, ADRS2, or ADRS3, depending on the type of address. Either direct values or symbols may be assigned to the parameters.

<b>Syntax:</b>

/: ADDRESS [DELIVERY] [TYPE t] [PARAGRAPH a] [PRIORITY p] [LINES l] 
/: TITLE title 
/: NAME name1[,name2[,name3[,name4]]] 
/: PERSON name of natural person [TITLE form of address]
/: PERSONNUMBER number of the personen
/: DEPARTMENT department
/: STREET street name HOUSE house number
/: LOCATION additional location information
/: POBOX po box [CODE post code / zip code] [CITY city]
/: POSTCODE post code / zip_code 
/: CITY city1[,city2] 
/: NO_UPPERCASE_FOR_CITY
/: REGION county / state 
/: COUNTRY recipient country [LANGUAGE language code]
/: COUNTRY_IN_REC_LANG 
/: LANG_FOR_COUNTRY language key
/: FROMCOUNTRY sender country 
/: ADDRESSNUMBER address number
/: ENDADDRESS

The parameter values contain both formatting and address information.

Regards

Sudheer

former_member181962
Active Contributor
0 Kudos
Former Member
0 Kudos

hi,

If youhave to format address in a script program.

then you can make use of ADDRESS..ENDADDRESS control command.

In that you have a specific parameter Country where we can pass the code of the country in which the address has to be formatted.

ADDRESS [DELIVERY] [TYPE t] [PARAGRAPH a] [PRIORITY p] [LINES l] 
/: TITLE title 
/: NAME name1[,name2[,name3[,name4]]] 
/: PERSON name of natural person [TITLE form of address]
/: PERSONNUMBER number of the personen
/: DEPARTMENT department
/: STREET street name HOUSE house number
/: LOCATION additional location information
/: POBOX po box [CODE post code / zip code] [CITY city]
/: POSTCODE post code / zip_code 
/: CITY city1[,city2] 
/: NO_UPPERCASE_FOR_CITY
/: REGION county / state 
/: COUNTRY recipient country [LANGUAGE language code]
/: COUNTRY_IN_REC_LANG 
/: LANG_FOR_COUNTRY language key
/: FROMCOUNTRY sender country 
/: ADDRESSNUMBER address number
/: ENDADDRESS

Regards

Sailaja.