Skip to Content
avatar image
Former Member

Purchase Order ship to Address issue

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Mar 18, 2008 at 01:46 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded