Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smart forms PDF output!

Former Member
0 Likes
510

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.

which can not be decided at this stage of development.

So they 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 you.

Shekar!

1 ACCEPTED SOLUTION
Read only

amit_khare
Active Contributor
0 Likes
487

Hi,

Put 4 radiobuttons on the selection screen of the driver program and based on the users choice call the Function Module accordingly to either Print, PDF, FAX or Email the smartform, as these need to be done from the driver program only and cant be directly coded inside the form.

Check following links for respective functions -

Regards,

Amit

Reward all helpful replies.

3 REPLIES 3
Read only

amit_khare
Active Contributor
0 Likes
488

Hi,

Put 4 radiobuttons on the selection screen of the driver program and based on the users choice call the Function Module accordingly to either Print, PDF, FAX or Email the smartform, as these need to be done from the driver program only and cant be directly coded inside the form.

Check following links for respective functions -

Regards,

Amit

Reward all helpful replies.

Read only

0 Likes
487

Hi Amit!

I appreciate your real quick reply.

Can you make it a bit clear like when I generate a form trough the transaction, say me23n, how can I select the radio button in my driver program.

Normally the driver program is triggered by the generation of the form right!

Pls make it a bit clear, based on what criteria I can provide the output.

Is it the output condition type or .............

Thank you.

Shekar.

Read only

0 Likes
487

Now thats a tricky thing to get it from ME23N.

You have to find a trigger on the transction to get the required output type of the form, it may depend on certain output type or you may trigger any screen exit and place the control on the screen.Better option is stay with the output type.

Regards,

Amit