Hi to all abap guru's my question is how to print the page
numbers like 2 4 6 on all pagess in smart forms

means 2 on first page
4 on second page

thanks in advance

Answer Posted / leo

declare a global variable pg_no.

write a command-node like:-

pg_no = sfsy-page * 2.

(dont forget to set input/output parameter as "PG_NO")

now place a sec window with: &pg_no&


--------------------
pls suggest if any alternatives/corrections

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of program rsbdcsub? : abap bdc

647


any 1 having notes on SAP-ABAP certification, or even if any 1 could provide the url for getting notes on SAP-ABAP certification, would be appreciated.

1958


What are the differences between macro and subroutine?

620


What does the extract statement do in extract datasets?

650


What is meant by slab? How is indian slab and us slab? : sap abap hr

558






What are the names of the function modules that will be generated upon activation of a lock object?

550


What are conditional chain statement?

751


How can we set the table spaces and extent sizes? : abap data dictionary

744


What is the use of message command in a report? What are the different message types?

553


What are secondary indexes. How can we know which index is being used in a select query?

1004


How to debug a sapscript?

604


i have cleared my technical round and manager round in cts but they told me u will get a call with in couple of days now i dont know about my status

8504


What is pretty printer?

601


Explain about Recording Function?

668


What is tcode se16. For what is it used. Explain briefly?

542