on 02-28-2008 5:45 AM
hi all,
I m using address endaddress for printing address of vendor in check printing.....
but it is printing Postal Code first then City.....
I want City first & then Postal code.....
using address endaddress follows some fixed pattern thts why it is coming like this.....
but where should i edit that. pattern.....
plz help me...
thnx
Rohit
hi,
once check this.
SAPscript calls the ADDRESS_INTO_PRINTFORM function module to format the address. If the display is not in the required form, check the settings that are valid for this function module (see the documentation on the function module).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thnx man.....
I got the problem.....
problem is the Country specific format....
i want to print the address in 004 format...but it is printing for 010 format...
010 format is used went no Country specific format is assigned....
but where to assign thats for script ...if i will get that then the problem will be solved....
Plz let me knw if u get some thing on this...
Thnx..
Rohit
Hi following are the codes...
/: ADDRESS PARAGRAPH VD
/: IF ®UH-ZPFAC& EQ ' '
/: NAME ®UH-ZNME1&, ®UH-ZNME2&, ®UH-ZNME3&
/: STREET ®UH-ZSTRA&
/: CITY ®UH-ZORT1&,
/: REGION ®UH-ZREGI&,
/: POSTCODE ®UH-ZPSTL&
/: ELSE
/: NAME ®UH-ZNME1&, ®UH-ZNME2&, ®UH-ZNME3&
/: POBOX ®UH-ZPFAC&
/: CITY ®UH-ZORT1&,
/: REGION ®UH-ZREGI&,
/: POSTCODE ®UH-ZPSTL&
/: ENDIF
/: ENDADDRESS
The command ADDRESS - ENDADDRESS formats an address according to the postal standards of the destination country defined in the parameter COUNTRY.
Syntax:
/: ADDRESS [DELIVERY] [PARAGRAPH a] [PRIORITY p] [LINES l]
/: TITLE title
/: NAME name1[,name2[,name3[,name4]]]
/: STREET street
/: POBOX PO box [CODE zip code]
/: POSTCODE zip code
/: CITY town1[,town2]
/: REGION region
/: COUNTRY country
/: FROMCOUNTRY from country
/: ENDADDRESS
Both formatting data and address data are parameters. Address data is formatted for output based on the COUNTRY, PRIORITY and LINES parameters. As the default, the P.O. Box is used, if it is available, rather than the street address.
Example:
/: ADDRESS
/: TITLE Company
/: NAME Widget Technology, Inc., All Kind of Widgets
/: STREET 1005 Lido Lane
/: POBOX 2935 CODE 94400
/: POSTCODE 94404
/: CITY Foster City
/: REGION CA
/: COUNTRY USA
/: FROMCOUNTRY USA
/: ENDADDRESS
This list generates the following address:
Company
Widget Technology, Inc.
All Kind of Widgets
PO box 2935
Foster City, CA 94400
If the DELIVERY supplement is specified for the ADDRESS command, then the street, not the P.O. Box, is entered.
Company
Widget Technology, Inc.
All Kind of Widgets
1005 Lido Lane
Foster City, CA 94404
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI BP,,
thnx Dude......
i m using the same method but .....in my case postal code is coming first and city after that while printing.....
so where to set the address pattern......as u said based on postal standards.....so where i can change the postal standrad...or can i see that any where.....
Thx
Rohit
i m getting ....
Widget Technology, Inc.
All Kind of Widgets
1005 Lido Lane
94404, Foster City
and state is not printing....why dont know...plz help
Edited by: Rohit Kumar on Feb 28, 2008 12:23 PM
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.