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

Print page count

Former Member
0 Likes
1,219

Hi,

I wish to get the print out number of my invoice.

i want to know how many print outs are already been taken.

Is htere any way? your help would be appretiated.

thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
851

For every printout, an entry is created in the NAST table for a perticular invoice.

This row count may be useful.

Please reward if useful.

cheers,

Hi,

I wish to get the print out number of my invoice.

i want to know how many print outs are already been taken.

Is htere any way? your help would be appretiated.

thanks in advance.

4 REPLIES 4
Read only

Former Member
0 Likes
852

For every printout, an entry is created in the NAST table for a perticular invoice.

This row count may be useful.

Please reward if useful.

cheers,

Read only

Former Member
0 Likes
851

Hello,

To print the current page

Syntax: &PAGE&

To print the total no of pages

Syntax:SAPSCRIPT-FORMPAGES&

No of the invoice can be taken from the internal table.

Regards

Read only

Former Member
0 Likes
851

Hello,

&SAPSCRIPT-JOBPAGES&

This will give you the number of printout taken.

Thanks,

Krishnakumar

Read only

Former Member
0 Likes
851

Hi Rambo,

The field ANZAL of table NAST contains the number of copies printed. You can sum the values in ANZAL for the given object key, application area and message type to get the required value.

Hope this helps!

Regards,

Saurabh