cancel
Showing results for 
Search instead for 
Did you mean: 

Purchase Order ship to Address issue

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (0)