cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Print preview and print functionality in Z program

Former Member
0 Kudos

Hello,

I have typical scenario. In my module screen I have two buttons PRINT PREVIEW and Print , now when user chooses

any one of them, suppose PRINT PREVIEW then smartform which is made for that driver program should be displayed.

My question is how to use PRINT preview and print functionality in customized program. My program is module

pool program.

Helpful answer will be rewarded.

Thanks,

Madhura

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Problem solved.

Former Member
0 Kudos

hi,

i saw that ur problem is solved.could u plz tell me that has my solution helped for u or not.

if not plz tell me how do u solved the problem.

thanks in advance,

gupta pullipudi

Former Member
0 Kudos

hi,

for the created button in module pool programing.

use like this.

SUBMIT DRIVER PROGRAM NAME.

suppose ur OK_code is print.write like this.

when 'print'.

SUBMIT DRIVER PROGRAM NAME.

IT WILL AUTOMATICALLY CALLS THE DRIVER PROGRAM OF SMARTFORM AND EXECUTES IT AND SHOWS THE PRINT PREVIEW.

REWARD ME IF USEFUL.

GUPTA PULLIPUDI.