‎2007 Feb 15 12:37 AM
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!
‎2007 Feb 15 12:44 AM
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.
‎2007 Feb 15 12:44 AM
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.
‎2007 Feb 15 12:52 AM
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.
‎2007 Feb 15 1:05 AM
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