‎2006 Nov 14 5:40 AM
i created a report for downloading PO in pdf format.
daily released PO is converted into pdf format and stored in app.server.
first report finds what are the released PO for the particular day using CDHDR table.Next report executes ME22n to create messages and run ME9F to generate SPOOL no one by one.
while i was running foreground, spool no and pdf file were generated.
in background i did't get spool no.it's displayed like this.
Unable to initialise ABAP Control Framework ...
Unable to initialise ABAP Control Framework ...
Control Framework: Fatal error - GUI cannot be reached
Runtime error RAISE_EXCEPTION has occurred
Unable to initialise ABAP Control Framework ...
Unable to initialise ABAP Control Framework ...
Control Framework: Fatal error - GUI cannot be reached
Runtime error RAISE_EXCEPTION has occurred
Spool No was not generated
Purchase Document No: 4100034258
please help me to solve this problem.
‎2006 Nov 14 9:35 AM
generate spool is possible or not while i'm running in background?
only the problem, generating spool no.
‎2006 Nov 14 9:41 AM
Spool request is generated when report is run in background.
But to store that file which FM you are using? If you are using GUI_UPLOAD/GUI_DOWNLOAD/WS_UPLOAD/WS_DOWNLOAD, these FMs do not work in background.
Best Regards,
Vibha
*Please mark all the helpful answers
‎2006 Nov 14 12:35 PM
after getting the spool no,
call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
exporting
src_spoolid = spool
no_dialog = ' '
tables
pdf = it_pdf[].
i convert the spool no into PDF format.
problem:
before getting the spool no that type error occured.