calling adobe form from webdynpro abap view
I need some help. The situation is: I have created a Adobe form interface as well as a form using the SFP transaction. Now, I have a webdynpro screen with a button, which upon pressed must give the output of the PDF form.
I tried the following steps:
1. Call function 'FP_FUNCTION_MODULE_NAME'
2. Call 'FP_JOB_OPEN'
3. Call the generated function module name
4. Call FP_JOB_CLOSE.
The procedure works fine when I use the same code in a report program. It opens a dialog box where there is a option for Print preview and it displays the PDF.
But when I try to replicate the same, it does not work in Webdynpro for ABAP. Any suggestions as to how to go about this problem?