cancel
Showing results for 
Search instead for 
Did you mean: 

Text after the Address Endaddress command in SAPscript

0 Kudos

Hi All,

Can we print text on the same line after the address endaddress command.

For eg: i am using the Address command

/:ADDRESS PARAGRAPH AS

/:TITLE &EKKO-LIFNR&

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

/:STREET &LFA1-STRAS&

/:POBOX &LFA1-PFACH& CODE &LFA1-PSTL2&

/:CITY &LFA1-ORT01&, &LFA1-ORT02&

/:POSTCODE &LFA1-PSTLZ&

/:COUNTRY &LFA1-LAND1&

/:REGION &LFA1-REGIO&

/:FROMCOUNTRY &T001-LAND1&

/:ENDADDRESS

which gives the output as

1000035878

SANMINA -SCI SYSTEMS DE MEXICO SA DE CV

AV DE LA SOLIDARIDAD IBEROAMERICANA NO 7020

45680 EL SALTO

Mexico

I want a text to be printed next to Mexico eg:

1000035878

SANMINA -SCI SYSTEMS DE MEXICO SA DE CV

AV DE LA SOLIDARIDAD IBEROAMERICANA NO 7020

45680 EL SALTO

Mexico XYZZZ

Can anyone knows how to go about it?

Thanks

Ahsan

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member609120
Contributor
0 Kudos

Try this:

/: ADDRESS

-

-

-

-

/: ENDADDRESS

= &Variable_Name&

0 Kudos

Hi Vanessa,

It gets diplayed on the next line.

Thank you,

Ahasan

Former Member
0 Kudos

Hi,

I do not think itz possible using address...endaddress...

if you want to so something like that may be we need to write that without using address...endaddress..

Regards,

Narendra.