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

Current copy no for scripts

Former Member
0 Likes
570

Hi,

I have a SAP script in which i need to display the currect page number and copy number of the form. How can this be done ...

eg. Copy 1 of 4 ,copy 2 of 4 like that.

The total no. of copies will come from NAST table , but i don't know where the currect number will come from .. plzz help..

I got the total no of copies .btu i want the current copy number .

thanks in advance,

Anil.

4 REPLIES 4
Read only

sridhar_meesala
Active Contributor
0 Likes
522

Hi,

You can use &PAGE& for printing the page number.

&PAGE& / &SAPSCRIPT-JOBPAGES& gives you the output like 1/3, 2/3, 3/3...

Thanks,

Sri.

Read only

0 Likes
522

hi,

yes ur answer is right ,it is getting for pages like 1/10,2/10,3/10 like that.but i want for copies like suppose i want 3 copies then it should come like 1/3,2/3,3/3.In this the total no of copies i.e /3 is coming .but i am not getting the current copy number .so lindly send me the answer plzz.

thanks in advance,

Anil.

Read only

venkat_o
Active Contributor
0 Likes
522

Hi Anil

Try this way.


Copy &PAGE& of &SAPscript-JOBPAGES&. 

Thanks

Venkat.O

Read only

Former Member
0 Likes
522

Hi venkat,

for the copy i used anzal from nast table for total no of copies,i.e ' / &nast-anzal&.

but i dint get the current copy number.

send me the answer plz,

thanks,

Anil.