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
Similar Messages
-
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,
YogHi
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
AhsanHi,
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. -
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,
KartavyaHi,
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 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.
LalynHi,
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 -
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
AnneCheck 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] -
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
RamCheck 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.
Sankarwell 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 GRajesh,
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 ®UH-ZSTRA&
STREET &STREET4&
rgds,
Madhuri -
SAPScript: Formating an Address/Endaddress part as bold
Hello,
I want to format an Adrdess/Endaddress part as bold. Don't know how to do this. Thanks.
Regards, Lars.For the associated paragraph format, just check the radiobutton for "BOLD".
Double click the paragraph format, click the font button, click the radiobutton to the "ON" position next to BOLD.
Regards,
Rich Heilman
Message was edited by: Rich Heilman
Maybe you are looking for
-
Billing Plan from Quotation to Sales Order
Hello Friends, When Iam creating a Sales Order with reference to a Quotation, I want to copy the Billing Plan automatically from Quotation to Sales Order. How can I achieve this?? Thx, Smitha.
-
Offloading 3 SD Cards at once to FW800 Drive
I have a late 2011 MBP 13" that I will be off-loading 3 SD cards at a time to a FW800 drive enclosure. 2 cards will be connected over the USB 2.0 ports and one card will be in the card slot. My question is this - where will the bottleneck in bandwidt
-
Hello, When I launch Workgroup Manager and tried to delete a account, it says it got an unexpected error. When I try to login to a network account on a MacBook connected to the server, it says unable to login to account. I tested DNS and it correctly
-
POWERFUL baba ji +918107149255 astrologer har samsya ka samdhan 72 hours and with 101% guaranteed. CALL to Babaji:-91-8107149255 Email - :[email protected] har samsya ka samdhan 48 hours and with 101% guaranteed vashikaran muth karni black magic Moh
-
How to identify the right Install Disc Version for a specific mac model???
Hello i hope someone here can help me here... I have 12 mac mini's and about 20 Packs of the original OSX 10.4.x CD'/DVD's (the grey ones). How can i find out witch CD (and AHT) is the right one for witch mac mini model? They all have the line 'mac m