on 08-01-2018 11:38 AM
Hi experts,
i'm using following FMs (subsequently)
- FP_JOB_OPEN by setting the structure:
outputparams-reqnew = 'X'.
outputparams-getpdf = 'X' (or 'M', it makes no difference for me)
- FP_FUNCTION_MODULE_NAME (name of adobeform function in fm_name)
- fm_name (called n times) where I can get pdf XSTRING from structure field
fpformoutput-pdf
- FP_JOB_CLOSE
With such a setting of the mentioned above structure, i expected that a new spool request should be generated and fpformoutput-pdf should be filled.
But I get only the pdf Xstring, and no spool request is created.
Instead, if i set outputparams-getpdf = space, spool request is generated.
My require is:
Is it possible to set above structure for FP_JOB_OPEN (or do other operations) to both get pdf XSTRING and generate subsequently a spool request?
Or should I call other furter FMs to achieve my goal?
No, this is not possible, but you can send the xtring afterwards to spool with a function
CALL FUNCTION 'ADS_CREATE_PDF_SPOOLJOB'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried that approach as well 🙂 but the result is not good...
Anyway, the business changed his requirement, so I solved the issue.
Thanks again for your help, Florian.
Giuseppe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Florian,
I previously tried this kind of approach, but for any available device on my system that I put on Import parameters PRINTER or DEST of that FM, I got the same exception ever: WRONG_DEVTYPE.
So, should I configure anything on my system, or do anything else?
Or better, could I get XML string and convert into XSTRING?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.