cancel
Showing results for 
Search instead for 
Did you mean: 

Lines command in Address and Endaddress

Former Member
0 Kudos

Hi friends,

Could any one guide me how can i use 'LINES' in the Address command in SAP Script.

Please provide the syntax and the purpose of using lines command in the Address command and in which scenario's it's generally applicable.

Regards

kumar.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The LINES option allows you to specify how many lines of the address you wish to display. Lets say the address (in the database) has 6 lines, but on your form you only have room for 4 lines. The address command will provide the four lines of the 6 available that have the highest priority, that give the address the most meaning, rather than just the first 4.

Regards,

Nick

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

ADDRESS and ENDADDRESS is used to specify the address which will

be formatted according to the target country i.e the recipient country.

e.g. /:ADDRESS sales PARAGRAPH C

/:NAME &KNA1-NAME1&

/:STREET &KNA1-STRAS&

/:POSTCODE &KNA1-PSTLZ&

/:CITY &KNA1-ORT01&

/:COUNTRY &KNA1-LAND1&

/:FROMCOUNTRY 'DE'

formatting address

http://help.sap.com/saphelp_46c/helpdata/en/d1/803238454211d189710000e8322d00/frameset.htm

http://help.sap.com/saphelp_40b/helpdata/en/d1/803238454211d189710000e8322d00/content.htm

Reward if usefull