Spool overflow, spool_internal_error
All SAP BASIS experts,
I am facing a spool overflow problem. When user give any print command in QAS server, it is not completed. After some time error appear spool internal error / spool overflow problem. I am also checked data in RZ20-- SAP CCMS Monitor Templates -> Spool System. Here's showing used no. 100% & this is red colour.
After that I run SE38 & run RSPO0041 & RSPO0043, but no improvement. After that I am run & checked SNRO, their has no any abnormalities.
So please suugest me for resolve this issue. Due to this issue my system log folder also filled up & user not log in GUI. Resultant i m clear the logs manually on regular base.
For ref. print scrns as follows:-
Hi Johan,
Hereas no any option for attachment the dump file. So I am paste its details as below:-
Runtime Errors SPOOL_INTERNAL_ERROR
Date and Time 10.04.2015 15:11:36
Short text
Internal error in the spool system.
What happened?
Error in the SAP kernel.
The current ABAP "SAPLKKBL" program had to be terminated because the
ABAP processor detected an internal system error.
Error analysis
When calling the SAP spool system, an (unspecified) internal
error occurred.
More detailed description of error: "spool overflow "
Further information:
See below under "Spool error information".
Trigger Location of Runtime Error
Program SAPLKKBL
Include LKKBLF01
Row 439
Module type (FORM)
Module Name LIST_OUTPUT_NEW
Source Code Extract
Line
SourceCde
409
set handler gt_stack3-r_kkbl_print->handle_top_of_page
410
for gt_stack3-r_kkbl_events
411
activation space.
412
413
set handler gt_stack3-r_kkbl_print->handle_end_of_page
414
for gt_stack3-r_kkbl_events
415
activation space.
416
endif.
417
418
clear gt_stack3-r_kkbl_print.
419
420
else. "<<<Y6DK065711
421
if lflg_top_of_page = 'X' or
422
( ( gt_stack2-flg_append_mode = 'X'
423
or gt_stack-is_layout-block_mode = 'X'
424
) and
425
( not sy-subty o con_hex02 or
426
( gt_stack-is_layout-suppress_dynpro = 'X' and
427
lflg_new_page is initial ) ) ).
428
429
perform top_of_page2 using gt_stack-it_fieldcat "Y6DK065711
430
gt_stack-t_columns
431
gt_stack-is_layout
432
gt_stack-s_lprint
433
gt_stack2-s_header
434
gt_stack-listtype
435
gt_stack-i_callback_program
436
gt_stack-i_callback_top_of_page.
437
else.
438
* Provozieren des top_of_page Ereignisses
>>>>>
write space.
440
endif.
441
endif.
442
*--- Ende Top-of-page Handling
443
444
perform globals_for_output.
445
* Sichern Feldkatalog im Falle BEFORE_LINE_OUTPUT auf Zeilenbasis
446
* der Feldkatalog ver?dert wird
447
if not gt_stack2-i_callback_before_line_output is initial.
448
gt_fieldcat_sav[] = gt_stack-it_fieldcat[].
449
endif.
450
clear gflg_fc_changed.
451
452
stop_here con_bp-il2.
453
*--- Listenausgabe einfache Liste
454
if gt_stack-listtype = con_listtype-simple.
455
if gt_stack-is_layout-no_unit_splitting is initial and
456
gflg_safety is initial.
457
perform data_out_simple tables rt_outtab
458
using l_line
Regards,
Deepak
Similar Messages
-
SPOOL_INTERNAL_ERROR spool overflow when submitting the same program
I am submitting the same program via job with different seletion screen values after JOB_OPEN, and then SUBMIT statement and JOB_CLOSE FM. But this job get cancelled with message "ABAP/4 processor: SPOOL_INTERNAL_ERROR" . The submit is as follows:
SUBMIT (sy-repid) USER sy-uname
VIA JOB 'ZTP_SAl_REG_MONITOR_JOBS'
NUMBER l_jobcount
TO SAP-SPOOL
SPOOL PARAMETERS fp_user_print_params
NEW LIST IDENTIFICATION 'X'
WITHOUT SPOOL DYNPRO
WITH rb_monit EQ 'X'
WITH s_jobcnt IN s_jobcnt
WITH p_date EQ p_date
WITH rb_row EQ rb_row
WITH rb_col EQ rb_col
AND RETURN.
Is it possible to use the same program to be scheduled....Let me include that the submit is happening with rb_monit = X and it has separate branch...so infinite looping can not happen.Hi Sumit,
I hope that the flag is ensuring that it doesnt go into infinite loop. You may wish to check that once bcz Spool overflow seems to be bcz of infinite loop or bcz of layout issue.
Goto SP01 in the same client where you have scheduled the job.
Check the spool no. which was generated bcz of the job.
Double click on the STATUS of the spool ( it should be in red background color).
System will give a popup with status details.
Again double click on the status. System will again give a popup.
The popup will give the details of why the spool ran into errors.
Also check the layout.
Thanks,
Best regards,
Prashant -
Smartform - spool overflow error
Hi experts,
I have desingned a smartform and when i tried to print the form, it gives the following error.
"Error in spool C call: spool overflow"
Pls tell me what is the reason for this error and how to correct it?
Regards,
ShanthiHi,
Go to Tx. SPAD
Go to Admin tab .Here you can find Delete Old Spool request .Also do check consistency check of spool database
Scheduled the Standard jobs as per SAP note: 16083. You can also run program RSPO1041
Run the Job SAP_REORG_SPOOL as per SAP note 16083.
Regards,
Abhijit -
SPOOL_INTERNAL_ERROR (334 Runtime Errors today)
Hello Everybody,
Everyday in our Quality server we are getting some around 300 + SPOOL_INTERNAL_ERROR short dumps.
===============================================================
Runtime Errors SPOOL_INTERNAL_ERROR
Date and Time 08.05.2009 23:45:57
ShrtText
Internal error in the spool system.
What happened?
The current ABAP program had to be terminated because the
ABAP processor detected an internal system error.
The current ABAP program "BAE_GET_STATUS_2" had to be terminated because the
ABAP
processor discovered an invalid system state.
What can you do?
Make a note of the actions and input which caused the error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
Error analysis
When calling the SAP spool system, an (unspecified) internal
error occurred.
More detailed description of error: "spool overflow "
Further information:
See below under "Spool error information".
======================================================
Please let me know how to proceed.
Thanks in advance
Best Regards,
Pratyusha
Edited by: Pratyusha on May 8, 2009 11:58 PM
Edited by: Pratyusha on May 8, 2009 11:59 PM
Edited by: Pratyusha on May 8, 2009 11:59 PMHi,
From the dump, it seems that Your spool count is full.
Please delete the old spools from the system by running report RSPO1041 report and after that your system should return to normal.
With Regards,
Saurabh -
HotNews correction for Y2010 spool request error available
Dear gurus,
I became aware of [SAP Note 1422843|https://service.sap.com/sap/support/notes/1422843] which has affected all my systems's spool request reorg jobs.
It is currently release and patch level independent, so you will all be affected by it as well.
You can verify this via entries in table SP01 field RQDELTIME = 2099*
As a kernel patch might take a while (also to download, install, test, etc...) there is a workaround attached to the note until you get there.
Cheers and best wishes for the new years until 2099..
Julius> ...and the variant provided in this note 1422843 doesn't clean at all....
Yes, it does not "clean" the spool requests out of the system - it corrects the deletion date symptom so that your reorg job will pick them up again. Dependent on your config, this might take a few days to become "cleaned", as they were before as well.
Another option is to reorg the spool requests based on the creation date alone. This works fine for "smaller" systems and will protect the spool overflow and number range problem. It will however not correct the other less critical symptoms, so applying the kernel patch at some stage soon is recommended anyway.
Cheers,
Julius -
Dear MM Experts,
While doing migo i am getting error as "Error in spool c call spool overflow"
Got this thread but not getting exactly : http://forums.sdn.sap.com/thread.jspa?messageID=4528971#452897
Please help me out.
Thanks & Regards,
Sandeep.Hi all
Delete the old spool request using SPAD .
regards,
reza rostami / mapna -
Error SPOOL when create TO - Putaway
Dear Guru,
Please kindly help me when I create TO for Putaway material into storage bin, the system show the message below.
Error in spool C call: spool overflow
Message no. SPOC003
My Step is PO -> GR -> Putaway [Error]
Regards,
SaiyamanI dont think that this has something directly to do with your TO.
I looks like a general problem with the spool requests.
SAP has a Kernel error. it is writing a expiration date for the spool file date with year 2100 instead of 2010. Hence no spool file got deleted in this year and the table TST01 that holds the spools is running out of space.
See SAP OSS Hot News, talk to your basis team. -
Hello,
I have an issue when I run the program "RPCS0000" for RPTIME00 in the background.
In SM37, the job appears but after one minute, it changes from "active" status to "interrupt"
Could someone help on this please?
Kind regards
KarimHere is the error message :
When calling the SAP spool system, an (unspecified) internal error occurred.
More detailed description of error: "spool overflow "
Further information:
See below under "Spool error information".
RSPO - Error
code: 1 RSPOEINTERN Some other internal error
spool overflow
module: rspospno no: 29 line: 351 T100: PO001
TSL01: FBN -
Dispatcher died and all WP being occupied by RFCUSER
Hi Team,
Dispatcher went down and unable to start the SAP MMC.
I found that all work processes are being occupied by two porgrams
SAPLSOPX and SAPLIRFC by RFCUSER due to that none of the user's can't able to login into sap.
when i go to SM 37 and see below jobs are in active state and i have tried to delete the old spool jobs as the program SAPLSOPX called by RFC user seems to spool process.
QRFC:C0A8010411E049AC7BE502EE
QRFC:C0A8010411E049AC7C080321
QRFC:C0A8010411E049AC7C100333
Inspite of killing the work processes they are immediately occupied by these jobs. Can some please suggest some thing on priority since my CRM production server is down.
Pleae see the enclosed developer traces and much appriciated for any suggessions.
trc file: "dev_w2", trc level: 1, release: "640"
*S Tue Mar 03 08:45:19 2009
S *** init spool environment
S initialize debug system
T Stack direction is downwards.
T debug control: prepare exclude for printer trace
T new memory block 20E3A200
S spool kernel/ddic check: Ok
S using table TSP02FX for frontend printing
S 1 spool work process(es) found
S frontend print via spool service enabled
S printer list size is 150
S printer type list size is 50
S queue size (profile) = 300
S hostspool list size = 3000
S option list size is 30
S found processing queue enabled
S found spool memory service RSPO-RCLOCKS at 28D00098
S doing lock recovery
S setting server cache root
S found spool memory service RSPO-SERVERCACHE at 28D00680
S using messages for server info
S size of spec char cache entry: 165020 bytes (timeout 100 sec)
S size of open spool request entry: 1152 bytes
S immediate print option for implicitely closed spool requests is disabled
A
A -PXA--
A PXA INITIALIZATION
A PXA: Fragment Size too small: 170 MB, reducing # of fragments
A System page size: 4kb, total admin_size: 11748kb, dir_size: 11688kb.
A Attached to PXA (address 3C550040, size 350000K)
A abap/pxa = shared protect gen_remote
A PXA INITIALIZATION FINISHED
A -PXA--
A
A ABAP ShmAdm attached (addr=687F5000 leng=20955136 end=69BF1000)
A >> Shm MMADM area (addr=68B5D300 leng=134720 end=68B7E140)
A >> Shm MMDAT area (addr=68B7F000 leng=17244160 end=69BF1000)
A RFC rfc/signon_error_log = -1
A RFC rfc/dump_connection_info = 0
A RFC rfc/dump_client_info = 0
A RFC rfc/cp_convert/ignore_error = 1
A RFC rfc/cp_convert/conversion_char = 23
A RFC rfc/wan_compress/threshold = 251
A RFC rfc/recorder_pcs not set, use defaule value: 1
A RFC rfc/delta_trc_level not set, use default value: 0
A RFC rfc/no_uuid_check not set, use default value: 0
A RFC abap/SIGCHILD_default not set, use default value: 0
A RFC rfc/bc_ignore_thcmaccp_retcode not set, use default value: 0
A RFC Method> initialize RemObjDriver for ABAP Objects
A Hotpackage version: 59
M ThrCreateShObjects allocated 27108 bytes at 0FF40040
N SsfSapSecin: putenv(SECUDIR=E:\usr\sap\PCR\DVEBMGS00\sec): ok
N
Tue Mar 03 08:50:22 2009
S **** ERROR => rspogus__get_uniq_spoolnumber: Spool voll? [rspospno.c 351]*
*S *** ERROR => error 1 set in spool C call [rspoabap.c 485]*
*S *** ERROR => error message 'spool overflow' in spool C call [rspoabap.c* 714]
M
M Tue Mar 03 08:50:56 2009
M ThNoLockEntry: tried to lock Mutex 11 times
M
M Tue Mar 03 08:54:26 2009
M *** ERROR => ThNoLockEntry: timeout locking buffer entry for [thxxnum.c 5655]
M cli/obj/subobj/range = 000/SPO_NUM / /01
M *** ERROR => ThINoGet: failed to lock interval (rc=21) [thxxnum.c 3063]
M return number range rc 14
M *** WARNING => ThNoSpool: get from object (cli/obj/subobj/range = 000/SPO_NUM / /01) returned rc 14
S ThNoSpool failed -> retries left 9
M
M Tue Mar 03 08:56:27 2009
M *** ERROR => ThNoLockEntry: timeout locking buffer entry for [thxxnum.c 5655]
M cli/obj/subobj/range = 000/SPO_NUM / /01
M *** ERROR => ThINoGet: failed to lock interval (rc=21) [thxxnum.c 3063]
M return number range rc 14
M *** WARNING => ThNoSpool: get from object (cli/obj/subobj/range = 000/SPO_NUM / /01) returned rc 14
S ThNoSpool failed -> retries left 8
M
M Tue Mar 03 08:58:29 2009
M *** ERROR => ThNoLockEntry: timeout locking buffer entry for [thxxnum.c 5655]
M cli/obj/subobj/range = 000/SPO_NUM / /01
M *** ERROR => ThINoGet: failed to lock interval (rc=21) [thxxnum.c 3063]
M return number range rc 14
M *** WARNING => ThNoSpool: get from object (cli/obj/subobj/range = 000/SPO_NUM / /01) returned rc 14
S ThNoSpool failed -> retries left 7
M *** ERROR => ThNoLockEntry: timeout locking buffer entry for [thxxnum.c 5655]
M cli/obj/subobj/range = 000/SPO_NUM / /01
M *** ERROR => ThINoGet: failed to lock interval (rc=21) [thxxnum.c 3063]
M return number range rc 14
M *** WARNING => ThNoSpool: get from object (cli/obj/subobj/range = 000/SPO_NUM / /01) returned rc 14
S ThNoSpool failed -> retries left 9
M
M Tue Mar 03 09:04:30 2009
M *** ERROR => ThNoLockEntry: timeout locking buffer entry for [thxxnum.c 5655]
M cli/obj/subobj/range = 000/SPO_NUM / /01
M *** ERROR => ThINoGet: failed to lock interval (rc=21) [thxxnum.c 3063]
M return number range rc 14
M *** WARNING => ThNoSpool: get from object (cli/obj/subobj/range = 000/SPO_NUM / /01) returned rc 14
S ThNoSpool failed -> retries left 8
M
M Tue Mar 03 09:06:30 2009
M *** ERROR => ThNoLockEntry: timeout locking buffer entry for [thxxnum.c 5655]
M cli/obj/subobj/range = 000/SPO_NUM / /01
M *** ERROR => ThINoGet: failed to lock interval (rc=21) [thxxnum.c 3063]
M return number range rc 14
M *** WARNING => ThNoSpool: get from object (cli/obj/subobj/range = 000/SPO_NUM / /01) returned rc 14
S ThNoSpool failed -> retries left 7
M
M Tue Mar 03 09:08:32 2009
M *** ERROR => ThNoLockEntry: timeout locking buffer entry for [thxxnum.c 5655]
M cli/obj/subobj/range = 000/SPO_NUM / /01
M *** ERROR => ThINoGet: failed to lock interval (rc=21) [thxxnum.c 3063]
M return number range rc 14
M *** WARNING => ThNoSpool: get from object (cli/obj/subobj/range = 000/SPO_NUM / /01) returned rc 14
S ThNoSpool failed -> retries left 6
C
C Tue Mar 03 09:10:28 2009
C SQLBREAK: DBSL_CMD_SQLBREAK: CbOnCancel was not set. rc: 1
M
M Tue Mar 03 09:10:33 2009
M *** ERROR => ThNoLockEntry: timeout locking buffer entry for [thxxnum.c 5655]
M cli/obj/subobj/range = 000/SPO_NUM / /01
M *** ERROR => ThINoGet: failed to lock interval (rc=21) [thxxnum.c 3063]
M return number range rc 14
M *** WARNING => ThNoSpool: get from object (cli/obj/subobj/range = 000/SPO_NUM / /01) returned rc 14
S ThNoSpool failed -> retries left 5
M
M Tue Mar 03 09:14:26 2009
M *** ERROR => ThNoLockEntry: timeout locking buffer entry for [thxxnum.c 5655]
M cli/obj/subobj/range = 000/SPO_NUM / /01
M *** ERROR => ThINoGet: failed to lock interval (rc=21) [thxxnum.c 3063]
M return number range rc 14
M *** WARNING => ThNoSpool: get from object (cli/obj/subobj/range = 000/SPO_NUM / /01) returned rc 14
S ThNoSpool failed -> retries left 9
M
M Tue Mar 03 09:16:27 2009
M *** ERROR => ThNoLockEntry: timeout locking buffer entry for [thxxnum.c 5655]
M cli/obj/subobj/range = 000/SPO_NUM / /01
M *** ERROR => ThINoGet: failed to lock interval (rc=21) [thxxnum.c 3063]
M return number range rc 14
M *** WARNING => ThNoSpool: get from object (cli/obj/subobj/range = 000/SPO_NUM / /01) returned rc 14
S ThNoSpool failed -> retries left 8
M
M Tue Mar 03 09:18:28 2009
M *** ERROR => ThNoLockEntry: timeout locking buffer entry for [thxxnum.c 5655]
M cli/obj/subobj/range = 000/SPO_NUM / /01
M *** ERROR => ThINoGet: failed to lock interval (rc=21) [thxxnum.c 3063]
M return number range rc 14
M *** WARNING => ThNoSpool: get from object (cli/obj/subobj/range = 000/SPO_NUM / /01) returned rc 14
S ThNoSpool failed -> retries left 7
M
M Tue Mar 03 09:20:29 2009
M *** ERROR => ThNoLockEntry: timeout locking buffer entry for [thxxnum.c 5655]
M cli/obj/subobj/range = 000/SPO_NUM / /01
M *** ERROR => ThINoGet: failed to lock interval (rc=21) [thxxnum.c 3063]
M return number range rc 14
M *** WARNING => ThNoSpool: get from object (cli/obj/subobj/range = 000/SPO_NUM / /01) returned rc 14
S ThNoSpool failed -> retries left 6
C
C Tue Mar 03 09:22:26 2009
C SQLBREAK: DBSL_CMD_SQLBREAK: CbOnCancel was not set. rc: 1
M
M Tue Mar 03 09:22:30 2009
M *** ERROR => ThNoLockEntry: timeout locking buffer entry for [thxxnum.c 5655]
M cli/obj/subobj/range = 000/SPO_NUM / /01
M *** ERROR => ThINoGet: failed to lock interval (rc=21) [thxxnum.c 3063]
M return number range rc 14
M *** WARNING => ThNoSpool: get from object (cli/obj/subobj/range = 000/SPO_NUM / /01) returned rc 14
S ThNoSpool failed -> retries left 5
M Tue Mar 03 09:28:26 2009
M *** ERROR => ThNoLockEntry: timeout locking buffer entry for [thxxnum.c 5655]
M cli/obj/subobj/range = 000/SPO_NUM / /01
M *** ERROR => ThINoGet: failed to lock interval (rc=21) [thxxnum.c 3063]
M return number range rc 14
M *** WARNING => ThNoSpool: get from object (cli/obj/subobj/range = 000/SPO_NUM / /01) returned rc 14
M Tue Mar 03 09:41:59 2009
M *** ERROR => ThNoLockEntry: timeout locking buffer entry for [thxxnum.c 5655]
M cli/obj/subobj/range = 000/SPO_NUM / /01
M *** ERROR => ThINoGet: failed to lock interval (rc=21) [thxxnum.c 3063]
M return number range rc 14
M *** WARNING => ThNoSpool: get from object (cli/obj/subobj/range = 000/SPO_NUM / /01) returned rc 14
S ThNoSpool failed -> retries left 8
M
M Tue Mar 03 09:44:01 2009
M *** ERROR => ThNoLockEntry: timeout locking buffer entry for [thxxnum.c 5655]
M cli/obj/subobj/range = 000/SPO_NUM / /01
M *** ERROR => ThINoGet: failed to lock interval (rc=21) [thxxnum.c 3063]
M return number range rc 14
M *** WARNING => ThNoSpool: get from object (cli/obj/subobj/range = 000/SPO_NUM / /01) returned rc 14
S ThNoSpool failed -> retries left 7
M
S Tue Mar 03 09:45:50 2009
S *** ERROR => rspogus__get_uniq_spoolnumber: Spool voll? [rspospno.c 351]
S *** ERROR => error 1 set in spool C call [rspoabap.c 485]
S *** ERROR => error message 'spool overflow' in spool C call [rspoabap.c 714]
Thanks & Regards,
VinodHi Subhash,
Since all work processes are busy with report SAPLSOPX by RFC user and couldn't login into sap.
Is there any way that we can clear outstanding spool request at OS level ? and we could see even all ground processes are stopped with SAPLIRFC program.
Any idea what this program does SAPLSOPX and SAPLIRFC ?? do you think it would be better if we lock the user "RFCUSER" time being until we fix this issue?
Inspite of killing the work processes they are immediately occupied by these jobs...
Many Thanks,
Vinod -
Handling load of data in PI - third party systems to SAP R3(Idocs)
Hi,
Request your help in addressing the below issue:
PI (PI 7.0) is receiving a huge load of messages from third party systems at one point of time and it is creating Idocs and dispatching the Idocs to SAP R3 system.
Since the load that is being received by R3 is more than the work processed available in R3 system, the Idoc processing is being set as a background job which inturn is creating spool requests in R3 system and this is leading to spool overflow issue.
Is there any possiblity to control the dispatch of Idocs from PI system, say, the Idocs should be queued up in tRFC of PI until the work process in R3 system would be available.
Please suggest any other possible resolutions to resolve this issue.
Thank you.
Regards,
Subbu>>Please suggest any other possible resolutions to resolve this issue.
Modify idoc occurences and send individual idocs could solve your problem
Check Michal blog
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
Idoc packaging suggestion given in this thread
Re: XI/PI: Receiver IDOC adapter packaging
Edited by: Baskar Gopal on Mar 25, 2011 12:52 PM -
SAP_INTERNAL_ERROR while printing Checks
Hi Gurus,
I am getting an error "Error in spool C call : spool overflow" whle printing checks.
I am able to debug the form , but when I am trying to print the checks which is supposed to
go to the spool is where I am getting the error.
Kindly suggest me what exactly the problem is and how to fix it.
Thanks in advace.
Asish DashHi,
THere is this Tcode from the BASIS which clears the spool request logs in the system.
Kindly approach them for cleaning up the logs.
This is a BASIS acitivity.
Regards,
Reymar -
Regarding SmartForms -- Graphics Node
Hi,
I imported SAP logo (which is in sap.com site) using the transaction se78.
Now I am using this in my smartform for the graphics node.
But I am not getting the full picture.
Bottom portion of the picture is with some blue color like a rectangle.
What may be the problem?
Please help me soon.
Thanks and regards
Balakrishna.NIf I try to get it printed , I got the error message like:
Exception: SEND_ERROR
Messge ID: SPOC
Message :
Messge Numebr : 003
Error in spool C call: spool overflow
What does it mean?
What should I do to rectify the error and get the form printed. -
Spool file error - Buffer Overflow
I've a sql script that is running from a.sql file. The script fetches almost 9 million data as a result of the query. Main problem is related to spool file generation. It is saying buffer overflow. But, when i write that query from sql prompts it is running within 2 mins and completes the task within 15 mins.
I've written -
set serveroutput on size ######
But, still it is not working. Total application is freeze whenever i want to run it. Tell me any suggestion if u have.
Satyaki.i guess what you are more concerned with is the output produced by your query (the spool file).
you need not to see what is displayed on the screen all you need is open up the spool file to
check for those data in there.
to suppress the output from the screen and still generates spool file. use the SET TERMOUT option.
e.g.
-- code for a producing a sample spool file
spool r:\sample_spool.txt;
select * from emp;
spool off;
at the SQL*Plus command line:
SQL> @r:\sample_spool.sql;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7566 JONES MANAGER 7839 02-APR-81 2975 1000 20
7902 FORD ANALYST 7566 03-DEC-81 3000 20
7839 KING PRESIDENT 17-NOV-81 5000 10
7698 BLAKE MANAGER 7839 01-MAY-81 2850 30
7782 CLARK MANAGER 7839 09-JUN-81 2450 10
7369 SMITH CLERK 7902 17-DEC-80 800 20
7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30
7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30
7788 SCOTT ANALYST 7566 09-DEC-82 3000 20
7844 TURNER SALESMAN 7698 08-SEP-81 1500 0 30
7876 ADAMS CLERK 7788 12-JAN-83 1100 20
7900 JAMES CLERK 7698 03-DEC-81 950 30
7934 MILLER CLERK 7782 23-JAN-82 1300 10
14 rows selected.
SQL> -- the above example displays the output on the screen
SQL> -- now we want to turn it off by using the SET TERMOUT option
SQL> SQL> set termout off;
SQL> @r:\sample_spool.sql;
SQL>
after executing the script sample_spool.sql it does not display output from the screen which
we want to avoid the buffer overflow error. and still produce the spool file:
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7566 JONES MANAGER 7839 02-APR-81 2975 1000 20
7902 FORD ANALYST 7566 03-DEC-81 3000 20
7839 KING PRESIDENT 17-NOV-81 5000 10
7698 BLAKE MANAGER 7839 01-MAY-81 2850 30
7782 CLARK MANAGER 7839 09-JUN-81 2450 10
7369 SMITH CLERK 7902 17-DEC-80 800 20
7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30
7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30
7788 SCOTT ANALYST 7566 09-DEC-82 3000 20
7844 TURNER SALESMAN 7698 08-SEP-81 1500 0 30
7876 ADAMS CLERK 7788 12-JAN-83 1100 20
7900 JAMES CLERK 7698 03-DEC-81 950 30
7934 MILLER CLERK 7782 23-JAN-82 1300 10
14 rows selected. -
Error in spool call C call : spoll overflow...
Hi gurus,
when iam trying to generate a spool request while creating process order it's giving an error ....
Error: Error in spool call C call : spoll overflow...
Thanks in advance...
regards
Khan......hi,
Check out the below related thread
Spool problems!
Regards,
Santosh -
SPOOL_INTERNAL_ERROR
Hi,
While scheduling the batch job WRITE_STATISTICS_20, the job is getting cancelled and the error is "Spool internal Error".
Can someone help me on this?
The detail list is the below.(transaction st22)
>> Short dump has not been completely stored. It is too big.
Internal error in the spool system.
What happened?
Error in the SAP Basis system
ABAP/4 processor detected an internal system error.
The current ABAP program "RM60RR20 " had to be terminated because the ABAP
processor discovered an invalid system state.
What can you do?
Please make a note of the actions and input which caused the error.
Please make a note of the actions and input which caused the error.
To resolve the problem, contact your
SAP system administrator.
Choose "Print" for a hard coopy of the termination message. You can
display and adminster short dump messages using Transaction ST22.
Error analysis
When calling the SAP spool system, an (unspecified) internal
error occurred.
More detailed description of error: "Spooljob not found "
Further information:
See below under "Spool error information".
How to correct the error
If the error is in one of your own ABAP programs or an SAP program that
you have modified, try to correct it.
If the error occurred in a non-modified SAP program, you may be
able to find a solution in the SAP note system.
If you have access to the note system yourself, use the following
search criteria:
"SPOOL_INTERNAL_ERROR"
"RM60RR20 " or "RM60RR20 "
"WRITE_STATISTICS_20"
If the error occurred in a non-modified SAP program, you may be
able to find a solution in the SAP note system.
If you have access to the note system yourself, use the following
search criteria:
"SPOOL_INTERNAL_ERROR"
"RM60RR20 " or "RM60RR20 "
"WRITE_STATISTICS_20"
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
System environment
SAP Release.............. "46C"
Application server....... "bif1"
Network address.......... "192.168.1.14"
Operating system......... "HP-UX"
Release.................. "B.11.00"
Hardware type............ "9000/800"
Database server.......... "bif1"
Database type............ "ORACLE"
Database name............ "BIF"
Database owner........... "SAPR3"
Character set............ "ko_KR.eucKR"
SAP kernel............... "46D"
Created on............... "Aug 24 2004 14:06:09"
Created in............... "HP-UX B.11.00 U 9000/800"
Database version......... "OCI_805_64 "
Patch level.............. "1900"
Patch text............... " "
Supported environment....
Database................. "ORACLE 8.0.5.., ORACLE 8.0.6.., ORACLE
8.1.6.., ORACLE 8.1.7.."
SAP database version..... "46D"
Operating system......... "HP-UX B.10, HP-UX B.11, , System build information:,
, LCHN : 681145"
User, transaction...
Client.............. 100
User................ "PP_PLAN1"
Language key........ 3
Transaction......... " "
Program............. "RM60RR20 "
Screen.............. "SAPMSSY0 1000"
Screen line......... 6
Information on where termination occurred
The termination occurred in the ABAP/4 program "RM60RR20 " in
"WRITE_STATISTICS_20".
The main program was "RM60RR20 ".
The termination occurred in line 729
of the source code of program "RM60RR20 " (when calling the editor 7290).
The program "RM60RR20 " was started as a background job.
Source code extract
006990 * using pbim structure pbim. "P45K014123
007000 USING PBIMX STRUCTURE PBIMX. "P45K014123
007010
007020 CHECK NOT LISTFLAG IS INITIAL. "Liste ausgeben
007030
007040 * Liste ausgeben
007050 * perform write_pbim using pbim. "P45K014123
007060 PERFORM WRITE_PBIM USING PBIMX. "P45K014123
007070
007080 * if pbim-vervs is initial. "P45K014123
007090 IF PBIMX-VERVS IS INITIAL. "P45K014123
007100 PERFORM WRITE_PBED TABLES PBEDX.
007110 ELSE.
007120 PERFORM WRITE_PBEDV TABLES PBEDV USING
007130 * pbim. "P45K014123
007140 PBIMX. "P45K014123
007150 ENDIF.
007160 ENDFORM.
007170
007180
007190 * *
007200 * FORM WRITE_LIST_DB *
007210 * *
007220 * FORM WRITE_STATISTICS *
007230 * *
007240 * > COUNT1 *
007250 * > COUNT2 *
007260 * *
007270 FORM WRITE_STATISTICS_20.
007280 NEW-PAGE WITH-TITLE.
> SKIP.
007300 FORMAT INTENSIFIED OFF.
007310 FORMAT COLOR COL_TOTAL.
007320 WRITE:
007330 /(60) TEXT-201, CNT_PBIM,
007340 /(60) TEXT-202, CNT_PBED,
007350 /(60) TEXT-203, DEL_PBED.
007360 ENDFORM.
007370
007380 *& *
007390 *& Form MDVM_ENTRY_LTP
007400 *& *
007410 * Erzeugt eine Planungsvormerkung fuer Material PBIM-MATNR *
007430 * >P_PBIMX text
007440 * *
007450 FORM MDVM_ENTRY_LTP USING PBIMX STRUCTURE PBIMX.
007460
007470 MDCP-MATNR = PBIMX-MATNR.
007480 MDCP-WERKS = PBIMX-WERKS.
Contents of system fields
SY field contents..................... SY field contents.....................
SY-SUBRC 0 SY-INDEX 0
SY-TABIX 965 SY-DBCNT 0
SY-FDPOS 0 SY-LSIND 0
SY-PAGNO 1 SY-LINNO 1
SY-COLNO 1
and so on....Hi,
Try checking these OSS notes:
329021
16534
302091
48400
481657
48284
May be this helps.
regards,
satya
Maybe you are looking for
-
How Do I Unlock the full potential of my NVIDIA card
I have a macbook pro with Nvidia 256mb. The original advert before I purchased says that it was divided into two parts and that you could unlock the potential of the second part if you needed more power. Could someone please clue me in on how to do t
-
I'm having trouble transfering my music from the ipod touch to my new laptop.My old pc got a virus and is dead.All the music I had is on the ipod now. When I try to sync it on the laptop with Itunes, it only transfers the purchased music. How do I t
-
Hi, My java application (with jdk1.5.0_03) shoots upto 169 MB of Process size (seen in Task manager) and the heap size when printed (Runtime.totalMemory()-Runtime.freeMemory()) shows as 68 MB. I assume that the process size is the total JVM memory. I
-
Lion OS 10.7 and Quicken 2007 - Investments
Ashland A In your transition to SEE you do not mention transfering a history of investments. This is an area where many of us have been left out. Did you transfer a long history (10 years +) of accounts with activity to SEE?
-
IBooks has stopped working on my iPad2
After the upgrade to iBooks, the app has stopped working on my iPad2. I tap the icon and the app opens up but then shuts down again after a second or so. When I go to the app store I can't download it again from my purchases, since the only option i