ADDRESS - ENDADDRESS  postal convention

Hello,
I know that the ADDRESS - ENDADDRESS control command formats an address according to the postal convention of the recipient country defined in the COUNTRY parameter.
But where in SAP can I find/correct the postal convention for a coutry?
Thanks
Anne

Check the documentation on FM ADDRESS_INTO_PRINTFORM in se37
[Formatting Addresses: ADDRESS|http://sapscript.tripod.com/SAPScript-37.htm]
[ SAP SCRIPT CONTROLS 4|http://thesapworld.blogspot.com/2008/05/sap-script-controls-4.html]

Similar Messages

  • ADDRESS ENDADDRESS command in SAPScript

    Hi Gurus,
    How does address endaddress command works in SAPscript.
    I want to use it in SAPscript as
    ADDRESS
        ADDRESSNUMBER <LFA1-ADRNR>
        FROMCOUNTRY 'US'
    ENDADDRESS.
    I have gone through the documentation of ADDRESS_INTO_PRINTFORM but still not clear of the sequence.
    Want to know, what will be the sequence in which address will be printed from above command and how does it determine this.
    Appreciate your help.
    Thanks,
    Kartavya

    Hi,
         Read Below documentation
           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
    Bala Krishna

  • ADDRESS ENDADDRESS

    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

    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

  • ADDRESS ENDADDRESS IN SAPSCRIPT

    Hi,
    Can we rearrange the fields being printed in PO layout? The form used the ADDRESS ENDADDRESS syntax. Only the Addressnumber was populated. After printing the form, the arrangement of fields were
    STREET CITY
    COUNTRY POSTAL_CODE CITY2.
    I want to rearrange it to be:
    STREET
    COUNTRY POSTAL_CODE CITY.
    How can I do this? And where can I do this if this is possible?
    Thanks in advance.
    Lalyn

    Hi,
    the formatting of an adress depends on the value belonging tot COUNTRY.
    SO i do not think the way you want is possible.
    Below include some help. Read and take the best solution for it
    ADDRESS: Formatting of addresses
    The command ADDRESS - ENDADDRESS formats an address according to the postal standards of the destination country defined in the parameter COUNTRY. The reference fields are described in the structure ADRS. Both constants and symbols can be assigned to the parameters.
    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.
         DELIVERY defines the street address.
         If this parameter is selected, the system prints the street address on the layout output instead of the P.O. Box.
         PARAGRAPH defines in which paragraph format the address is output.
         If the parameter is not defined, the address is output in the default paragraph format.
         PRIORITY defines which address lines can be omitted if there is not enough space on the output.
         You can enter a combination of the following values:
         A     form of address
         P     mandatory blank line 1
         Q     mandatory blank line 2
         2     name2
         3     name3
         4     name4
         L     country name
         S     line for the street
         O     line for the city
         LINES define how many lines are available to format the address.
    If the address data cannot be completely formatted due to an insufficient number of lines, the data entered in the parameter PRIORITY is omitted. If the LINES specification is missing and this command is in a form window whose type is not MAIN, the lines available for the address layout are automatically calculated with the current output line item and window size.
         TITLE is a required form of address.
         NAME means that up to four separate names, separated by commas, can be defined.
         STREET means the street specification, including address number.
         POBOX is the Post Office box number.
         CODE is the P.O. box, postal, or zip code, if this code is different from the postal code of the city.
         POSTCODE is cityu2019s postal, or zip, code.
         CITY means that up to two place names can be defined.
         REGION determines the administrative area.
         COUNTRY specifies the country based on specific postal standards and the address format.
         FROMCOUNTRY defines in which language the destination countryu2019s name is formatted. In EEC countries, only the international country identification letter is placed, with a hyphen, before the postal code.
    Gr., Frank

  • Display address omitted postal code for all countries in sapscript

    Hi everyone
    Does anyone know how to omit the postal code for all countries(eg. US ) when displaying address in sapscript form?
    I want to avoid to display postal code even the country is US.
    coz my firm doesn't want to show postal code.....
    Also, how to use combination keys of PRIORITY parameter?
    For example, if i want PRIORITY '1' 'S' 'L' 'N' 'C'
    I cannot write like this as following....
    /:   ADDRESS DELIVERY PARAGRAPH AS <b>PRIORITY 1 S L N C</b> LINES 5
    /:   ADDRESSNUMBER &VBDKR-ADRNR_WE(K)&
    /:   FROMCOUNTRY &VBDKR-SLAND&
    /:   ENDADDRESS

    Hi,
    Bold text describes the usage of <b>Priority</b>.
    ADDRESS: Formatting of addresses
    The command ADDRESS - ENDADDRESS formats an address according to the postal standards of the
    destination country defined in the parameter COUNTRY. The reference fields are described in the
    structure ADRS. Both constants and symbols can be assigned to the parameters.
    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 given as parameters. Address data is formatted for output in accordance with the parameters COUNTRY, PRIORITY and LINES. If available, the P.O. box is used instead of the street as the default.
    •&#61472;DELIVERY: Defines the street address. If this parameter is selected, the system prints the street address on the layout output instead of the P.O. box.
    •&#61472;PARAGRAPH: Defines in which paragraph format the address is output. If the parameter is not defined, the address is output in the default paragraph format.
    <b>•&#61472;PRIORITY: Defines which address lines can be omitted if necessary. You can enter a combination of the following values:
    A form of address
    P mandatory blank line 1
    Q mandatory blank line 2
    2 name2
    3 name3
    4 name4
    L name of country
    S line for the street
    O line for the city
    </b>
    •&#61472;LINES: Defines how many lines are available for formatting the address. If all the address data cannot be formatted due to an insufficient number of lines, the data entered in the parameter PRIORITY is omitted. If the LINES specification is missing and this command is in a layout set window whose type is not MAIN, the lines available for the address layout are then calculated automatically by means of the current output line item and window size.
    •&#61472;TITLE: Required form of address.
    •&#61472;NAME: Up to four separate names, separated by commas, can be defined.
    •&#61472;STREET: Street specification including address number.
    •&#61472;POBOX: Post Office box number.
    •&#61472;CODE: P.O. box Postal or ZIP code if it is different from the postal code of the city.
    •&#61472;POSTCODE: Postal or ZIP code of the city.
    •&#61472;CITY: Up to two place names can be defined.
    •&#61472;REGION: Determines the administrative area.
    •&#61472;COUNTRY: Specifies the country according to whose specific postal standards the address    is formatted.
    •&#61472;FROMCOUNTRY: Defines in which language the name of the destination country is formatted. In EC countries, only the international country identification letter is put before the postal code with a hyphen.
    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
    Generates the following address:
    Company
    Widget Technology, Inc.
    All Kind of Widgets
    PO box 2935
    Foster City, CA 94400
    If the supplement DELIVERY is specified for the command ADDRESS, then the street is entered instead of
    the PO box.
    Company
    Widget Technology, Inc.
    All Kind of Widgets
    1005 Lido Lane
    Foster City, CA 94404
    Regards,
    Sailaja.
    Reward points if answer helps you.

  • Regarding Address EndAddress in SAP Script

    <i>Hi Abapers,
    I am having a problem while displaying the address in SAP Script through Address EndAddress.
    Problem is it is displaying the data correctly but it display the Region Code. Now the requirement is to display the Region Description instead of the Region Code.
    Can you please provide me any solution for this.
    I am sending the Address EndAddress which I have written in my code.</i>
    /:          ADDRESS DELIVERY PARAGRAPH ZC
    /:            NAME     &VBDKL-ZBTNAME1&, &VBDKL-ZBTNAME2&, &VBDKL-ZBTNAME3&, &VBDKL-
    /:            STREET   &VBDKL-ZBTSTRAS&
    /:            CITY     &VBDKL-ZBTORT01&, &VBDKL-ZBTORT02&
    /:            POSTCODE &VBDKL-ZBTPSTLZ&
    /:            COUNTRY  &VBDKL-ZBTSLAND&
    /:            REGION   &VBDKL-ZBTREGIO&
    /:            FROMCOUNTRY &VBDKL-ZBTLLAND&

    Hi
    ADDRESS and ENDADDRESS is used to specify the address which will
    be formatted according to the target country i.e the recipient country.
    e.g. /:ADDRESS sales PARAGRAPH C
    /:NAME &KNA1-NAME1&
    /:STREET &KNA1-STRAS&
    /:POSTCODE &KNA1-PSTLZ&
    /:CITY &KNA1-ORT01&
    /:COUNTRY &KNA1-LAND1&
    /:FROMCOUNTRY 'DE'
    formatting address
    http://help.sap.com/saphelp_46c/helpdata/en/d1/803238454211d189710000e8322d00/frameset.htm
    http://help.sap.com/saphelp_40b/helpdata/en/d1/803238454211d189710000e8322d00/content.htm
    <b>Reward if usefull</b>

  • Gap between two characters in SAP Script Address EndAddress.

    Hi Abapers,
    I have one query regarding Address - EndAddress in SAPScript.
    I am putting the code :
    /: ADDRESS TYPE '1' PARAGRAPH ZI PRIORITY 'APL43' LINES 6
    /:ADDRESSNUMBER &ZPOLGORT-ADRNR&
    /:ENDADDRESS
    and  I am getting the output in this form
    <b><i>ABC Soft c/o JSI Hong Kon g
    c/o RS Logistics (Shenzhen) Limited
    6/F., DZ Zhong Tian Yuan Logistics Ctr.
    126/Xia Road, Futian Free Zone,
    Shenzhen
    China</i></b>
    But the problem is there is a gap between character "n" and 'g" in first line in word Kong.
    Can anybody suggest me how to solve this issue. Or is there any other issues to sort it out this problem.

    Hi,
    Its not the problem with Address / End Address.
    It could be probably maintained that way.
    Please check the entry in the table where it is maintained.
    reagrds,

  • Problem in Address Endaddress statement in sapscript

    Hello Friends,
    I have 1 problem in existing sap script for delivery where address is printed using command address endaddress.
    Problem is In output while displaying PO BOX text , it is displayed in DE language insted of EN whether logon lang is EN.
    Regards,
    Yog

    Hi
    To translate the text in SAP Script :
    You can goto transaction SE63 and translate the scripts into different languages.
    In SE63, click Translation -> Long Texts -> Sapscripts -> Forms
    Those language you can convert to have already been pre-installed in the system. 
    SE63 is the best way to translate since it offers check options. 
    Or
    Also try to change logon language to korea.
    Hope this will solve your problem.
    Rewards Points if useful.
    Thanks & Regards
    Nikunj Shah

  • Text after the Address Endaddress command in SAPscript

    Hi All,
    Can we print text on the same line after the address endaddress command.
    For eg: i am using the Address command
    /:ADDRESS PARAGRAPH AS
    /:TITLE    &EKKO-LIFNR&
    /:NAME   &LFA1-NAME1&, &LFA1-NAME2&, &LFA1-NAME3&, &LFA1-NAME4&
    /:STREET   &LFA1-STRAS&
    /:POBOX    &LFA1-PFACH&  CODE &LFA1-PSTL2&
    /:CITY     &LFA1-ORT01&, &LFA1-ORT02&
    /:POSTCODE &LFA1-PSTLZ&
    /:COUNTRY  &LFA1-LAND1&
    /:REGION   &LFA1-REGIO&
    /:FROMCOUNTRY &T001-LAND1&
    /:ENDADDRESS
    which gives the output as
    1000035878
    SANMINA -SCI SYSTEMS DE MEXICO SA DE CV
    AV DE LA SOLIDARIDAD IBEROAMERICANA NO 7020
    45680 EL SALTO
    Mexico
    I want a text to be printed next to Mexico eg:
    1000035878
    SANMINA -SCI SYSTEMS DE MEXICO SA DE CV
    AV DE LA SOLIDARIDAD IBEROAMERICANA NO 7020
    45680 EL SALTO
    Mexico  XYZZZ
    Can anyone knows how to go about it?
    Thanks
    Ahsan

    Hi,
    I do not think itz possible using address...endaddress...
    if you want to so something like that may be we need to write that without using address...endaddress..
    Regards,
    Narendra.

  • How ADDRESS-ENDADDRESS works in script

    Hi experts,
    Could you please throw some light on how ADDRESS-ENDADDRESS works in script.
    Please let me know how the following code executes and what is the impact of the FROMCOUNTRY statemnet in that code . Also le tne know various other options it has:
    ADDRESS DELIVERY PARAGRAPH AS
    ADDRESSNUMBER &PEKKO-ADRN2(K)&
    FROMCOUNTRY &LFA1-LAND1&
    ENDADDRESS
    Thanks in advance.
    Br
    Ram

    Check the link for format
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/80318f454211d189710000e8322d00/frameset.htm
    The SAP function module ADDRESS_INTO_PRINTFORM gets called
    Check its documentation in SE37
    This will help!
    Regards,
    Prashant

  • Address -Endaddress in Sap Script

    Hi
    Requirement is to  add District field in new line in SAP Script.
    I am using Address End address :
    /:          ADDRESS
    /:            TITLE       &DKADR-ANRED&
    /:            NAME        &DKADR-NAME1&, &DKADR-NAME2&, &DKADR-NAME3&, &DKADR-NAME4&
    /:            STREET      &DKADR-STRAS&
    /:            POBOX       &DKADR-PFACH& CODE &DKADR-PSTL2&
    /:            CITY          &DKADR-ORT02& ,  &DKADR-ORT01&
    /:            POSTCODE    &DKADR-PSTLZ&
    /:            COUNTRY     &DKADR-LAND1&
    /:            REGION      &DKADR-REGIO&
    /:            FROMCOUNTRY &DKADR-INLND&
    /:          ENDADDRESS
    So basically I would like to put  &DKADR-ORT02& in new line.
    I cannot use District  field.If I use CITY field again it is not showing the value.
    How do we add this new field?

    Try like this not sure it will work or not.
    /: ADDRESS
    /: TITLE &DKADR-ANRED&
    /: NAME &DKADR-NAME1&, &DKADR-NAME2&, &DKADR-NAME3&, &DKADR-NAME4&
    /: STREET &DKADR-STRAS&
    /: POBOX &DKADR-PFACH& CODE &DKADR-PSTL2&
    <b>/: CITY &DKADR-ORT02&</b>
    <b>/: CITY &DKADR-ORT01&</b>
    /: POSTCODE &DKADR-PSTLZ&
    /: COUNTRY &DKADR-LAND1&
    /: REGION &DKADR-REGIO&
    /: FROMCOUNTRY &DKADR-INLND&
    /: ENDADDRESS
    Regards,
    SaiRam

  • Address - endaddress  - Blank line comming in betweeen

    I am printing an address in sap script using
    ADDRESS DELIVERY  PARAGRAPH DF LINES 14
      ADDRESSNUMBER &Z_ADRNRPO(K)&
      FROMCOUNTRY   &Z_ALAND1&
    ENDADDRESS
    I am getting the output something like .
    Firma
    Schneider & Co
    Finanzberatung
    Postfach 12345
    68499 Mannheim
    See after ,Postfach 12345', there is a blank space comming.
    Is there any way to remove it .
    The address  should print like
    Firma
    Schneider & Co
    Finanzberatung
    Postfach 12345
    68499 Mannheim
    That is without a blank line in between.
    Thanks in advance .

    Check the paragraph format that is applied on this address and in paragraph format select check boxes called No blank line.
    I guess it will solve your issue.
    Reward points to all useful answers.
    Regards,
    SaiRam

  • Format data using ADDRESS ENDADDRESS Command in SAPscript

    Hi All,
    I have an requirement to print the contact address in the follwing format. Actually I want to print first name and Last name immediately after TITLE (Mr.) like below.
    Mr. Jhon smith
    Street name, po Code..
    But currently it is printing like this below
    Mr.
    Jhon
    smith
    Street name, po Code..
    I am using the ADDRESS...ENDADDRESS command some thing  like this below:
    /: ADDRESS PARAGRAPH AS PRIORITY A234P
    /: TITLE    &SADRD-ANRED&
    /: NAME     &SADRD-NAME1&, &SADRD-NAME2&, &SADRD-NAME3&,
    /: STREET   &SADRD-STRAS&
    /: POBOX    &SADRD-PFACH&  CODE &SADRD-PSTL2&  CITY &SADRD-PFORT&
    /:ENDADDRESS                                      
    I would Appreciate for your quick responses.
    Thanks.
    Sankar

    well you are doing it anyway manually when i have a look at your coding.
    you are not using the standard way of printing an adress by just giving adrnr to the adress statement, but you are printing the fields in detail anyway.
    So well just adopt it the like following:
    /: ADDRESS PARAGRAPH AS PRIORITY A234P
    /: TITLE &SADRD-ANRED&,,&SADRD-NAME1&,,&SADRD-NAME2&,,&SADRD-NAME3&
    /: STREET &SADRD-STRAS&
    /: POBOX &SADRD-PFACH& CODE &SADRD-PSTL2& CITY &SADRD-PFORT&
    /:ENDADDRESS
    but i still ask myself what you need the adress staement for when you anyway have an own way to format your output.

  • Script , using ADDRESS ENDADDRESS

    Hai Friends ,
              Am developing PO O/P Script form , in this, driver program is SAP'S  Standard  Program , i have to use address and end address keyword , in that i could use my paragraph format , but i cud't use my character formats , Please help me i need to use my character formats in address and endaddress keyword .
    Regards
    Sarath P G

    Rajesh,
    Are u using a standard driver program or is it customized,
    i feel that the city value which is in lower case is getting translated somewhere later .
    there can be no other reason for this translation as in your case.
    During debugging try changing the city value at runtime
    and see if it reflects. Hope this works
    Regards
    Sajimon Chandran

  • SAPScript: ADDRESS - ENDADDRESS??

    Hi all,
    I would like to left out Name1 in
    /: ADDRESS [DELIVERY] [TYPE t] [PARAGRAPH a] [PRIORITY p] [LINES l]
    /: TITLE title
    /: NAME name1[,name2[,name3[,name4]]]
    /: PERSON name of natural person [TITLE
    /: FROMCOUNTRY sender country
    /: ADDRESSNUMBER address number
    /: ENDADDRESS
    Should i set PRIORITY  as 1 (as for name2 is 2)
    Thanks in advance.

    Hi Hans,
    Can I write STREET 2 times?
    Means :
      STREET      &REGUH-ZSTRA&
      STREET       &STREET4&
    rgds,
    Madhuri

Maybe you are looking for

  • Sporadic no internet access in Safari, Skype works

    Hey guys, First - sorry for my poor english. I switched to Mac some months ago, i have the newest type of a Macbook pro. It is connected by Wireless Lan (100Mbit) to the internet. I have following problem: Often i cannot load a page (google.com or eb

  • 1st gen iPod became a paper weight after last update

    For the last couple of months, I've posted and read all posts, visited the Apple store three times to check in with the Geniuses, have emailed Apple with feedback, have upgraded and downgraded systems with different OSX versions, have tried 8 differe

  • How do you delete your skype messages

    This is crazy, before i could delete my messages, now cannot. Seems others are having the smae problem. No one is getting the help they need. 

  • Pavilion dv-7 4060us Video chip

    Hello, dear friends!  This is my problem: I have a laptop hp Pavilion dv-7 4060us which is about 4 years old. I bought it from a guy 3 years ago when I was on a "Work and Travel USA" student program. A few months ago my video chip died and I tried to

  • RE : Multiple environments on NT

    Hello Veronika, I have just tested on NT4 a multiple configuration with 2 environments On one user session NT : it works very well. I also use multi-version (R2 and R3) on the same PC. I use the next command : "C:\forteR3\install\bin\nodemgr.exe -e T