‎2006 Jun 10 10:54 AM
Hi All
Please tell me
1.How to print a label in SAPScript?
2.Each time I print a purchase order I want to give a number on that purchase order. Like for the first time
the PO printed the Value is 1
Next Time when PO is printed value is 2
''''''''''''''''''''''''''''''''''''''3
''''''''''''''''''''''''''''''''''''''4
So on.
How can I Do this.
Thanks & Regards,
K P
‎2006 Jun 10 11:54 AM
Hi,
1) Refer the link, this is having a Sample Sapscripts Label Printing Program
http://www.sap-img.com/sapscripts/sample-sapscripts-label-printing-program.htm
2) if you want to Print serial numbers, thne you need to maintain a field in the database, so that you can pick the latest number add 1 to that, otherwise you can not know how many purchase orders printed before you print or execute the new purchase order
the below link is having good material about Script with step by step ....
http://www.sap-img.com/sapscripts.htm
Thanks
Sudheer
‎2006 Jun 10 12:00 PM
Hi K P,
1. Printing label via any third party software, or within SAPScript alone?
2. You need to store the counter somewhere - possibly a customized table? In your print program, you could read the latest count and add 1 to it, etc.
Rgds,
ET