on 01-23-2007 2:49 PM
Hi All
Is there a way to get the otf data from a smartform without doing a print, or a print preview.
I have an action in CRM that fires of a class method that sends a smartform as an email.
I have modified the code to attach this smartform to an email.
The problem is that when the action is kicked off the Device is set to 'MAIL' and I get errors when I set the getotf = 'X' flag on the control_parameters of the smartform. This abends the process.
Is there a way to get the oft data from the smartform without getting any dialogs.
Thanks
Hi
Yes!
When you call the fm of the smartforms set CONTROL_PARAMETERS-GETOTF to X, and get the OTF from JOB_OUTPUT_OPTIONS-OTFDATA
Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Max
Thanks for replying.
I am currently doing this.
The problem is when the device is set to mail and I use getotf='X' I am getting email errors and no email is sent.
So is there a way of getting the otf data from a smartform by calling the function module. I don't want any dialogs to pop up when I call the smartform function module.
Thanks
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.