on 06-09-2011 8:03 PM
Hello,
My requirement is to merge multiple smartform spool requests into one. I have looked at some related threads on the forum and was able to do it but I have a problem printing the spool. Print preview looks good but when I print it, it prints empty pages and the status on the spool request is Completed (problem). The log says that "OTF module: Character set conversion I -> N failed"
This is what I am doing to merge spool requests
1) Used FM RSPO_RETURN_SPOOLJOB to convert all the spool requests into OTF format.
2) used RSPO_SR_OPEN to open new spool request
3) used RSPO_SR_TABLE_WRITE to write OTF data into the spool request
4) RSPO_SR_CLOSE
This is working well until creating one spool request but I have problem printing it. Can you anyone share some ideas please?
Please do not suggest to use no_open and no_close parameters as that is not what I am looking for.
thanks..
I was able to solve my problem. Just incase if anybody is looking for a solution to this problem. Here is what I am doing.
Instead of using FM RSPO_RETURN_SPOOLJOB to convert spool request into OTF format, I am pulling the OTF data from smartform FM itself by populating control_parameters-getotf parameter. And again used RSPO_SR_OPEN to open a new spool request, then used FM RSPO_SR_WRITE_OTF to write OTF data to the sool request and at the end FM RSPO_SR_CLOSE.
Meenakshi, I was not trying to create one spool request from multile smartforms.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try Using FMs ssf_open and ssf_close. This works fine in my case, where i have to print multiple smartforms in one spool.
Call SSF_OPEN
.
loop.
Call fm to print smartform.
endloop.
Call SSF_CLOSE
Regards
Meenakshi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.