2009 Jan 16 2:21 PM
All:
In working with Address-EndAddress control command, I only see two lines for street address information (parameters: street & location). Is this correct or are other parameters available?
In general, are there any available parameters that are not listed on the "Formating Addresses: Address" SAP documentation (ie: building, floor)?
(address delivery type paragraph priority lines
title
name
person
personnumber
department
steet
location
pobox
code
city
postcode
no_upper_case
region
country
country_in_rec_lang
lang_for_country
fromcountry
addressnumber)
Thank you in advance for your assistance.
~Stacy
All:
In working with Address-EndAddress control command, I only see two lines for street address information (parameters: street & location). Is this correct or are other parameters available?
In general, are there any available parameters that are not listed on the "Formating Addresses: Address" SAP documentation (ie: building, floor)?
(address delivery type paragraph priority lines
title
name
person
personnumber
department
steet
location
pobox
code
city
postcode
no_upper_case
region
country
country_in_rec_lang
lang_for_country
fromcountry
addressnumber)
Thank you in advance for your assistance.
~Stacy
2009 Jan 16 6:02 PM
Welcome to SDN.
I don't think any one can provide more additions then SAP [Help|http://help.sap.com/erp2005_ehp_04/helpdata/EN/d1/803238454211d189710000e8322d00/frameset.htm].
What you got from there will be the available parameters. There might be work arounds on data provided but not the change unless some OSS note is there.
2009 Jan 20 2:27 PM
2009 Jan 16 6:41 PM
Hi,
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.
Syntax:
/: 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. The address data are formatted for output according to the data in the following parameters:
TYPE
FROMCOUNTRY
COUNTRY
LANGUAGE
PRIORITY
DELIVERY
LINES
If DELIVERY is not specified and if a POBOX is specified, then the POBOX is used in an address instead of a STREET
Regards,
Madhu
2009 Jan 20 2:28 PM
Thank you Madhu Babu for your response. I had already reviewed the documentation that you passed along.
--Stacy
2009 Jan 20 2:35 PM
if you are using address endaddress...
SAP automatically get the country from the address and changes the address type to that country specific format...
2009 Jan 20 2:37 PM
I am replying to my own message with regards to what I have learned with additional testing.
If you use Address EndAddress and only have the FROMCOUNTRY & ADDRESSNUMBER as parameters along with any parameters in the top line (DELIVERY, TYPE, ADDRESS, PRIORITY, LINES), your address will print according to the FROMCOUNTRY using the address information stored in Address tables (in my case ADRC) without limitations to number of street lines printing.
Another thing that I have picked up on is using this in SAPscript, the size of the window in which the address is appearing seems restict the number of lines that will print out. If the window is not big enough for the entire address to print, PRIORITY (of the default PRIORITY) will be used to narrow down the number of lines printed.
One more thing that I discovered that will be helpful if you do not know of it. In XD02, when entering in the address data, there is a print preview button that can be used to see how the address will print using Address-endaddress. My team was thinking of coding something very similar to that and we were delighted to see that SAP had already done that!
Hope this helps you.
--Stacy
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |