on ‎2010 Sep 08 11:54 AM
Hi,
My requirement is - i have generated interactive form lets say my form contains 3 pages and each one has a picture and some text on it.
what i need to do is to save all these 3 pages into a single file on my PC, so what i did, i created a spool request from FP_JOB_OPEN.
The solution i thought was to create a spool request of the form and download this to my PC as the spool contains all three pages of my interactive form , however i am unable to download this file on my PC, is there any possible way to download spool to PC?
Cordially,
Danish
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Danish,
Please check the note 1717357 for your problem. After you implement it you will be able to download a spool request created by the ADS as a PDF file over SP01 -> Spool Request -> Forward -> Export as PDF...
Please note that as in the note described you need to install also the SAPPDFPRINT on your PC, and it is only working with SAPGUI for Windows. Regarding the installation of the SAPPDFPRINT please check note 1444342 and the SCN document:
I hope this information helps you.
Best regards,
Norbert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Since you said it is a PDF spool, after generating the PDF spool, go to transaction SP02 within the SAP,
There copy your PDF spool number,
Now go to the transaction SE38, enter program name RSTXPDFT4 , execute it and it will as for the spool number, paste the spool number and execute it, a SAVE AS wind will pop up asking you to save the PDF file on your desktop.
If this doesnu2019t help, please revert back.
Regards,
Rajeev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I have check this for you, but did not try the whole scenario.
Try this:
- go to SP02
- find some PDF spool
- jump into, right before the PDF starts opening
- use /h to start debugging
- you will get into: SAPLSPOOL_SP01R / LSPOOL_SP01RO02, form: PDF_SHOW and things around
I would concentrate on FM: ADS_SR_READ_CONNECTED_CONTENT and stuff.
If this code can display the form, that means it can read the PDF, that means you can get the PDF file/content/rawstring.
Would be great to get some feedback from your side it that worked.
Regards Otto
1. using FM CALL FUNCTION 'RSTS_OPEN_RLC'
CALL FUNCTION 'RSTS_READ'
CALL FUNCTION 'RSTS_CLOSE'
Build part list for the spool
2. Get Directory path using CALL FUNCTION 'ADS_GET_PATH'
3.Build Filename for each part by combining spoolno( FromTSP01) , partnum with COA extension
4. If the part has only one page use CALL FUNCTION 'FPCOMP_CREATE_PDF_FROM_SPOOL' to get PDF data
Otherwise use CALL FUNCTION 'ADS_SR_READ_CONNECTED_CONTENT' for each page in the part to get PDF data
5. you can transfer the PDf spool page by page this way.
There is a simple way to do it, and it was mentioned in this thread however only the correct report program was missing.
Run report RSPO0020 in transaction sa38 or se38, you need to enter the spool ID (which you can get from transaction sp02). Through this report you can access the 3 files the original poster mentioned.
Hi Danish,
Is the spool a PDF or OTF spool? You woul see a PDF icon in SP01 if it was a PDF spool
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.