on 12-14-2009 11:54 AM
Hi ,
I'm generating the smarforms from my driver program with a loop. i.e. calling the function module more than one times. Right now this is my requirement. Now my question is whenever the output is coming it's coming in same spool. If i delete the spool then it's ok.
In the driver program how can i solve the problem. I need to generate different spool whenever i will run the smartforms.\
Thanks
Abhijit
Hi,
To Create New Spool Requests for Smartform in the same Program , Use OUTPUT_OPTIONS in Smartform FM Export Parameter.
Set the Value of TDNEWID as 'X' and Pass this Parameter into FM.
Like the Below Code.
data: w_options type SSFCOMPOP.
w_options-TDNEWID = 'X'. " To create New Spool Request
call function fm_name
exporting
OUTPUT_OPTIONS = w_options.
Best Regards
Kesavaperumal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.