cancel
Showing results for 
Search instead for 
Did you mean: 

Print Smartform through Z program

Former Member
0 Kudos

Hi,

I have created a Z ALV report in which shows me some line items. Now if I go back or press F3 its show me Print preview popup for smart form and when I click Print preview it show me my smart form. After Smart form is displayed if user wants to print the smart form then he has to click on Text and click Print then it will create the spool request. the user has to go to SP01 T code to print the spool.

So my query is I skip the print preview popup and when my smart form is displayed and when user click on Text and click Print I want it should print directly the user should not go to SP01 Tcode.

Can some one help me out on this.

Thanks in Advance,

Kiran

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Kiran,

You need to set the 'print immediate' parameter of the ITCPO structure which is passed to the OPEN_FORM.

itcpo-tdimmed = 'X'.

This prints directly without going to SP01.

Thanks,

Anil