cancel
Showing results for 
Search instead for 
Did you mean: 

How to print different copies in sap Script

Former Member
0 Kudos

Hi experts,

I am developing the excise Invoice. For this I copied standard print program as Zprogram and Standard Script also.So I can change the ITCPO structure with three copies. But how to check these copies to print each copi with different headings?. what is required code to write in my Script?

T

Accepted Solutions (1)

Accepted Solutions (1)

former_member181995
Active Contributor
0 Kudos

Look at my question =>

This might give you some hint.

Answers (2)

Answers (2)

Former Member
0 Kudos

I don't believe you can change the headings if you use ITCPO to control the number of copies. It only sends the form to the spool once, there's no opportunity to change anything. You'll need to use a loop and pass the form three times to get the different headers.

Former Member
0 Kudos

HI ,

Use the if condition to check the different copies .U can use ITCPO values to check this and call the form accordingly.