on 03-17-2008 11:18 PM
Hi,
I am modifying the PO sap script. I don't want to display title field in the ship-to address. when i debug the script the ship-to address is coming from following code. I am not understanding the code...what is this ADDRESS DELIVERY means ?
IF &PEKKO-ADRNR(K)& NE ' '
ADDRESS DELIVERY PARAGRAPH ZK
ADDRESSNUMBER &PEKKO-ADRNR(K)&
FROMCOUNTRY &LFA1-LAND1&
ENDADDRESS
rewarded with points.
Thanks,
fractal
Hi,
Address....Endaddress is a standard format used in scripts to display the address.
The ADDRESS command allows you to format according to different countries postal formats.
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
Hope you understood how this address ....endaddress works...
Regards,
Narendra.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.