cancel
Showing results for 
Search instead for 
Did you mean: 

Help required in smartform output medium

Former Member
0 Kudos

Hi All!

I have a requirement where in the smart form, may be either:

printed,

saved as a pdf,

sent as a fax,

sent as an e-mail.

we want all the logics to be in the print program based on any criteria.

Is it possible to include all such logic in the same print program, and if so how can we choose the output medium, at the runtime i meant based on what criteria, the program is going to give the output.

Thank in advance!!!

Ashok

Assured reward points.

Accepted Solutions (1)

Accepted Solutions (1)

amit_khare
Active Contributor
0 Kudos

Hi,

This is possible.

You have to provide controls in your driver program and accordingly call the FM for either print, email or FAX on user choice.

1. For Printing you have to directly call the smartform in your program.

2. For Pdf -

3. For email/Fax -

Regards,

Amit

Former Member
0 Kudos

Hi

It will be helpful for me if u provide me with the example code

Thanks in advance

Answers (1)

Answers (1)

Former Member
0 Kudos

hi Ashok,

you can achive this using the same print program... wht u have to do is...

Create print program with 4 Subroutines.. each one is for different requirement in u r case ..1 is for print, another is FAX etc...

now in NACE when you to give the Printprogram name and form name and Layout name..

example you have 4 outputtypes for diffrent requirement... all these will be same Print program name and Layout name but only the diffrerence is FORMNAME(subrotine name).

Please Close this thread.. when u r problem is solved

Reward if Helpful

Regards

Naresh Reddy K