Skip to Content
0
Former Member
Apr 21, 2010 at 12:47 PM

Using ADDRESS in SAPscript

700 Views

What is the key word/comand/parameter to use to get STR_SUPPL3 to print?

"STREET' does seem to allow multiple variables the way that 'NAME' does .... If I enter the variables delimited by commas line in the STREET line then nothing prints.

We need to print 3 address lines using the data in the screen fields: STREET, STREET4, and STREET5... which are stored in ADRC-STREET, ADRC-STR_SUPPL3, and ADRC-LOCATION. I can use STREET for STREET and LOCATION for STREET5 but what do I use for STREET4?

Thanks in advance.

Here's the SAPscript:

/: ADDRESS PARAGRAPH AF LINES 9

/* TITLE &BILL-ANRED&

/: NAME &BILL-NAME1&, &BILL-NAME2&, &BILL-NAME3&, &BILL-NAME4&

/: STREET &BILL-STREET&

/: STREET4 &BILL-STR_SUPPL3& <<<<<< this doesn't work

/: LOCATION &BILL-LOCATION&

/: POBOX &BILL-PO_BOX& CODE &BILL-PO_BOX_LOC& CITY &BILL-POST_CODE2&

/: CITY &BILL-CITY1&, &BILL-CITY2&

/: POSTCODE &BILL-POST_CODE1&

/: REGION &BILL-REGION&

/: COUNTRY &BILL-COUNTRY&

/* FROMCOUNTRY &BILL-SLAND1&

/: ENDADDRESS