‎2009 May 27 10:32 AM
Hi experts ,
Can any one explain me how Address and Endaddress work .
I have the below script in window presently
ADDRESS PARAGRAPH Z1
TITLE &VBDKR-ANRED&
NAME &VBDKR-NAME1&, &VBDKR-NAME2&, &VBDKR-NAME3&, &VBDKR-NAME4&
STREET &VBDKR-STRAS&
POBOX &VBDKR-PFACH& CODE &VBDKR-PSTL2& CITY &VBDKR-PFORT&
POSTCODE &VBDKR-PSTLZ&
REGION &VBDKR-REGIO&
CITY &VBDKR-ORT01&, &VBDKR-ORT02&
COUNTRY &VBDKR-LAND1&
FROMCOUNTRY &VBDKR-SLAND&
ADDRESSNUMBER &VBDKR-ADRNR&
ENDADDRESSI would like to know the difference between the top and one below .
ADDRESS DELIVERY PARAGRAPH Z1
FROMCOUNTRY &VBDKR-SLAND&
ADDRESSNUMBER &VBDKR-ADRNR&
ENDADDRESSIs there that we set the format For "delievey address" somewhere in system .
If so please can I have inputs for doing
Thanks
Vinay
‎2009 May 27 10:37 AM
well the lower part just uses adrnr, and all the formatting is done by standard, based on recipinets country.
If you need to add or remove some of the information provided by standard, or need to change the format, go for the upper part you posted, since there you can use own variables and such.
see this link, its very helpful.
http://help.sap.com/saphelp_erp2004/helpdata/de/d1/80318f454211d189710000e8322d00/frameset.htm
‎2009 May 27 10:37 AM
well the lower part just uses adrnr, and all the formatting is done by standard, based on recipinets country.
If you need to add or remove some of the information provided by standard, or need to change the format, go for the upper part you posted, since there you can use own variables and such.
see this link, its very helpful.
http://help.sap.com/saphelp_erp2004/helpdata/de/d1/80318f454211d189710000e8322d00/frameset.htm
‎2009 May 27 11:04 AM
Hi,
If DELEVIRY is specified then the address should be formatted as a complete delivery address, using the street name and number rather than the P.O. Box.
If DELIVERY is not specified and if a POBOX is specified, then the POBOX is used in an address instead of a STREET.
Example
/: ADDRESS
/: TITLE 'Firma'
/: NAME 'Schneider & Co', 'Finanzberatung'
/: STREET 'Kapitalgasse 33'
/: POBOX '12345' CODE '68499'
/: POSTCODE '68309'
/: CITY 'Mannheim'
/: COUNTRY 'DE'
/: FROMCOUNTRY 'DE'
/: ENDADDRESS
Without specifying DELIVERY output will be
Firma
Schneider & Co
Finanzberatung
Postfach 12345
68499 Mannheim
With specifying DELIVERY, then the street name and number will appear in the address in place of the P. O. Box number.
Firma
Schneider & Co
Finanzberatung
Kapitalgasse 33
68309 Mannheim
Regards
Bala Krishna
‎2009 May 27 11:52 AM
Thanks Guys for your responses ,
My actual requirement is to remove Name3 and name4 fileds to ouput even if they a values , Tried removing them for script (top part ) but they still showing up in output .
further Help will be great .
Thanks
Vinay
‎2009 May 27 12:08 PM
Hi,
Have you deleted the Name3 and Name4 fields in Address. Try to delete and activate it. It will work.
Regards
Thiru
‎2009 May 27 1:11 PM
Hi Tirupathy ,
I have deleted the fields from scirpt in main window , But thwy still appear .
Thanks
Vinay
‎2009 May 27 7:50 PM
Hi,
Remove the ADDRESSNUMBER entry for code and also the NAME2,NAME3,NAME4
and check the output, as you are passing ADDRESSNUMBER it might have reading the address from the Database and printing it.
ADDRESS PARAGRAPH Z1
TITLE &VBDKR-ANRED&
NAME &VBDKR-NAME1&,
STREET &VBDKR-STRAS&
POBOX &VBDKR-PFACH& CODE &VBDKR-PSTL2& CITY &VBDKR-PFORT&
POSTCODE &VBDKR-PSTLZ&
REGION &VBDKR-REGIO&
CITY &VBDKR-ORT01&, &VBDKR-ORT02&
COUNTRY &VBDKR-LAND1&
FROMCOUNTRY &VBDKR-SLAND&
ENDADDRESSRegards
Bala Krishna
‎2009 May 28 9:31 AM
‎2009 May 27 11:49 AM
Hi
This should be of help to you.
http://help.sap.com/saphelp_40b/helpdata/en/d1/803238454211d189710000e8322d00/content.htm