Вы находитесь на странице: 1из 5

SAP Note

Header Data
Symptom
I n your R/ 3 syst em, you have f ound an i nconsi st ency i n t he spool dat abase or i n t he dat abase f or
t empor ar y sequent i al obj ect s ( TemSe) .



Other Terms
Consi st ency, XRTAB, RT_UPDATE, RT_I NSERT, SPOOL_I NTERNAL_ERROR, r eor g,
t emse, dat a l i nes

Reason and Prerequisites
Ther e can be many di f f er ent causes. For exampl e, i nconsi st enci es can occur i f you del et e t abl e
ent r i es manual l y f r omt he spool and TemSe t abl es, del et e spool and TemSe obj ect s f r omt he f i l e
syst emor do not car r y out t he consi st ency checks cor r ect l y. Ter mi nat i ons of t he r epor t and
t r ansact i ons al so cause t hese i nconsi st enci es. An i ncor r ect l y execut ed cl i ent t r anspor t can al so
l ead t o i nconsi st enci es i n t he TemSe and spool .
I nconsi st enci es do not ' j ust appear ' . They al ways have concr et e causes. However , i n many cases i t i s
i mpossi bl e t o det er mi ne t hese causes af t er t hey have occur r ed.
A pr eci se anal ysi s i s gener al l y onl y possi bl e i f you have a r epr oduci bl e exampl e. The f ol l owi ng
sect i ons wi l l t her ef or e onl y descr i be how t o det ect and el i mi nat e i nconsi st enci es.

Def i ni t i on of t he t er mTemSe:
Some obj ect s, whi ch ar e nor mal l y not r et ai ned i n t he syst emf or a l ong t i me, ar e st or ed i n t he
t empor ar y sequent i al obj ect s ( TemSe) dat a st or age.
These ar e:
1. Spool r equest s ( TemSe name: SPOOL. . . . . . . )
2. J ob l ogs ( TemSe name: J OBLG. . . . . . . . )
3. Obj ect s f r omot her appl i cat i ons, f or exampl e Human Resour ces ( TemSe name: HR. . . . . . . ) ,
Fi nanci al Account i ng - dat a medi umexchange ( TemSe name: DTA. . . )
4. An obj ect begi nni ng wi t h KONS. Thi s obj ect i s r egul ar l y used by r epor t RSPO1043 and
shoul d never be del et ed ( Not e 98065) .
5. I f t he new l og pr ocedur e i s used f or bat ch i nput ( Not e 175596) , t he bat ch i nput l ogs
(TemSe Name:BDC....).

Each TemSe obj ect consi st s of a header ent r y i n t abl e TST01 and t he act ual obj ect . I t can be st or ed
i n t he f i l e syst em( al ways t he case f or j ob l ogs) or i n t abl e TST03 ( al ways f or HR dat a) . I n t he
case of spool ent r i es, you can use a par amet er t o deci de whet her t he obj ect i s st or ed i n t he f i l e
syst emor i n t abl e TST03 ( def aul t set t i ng, see Not e 20176) . Spool r equest s al so have ent r i es i n
t abl e TSP01 ( header ent r i es f or t he spool r equest ) and possi bl y i n t abl e TSP02 ( header ent r i es f or
possi bl e out put r equest s) .
Wi t h dat a medi umexchange obj ect s f r omFi nanci al Account i ng, you can det er mi ne whet her t he obj ect i s
st or ed i n TST03 or i n t he f i l e syst emf or t he r el evant r uns ( i n t he l at t er case, t her e i s no header
ent r y i n TST01 so t he obj ect i s no l onger a TemSe obj ect . You can use t r ansact i on FDTA t o manage t he
obj ect s) . For mor e i nf or mat i on about DTA obj ect s and how t o manage t hem, r ef er t o t he sect i on on
dat a medi umexchange i n t he Account s Recei vabl e and Account s Payabl e Account i ng chapt er s i n t he
onl i ne document at i on ( see al so Not e 15960) .

NOTE:
TemSe cannot manage any obj ect s l ar ger t han 2 GB, i ndepent of whet her t he obj ect i s st or ed i n t he
dat abase or at f i l e syst eml evel . Par t i cul ar l y wi t h spool or der s, you need t o di vi de t hemi nt o
sever al smal l er ones.
Si nce spool or der s l ar ger t han 2 GB cannot pr act i cal l y be handl ed, t hi s r est r i ct i on wi l l not be
changed.

48400 - Reorganization of TemSe and Spool
Version 23 Validity: 15.02.2012 - active Language English
Released On 15.02.2012 12:06:18
Release Status Released for Customer
Component BC-CCM-PRN-TMS TemSe (Repository for temporary sequential objects)


BC-ABA-SC UI services, screen, batch input

BC-CCM-PRN-SPO Spool System
Priority Recommendations / Additional Info
Category Consulting
Other Components
Solution
l 1. Check memor y di st r i but i on i n t he TemSe dat a st or age.

- > Tool s - > Admi ni st r at i on
- > Spool - > TemSe Admi ni st r at i on ( t r ansact i on SP12)
- > TemSe dat abase - > Memor y al l ocat i on
( as of Rel ease 4. 0A: - > Tool s - > CCMS - > Spool - > TemSe Dat a St or age ( t r ansact i on SP12) )
- > TemSe Dat a St or age - > Memor y al l ocat i on

Her e, you can check t he di st r i but i on of your TemSe obj ect s by age, cl i ent and cr eat or . I n t hi s
cont ext , you shoul d r ef er t o Not e 11070. Check whet her t he number of your TemSe obj ect s i s ver y
l ar ge and whet her many of your obj ect s ar e st or ed wi t h an unl i mi t ed r et ent i on per i od.

CAUTI ON:
You cannot see t he r et ent i on per i od of spool r equest s her e: i t i s st or ed i n t abl e TSP01 and can be
r ead f r omt he header dat a f or t he spool r equest ( t r ansact i on SP01) .

NOTE THAT TEMSE I S NOT AN ARCHI VI NG SYSTEM
Fur t her mor e, t he maxi mumper mi t t ed number of spool r equest s i s l i mi t ed ( Not e 48284) . Use pr i nt l i st
ar chi vi ng f or spool r equest s.
The number of TemSe obj ect s may var y consi der abl y dependi ng on t he syst em. I n some pr oduct i on
syst ems, 30, 000 or 40, 000 obj ect s woul d be qui t e nor mal ( 100, 000 i s st i l l consi der ed a l ot ) . Al ways
ensur e t hat t he number and memor y al l ocat i on do not cont i nual l y i ncr ease i n your syst em.
l 2. Del et e any obj ect s t hat ar e no l onger r equi r ed.
A. Spool obj ect s t hat ar e no l onger r equi r ed can be del et ed usi ng spool admi ni st r at i on.

