on 02-07-2008 2:14 PM
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 ..
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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^
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.