cancel
Showing results for 
Search instead for 
Did you mean: 

SAP SCRIPT Address printing ...

Former Member
0 Kudos

Can anyone guide me how to print following detail in check using script.

To The Name1,Name2...

Order of Street Name PO Box 1234,

City Zipcode

Like this have to print in check area ..

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi JK,

The ADDRESS-ENDADRESS command will do it.Just do the following:

Please dont just try to copy paste this:

/: 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

Eg. If you want to put name1 and name2 then do it like this:

/: NAME &structure-NAME1& &structure-NAME2&

Where structure is the name of the structure which already has the value of those fields as name1 and name2 in this eg.

Regards

Abhishek

Former Member
0 Kudos

hi

good

check this link

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf

ADDRESS-ENDADDRESS will print address depends upon the receiver address standards. IN order to solve your problem, I suggest two ways.

1) In sapscript

/:ADDRESS

/: ADDRESSRNUMBER = W_ADRNR

/: COUNTRY 'DE'

/: FROMCOUNTRY 'DE'

/:ENDADDRESS

and from prorgam pass W_ADRNR from ADRC. It will print entire address.

2) You can make use of ADDRESS_PRINT_FORM, in program and pass the lines to script. This will act same as the above syntax.

For more information in this check this link below.

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

thanks

mrutyun^