on 08-18-2008 7:53 PM
Hi All,
I want to print vendor address in SAPScript as per country specific format.
The standard ADDRESS--ENDADDRESS is not printing formatted output.
Please help me in this.
Thanks in advance.
RK
Hi,
/: 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 -
> here give the specified country.
/: COUNTRY recipient country [LANGUAGE language code]
/: COUNTRY_IN_REC_LANG
/: LANG_FOR_COUNTRY language key
/: FROMCOUNTRY sender country
/: ADDRESSNUMBER address number
/: ENDADDRESS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Jagadish / All,
Thanks for your reply.
I have used the following statement. For South Africa country code 'ZA' and region 'GP' it is giving me some space before printing country name 'SOUTH AFRICA'.
/: ADDRESS PARAGRAPH AD
/: TITLE ®UH-ZANRE&
/: NAME ®UH-ZNME1&, ®UH-ZNME2&, ®UH-ZNME3&, ®UH-ZNME4&
/: STREET ®UH-ZSTRA&
/: POBOX ®UH-ZPFAC& CODE ®UH-ZPST2& CITY ®UH-ZPFOR&
/: POSTCODE ®UH-ZPSTL&
/: REGION ®UH-ZREGI&
/: CITY ®UH-ZORT1&, ®UH-ZORT2&
/: COUNTRY ®UH-ZLAND&
/: FROMCOUNTRY &T001-LAND1&
/: ADDRESSNUMBER ®UH-ZADNR&
/: ENDADDRESS
Output is like as below.
Test Company, Inc.
PO Box 684902
TEST
4094
SOUTH AFRICA
And for some countries like India there is a gap between address lines as below.
TEST VENDOR
701 Lee RD
400135 STREET
INDIA
Please help me out to avoid blank spaces and blank lines in address format.
Thanks
Hi,
use
/: addressnumber
in your /:address /:endaddress
regards
padma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you pass proper TO country it will print proper address.
Check this help:
http://help.sap.com/saphelp_40b/helpdata/en/d1/803238454211d189710000e8322d00/content.htm
Regards,
Naimesh Patel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.