- > Tool s - > Admi ni st r at i on
- > Spool - > Spool admi ni st r at i on ( t r ansact i on SPAD)
- > Del et e Ol d Spool Request s.
( as of Rel ease 4. 0A: - > Tool s - > CCMS - > Spool - > Spool Admi ni st r at i on
(transaction SPAD) - > Admi ni st r at i on - > Del et e Ol d Spool Request s

Onl y use t hi s onl i ne opt i on i f t her e ar e not many spool r equest s i n t he syst em.

You can al so execut e r epor t RSPO0041. Ref er t o Not es 41547 and 16083 f or i nf or mat i on on
del et i ng out dat ed spool r equest s.
I n t he meant i me, an i mpr oved ver si on of t hi s r epor t ( RSPO1041) has been cr eat ed, whi ch you
can downl oad f r omsapser v3 ( Not e 130978) .
B. Del et e obsol et e j ob l ogs vi a r epor t RSBTCDEL ( Not e 16083) .
C. Ref er t o Not es 98995 and 385283 i f you want t o del et e HR obj ect s.
D. Use t r ansact i on FDTA t o del et e DTA obj ect s f r omFi nanci al s ( a descr i pt i on on how t o do
t hi s i s avai l abl e i n t he onl i ne document at i on) . Di spl ay t he l i st and use t he Del et e
pushbutton.Here, you can also check for possible inconsistencies (table REGUT contains a
r ef er ence t o TemSe obj ect ) .
E. To del et e bat ch i nput l ogs t hat ar e no l onger needed, use t he RSBDCREO r epor t ( Not e
25219) .

CAUTI ON:
I f r et ent i on t i mes f or j obs and spool r equest s di f f er , t hen spool r equest number s ar e somet i mes
r eused. Thi s can l ead t o i nval i d al l ocat i ons. For mor e i nf or mat i on, see Not e 422136.

CAUTI ON:
You can use t he r epor t RSTS0022 t o del et e ol d TemSe obj ect s. Execut e t hi s r epor t wi t h car e. Onl y
execut e i t i f you know pr eci sel y what you ar e del et i ng. Thi s r epor t does not t ake i nt o account
dependenci es bet ween TemSe t abl es and ot her t abl es, so i nconsi st enci es may occur .

RSTS0022 SHOULD NEVER BE SCHEDULED ON A REGULAR BASI S

Onl y use t he r epor t s ment i oned above f or t hi s. RSTS0022 can del et e onl y t he TemSe obj ect and t he
header ent r y i n TST01. I t does not t ouch t he ent r i es i n t abl es TSP01 and TSP02, whi ch causes
i nconsi st enci es i n t he spool er . Thi s can r esul t i n ser i ous er r or s, f or exampl e, i f a bat ch j ob t r i es
t o append a spool r equest t o an exi st i ng one and no l onger f i nds t he TemSe obj ect .
For t hi s r eason, r un a consi st ency check on t he spool er af t er war ds.

Af t er you i mpor t t he Suppor t Packages ment i oned i n t hi s not e, r epor t RSTS0022 can no l onger be
car r i ed out f r omt r ansact i on SP12.
l 3. Per f or ma consi st ency check on TemSe and t he spool er .

I MPORTANT:
Ther e ar e t wo f undament al l y di f f er ent consi st ency checks: t he TemSe checks and consi st ency checks
speci f i c f or t he r espect i ve obj ect t ype ( spool , bat ch i nput , and so on) .
Nei t her of t he t wo checks cont ai ns t he ot her check, whi ch means you must use BOTH checks!
The TemSe consi st ency check checks t he header ent r y i n t abl e TST01 and t he cor r espondi ng obj ect f or
ALL TemSe obj ect s. The spool consi st ency check, f or exampl e, al so checks t he ent r i es i n t abl es TSP01
and TSP02, but onl y t he spool obj ect s ar e checked. For bat ch i nput l ogs, see Not e 175596.

Bot h consi st ency checks ar e cl i ent - i ndependent ( r ef er t o Not e 375964 i n t he event of pr obl ems) .

You can execut e bot h consi st ency checks onl i ne or i n t he backgr ound. Ther e i s no si gni f i cant
di f f er ence. I n pr oduct i on syst ems, we r ecommend t hat you do not use t he onl i ne sol ut i on si nce a
t i meout may occur . I f necessar y, i ncr ease t he val ue f or par amet er r di sp/ max_wpr un_t i me ( Not e 25528) .

Essent i al l y, t he consi st ency checks cont ai n onl y r ead oper at i ons and t her ef or e cannot cause any
' damage' . Thi s i s al so t r ue i f ot her user s ar e wor ki ng i n t he syst em. However , i n t hi s case t he
syst emmi ght di spl ay t empor ar y i nconsi st enci es, because someone i s cur r ent l y wr i t i ng t o t he TemSe
( t hi s pr obl emcan al so occur when you execut e t he check i n t he backgr ound) .
These ar e not genui ne i nconsi st enci es and must not be del et ed. We r ecommend t hat you r un t he
consi st ency check t wi ce bef or e a possi bl e del et e r un, wi t h a 30 mi nut e i nt er val bet ween checks ( t hi s
i s an appr oxi mat e val ue onl y; t he exact i nt er val depends on t he j obs t hat ar e cur r ent l y r unni ng) .
Onl y t he i nconsi st enci es t hat ar e di spl ayed i n bot h checks ar e genui ne i nconsi st enci es.

CAUTI ON:
The spool consi st ency check al so i ncl udes wr i t e access t o t he dat abase, because i t del et es out - of -
dat e wr i t e l ocks. The def aul t i s 30 mi nut es, whi ch i s i nsuf f i ci ent f or many backgr ound j obs. A
backgr ound j ob t hat r uns f or l onger dur i ng t hi s t i me t er mi nat es wi t h t he er r or descr i bed i n Not e
16534.
We t her ef or e r ecommend t hat you choose a val ue t hat i s suf f i ci ent l y l ar ge ( t he new r epor t RSPO1043
has a def aul t val ue of 10, 080 mi nut es, whi ch cor r esponds t o one week) .
Si nce t he val ue of 30 mi nut es f or t he onl i ne check cannot be changed, you shoul d per f or mt he
consi st ency check i n t he backgr ound.
A. TemSe consi st ency check

1. Online:
Transaction SP12 (menu path see above)
- > TemSe Dat a St or age - > Consi st ency check

As a r esul t , t he syst emdi spl ays a l i st wi t h t he i nconsi st enci es.

2. In the background:
Run r epor t RSTS0020. As a r esul t , t he syst emdi spl ays a l i st of t he i nconsi st enci es f ound. However ,
you do not have t he opt i on of del et i ng t hem. Wai t some t i me, t hen r un t he consi st ency check a second
t i me and compar e t he r esul t s. I nconsi st enci es t hat ar e f ound i n bot h l ogs ar e genui ne
i nconsi st enci es and shoul d be del et ed. However , bear i n mi nd t hat l ong- r unni ng j obs f or t he cur r ent
day mi ght al so be l i st ed as i nconsi st enci es i n bot h l ogs.

I nconsi st enci es i n TemSe CANNOT be del et ed i n t he backgr ound.
You have t wo opt i ons f or del et i ng:

a. ) Run t he consi st ency check onl i ne, as descr i bed above.
Sel ect t he i nconsi st enci es t o be del et ed and choose:
' Del et e Sel ect ed Ent r i es' or ' Del et e al l ' , t o del et e t he ent i r e l i st .

