Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAPScript

Former Member
0 Likes
344

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

2 REPLIES 2
Read only

Former Member
0 Likes
316

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

Read only

Former Member
0 Likes
316

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