cancel
Showing results for 
Search instead for 
Did you mean: 

smartform to PDF conversion - spool error

Former Member
0 Kudos

Hi,

I have written code in WD4A for smartform to PDF conversion.

I am getting the error:<b> The spool request 0 does not exist.</b>

when i debug the FM: Call function v_fm_name,

i am getting:

<b>Spool ids: Table - initial</b>

fax ids: table-initial

otfdata: 20x144

Spool ids are not importing in output-options structure. ie. FM is not returning spoolids.

i have set even the tdnewid to 'X'.

But there is no updated new spool id in TSP01 table.

i am also getting: <b>wd_this->mr_spoolid = 0.</b>

where the problem will be?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Mog,

There is a nice WDA called WDK_SPOOL_TO_PDF. Try it with

http://<host>:<port>/sap/bc/webdynpro/sap/wdk_spool_to_pdf?sap-language=EN&SPOOL_ID=4720&SPOOL_TYPE=....

SPOOL_ID=4720 specify the spool number (see /nsp01)

Use SPOOL_TYPE=S for SAPscript (OTF) and any other values for normal list (write).

Hope this will help!

Cheers,

Darshna.