Skip to Content

using address endaddress

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 28, 2008 at 07:23 AM

    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).

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 28, 2008 at 05:55 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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