b. ) I f you have many TemSe obj ect s, use r epor t
RSTS0030. Cal l RSTS0030 onl i ne
f or ar eas of TemSe i n whi ch t he consi st ency check f ound i nconsi st ent obj ect s. Sel ect bot h t he TST01
and TST03 checks ( you do not have t o l i st al l TemSe obj ect s) .
Once t he r epor t has gener at ed t he obj ect l i st , del et e ei t her t he sel et ced or al l i nconsi st enci es.

Not e t hat you can onl y ent er a gener i c name ( t hat i s, usi ng wi l dcar ds) , not however , as an ar ea wi t h
upper and l ower l i mi t s.

CAUTI ON:
Si nce del et i ng i nconsi st enci es onl y i ncl udes t he header ent r y i n t abl e TST01 and t he act ual TemSe
obj ect , an i nconsi st ent spool r equest i s not f ul l y del et ed. The ent r i es i n t he t wo spool er t abl es
ar e r et ai ned. For t hi s r eason, you shoul d al ways use t he spool consi st ency check t o del et e
i nconsi st ent spool r equest s.
B. Spool consi st ency check
1. Online:

Transaction SPAD (menu path, see above)
- > Check consi st ency ( as of Rel ease 4. X: Admi ni st r at i on - >
- > Consi st ency Check of Spool Dat abase

2. In the background:
Ther e ar e t wo r epor t s f or t he spool consi st ency check: RSPO0043 and RSPO1043. RSPO0043 can onl y
di spl ay i nconsi st enci es i n t he backgr ound, si mi l ar t o RSTS0020 i n TemSe.

Del et i ng i nconsi st enci es i n t he spool er :

Up t o and i ncl udi ng Rel ease 3. 1I , you can onl y del et e i nconsi st enci es onl i ne usi ng t r ansact i on SPAD
or by st ar t i ng RSPO0043 onl i ne. Then, el i mi nat e t he i nconsi st enci es usi ng ' Del et e Sel ect ed Ent r i es'
or ' Del et e al l ' .

As of Rel ease 4. 0A, t he new r epor t RSPO1043 i s del i ver ed i n t he st andar d syst em( Not e 98065) . I t has
t wo essent i al advant ages:
I t can del et e i nconsi st enci es i n t he backgr ound and i t onl y del et es i nconsi st enci es i f i t has f ound
t hemi n r epeat ed r uns, t hat i s, t her e i s no danger of del et i ng t empor ar y i nconsi st enci es. We
t her ef or e r ecommend t hat you use t hi s r epor t onl y as of Rel ease 4. 0A and t hat you schedul e i t on a
dai l y basi s.
Repor t RSPO1043 mi ght l i st i t s own spool r equest as i nconsi st ent . You can i gnor e t hi s ent r y.

C. Consi st ency check f or bat ch i nput : Use t he r epor t s RSBDCCKA and RSBDCCKT. For mor e i nf or mat i on,
see Not e 175596.

Reset t he pr of i l e par amet er r di sp/ max_wpr un_t i me t o i t s pr evi ous val ue when you have compl et ed t he
onl i ne consi st ency check.

Whi ch r epor t s shoul d be schedul ed on a r egul ar basi s ( see al so Not e
16083) ?
You shoul d r un t he f ol l owi ng r epor t s dai l y:
RSPO0041 ( or RSPO1041) , RSBTCDEL2, RSBDCREO: To del et e out dat ed TemSe obj ect s
RSPO1043, RSTS0024, and RSTS0043 f or t he consi st ency check

Validity
Support Packages & Patches
References
This document refers to:
SAP Notes
This document is referenced by:
SAP Notes (27)
Software Component From Rel. To Rel. And Subsequent

SAP_BASIS

46B

46D

610

640

700

700

710

710
Support Packages
Software Component Release Support Package

SAP_BASIS

46B

SAPKB46B50

46C

SAPKB46C41

46D

SAPKB46D30

610

SAPKB61029

620

SAPKB62017
1146842 ARP:CCMS - ABAP-SPO - Used spool number range
1093605 ARP:Nagios/CCMS - OS - File System Freespace
706478 Preventing Basis tables from increasing considerably
534468 Not all parts of a job log are deleted
504952 Composite note regarding spooling and printing
503499 TemSe consistency check: Inconsistencies cannot be deleted
489690 CC INFO: Copying large production clients
422136 Incorrect spool assignment for the background step
406363 Spool error: START_SPOOL SUBRC 20 spool job not found
385283 Deleting HR TemSe files
375964 RSPO0043 deletes TST03 in current client only
214969 Error writing the job log
147638 Deletion date of Temse object
140547 Adjust line length in the TST03 database
130978 RSPO1041 - Replacement for RSPO0041
98995 Deleting TemSe objects in the HR module
98065 Spool consistency check with RSPO1043 as of 4.0A
67205 CC-INFO: Copying large and productive clients
67055 Explanation of syslog message xrtab(?)->? for ????
48284 System can no longer create spool requests
41547 How does report RSPO0041 work?
25528 Parameter rdisp/max_wprun_time
16875 TemSe objects do not match TemSe files
16534 Job terminates due to SPOOL_INTERNAL_ERROR
16083 Standard jobs, reorganization jobs
15960 Data medium exchange: where is the DME file?
11070 Space requirements of TemSe and spooler
1336 Spooler reports database I/0 errors
16534 Job terminates due to SPOOL_INTERNAL_ERROR
16083 Standard jobs, reorganization jobs
15960 Data medium exchange: where is the DME file?
11070 Space requirements of TemSe and spooler
214969 Error writing the job log
98995 Deleting TemSe objects in the HR module
98065 Spool consistency check with RSPO1043 as of 4.0A


375964 RSPO0043 deletes TST03 in current client only
422136 Incorrect spool assignment for the background step
67205 CC-INFO: Copying large and productive clients
67055 Explanation of syslog message xrtab(?)->? for ????
147638 Deletion date of Temse object
385283 Deleting HR TemSe files
706478 Preventing Basis tables from increasing considerably
534468 Not all parts of a job log are deleted
489690 CC INFO: Copying large production clients
503499 TemSe consistency check: Inconsistencies cannot be deleted
504952 Composite note regarding spooling and printing
406363 Spool error: START_SPOOL SUBRC 20 spool job not found
48284 System can no longer create spool requests
41547 How does report RSPO0041 work?
140547 Adjust line length in the TST03 database
130978 RSPO1041 - Replacement for RSPO0041
1336 Spooler reports database I/0 errors
25528 Parameter rdisp/max_wprun_time
22514 CC-INFO: Error analysis for client copy
16875 TemSe objects do not match TemSe files

Вам также может понравиться