Dumps nach Abbruch der SPAM

16. September 2011 - 6:35 am Uhr

Beim Einspielen von SAP Support Packages bricht die SPAM ab oder der Client verliert die Verbindung zum SAP System.

Das Fehlerbild ist dann abhängig davon, in welcher Phase dies geschehen ist. Mir ist es gerade im Main Import passiert.

Meldet man sich nun wieder am SAP System an, wird man von einer Vielzahl Dumps freundlich begrüßt

Ein Aufruf der SPAM führt ebenfalls zu Dumps (Laufzeitfehler: SYNTAX_ERROR).

Das SLOG (usr/sap/trans/log/SLOG.SID) sah so aus:

STOP MAIN IMPORT <SID> I 20110915141958 SAPUSER <HOST> 20110915123207347

ERROR: stopping on error 12 during MAIN IMPORT

HALT 20110915141958

ERROR: uncaught internal error: ORA-03114: not connected to ORACLE

ERROR: EXIT(16) -> process ID is: 18929

STOP imp all <SID> 0016 20110915141958 SAPUSER <HOST> 20110915123207347

START MAIN IMPORT <SID> I 20110915144329 <SID>adm <HOST> 20110915144329001bdd

START MAIN IMPORT <SID> I 20110915144355 <SID>adm <HOST> 20110915144355001c4a

ERROR SAPKB70207 <SID> I 0012 20110915144630 SAPUSER <SID>adm <HOST> 20110915144355001c4a

STOP MAIN IMPORT <SID> I 20110915144632 <SID>adm <HOST> 20110915144355001c4a

ERROR: stopping on error 12 during MAIN IMPORT

In diesem Fall muss man das Einspielen der Support Packages von Hand über das Betriebssystem vornehmen:

tp R3I all <SID> pf=/usr/sap/trans/bin/TP_DOMAIN_<SID>.PFL tag=spam -Dclientcascade=yes -Dstoponerror=8 -Drepeatonerror=8 -Dsourcesystems= -Dtransdir=/usr/sap/trans

Mit diesem Befehl wird dann die komplette Queue neu importiert.

Bricht der Befehl ab, sollte man ihn zuerst noch einmal wiederholen.

Anschließend kann man die SPAM wieder aufrufen und die Nacharbeiten des Imports ausführen lassen, in dem man die Queue dort wieder einspielt.

Ist der Abbruch nur bei einem Paket passiert, kann man sich auch erst den Buffer anzeigen lassen:

tp showbuffer <SID> pf=/usr/sap/trans/bin/TP_DOMAIN_SCD.PFL tag=spam

 

und anschließend eben jenes Packet von Hand einspielen:
tp R3I SAPKB70207 <SID> pf=/usr/sap/trans/bin/TP_DOMAIN_<SID>.PFL tag=spam –Dclientcascade=yes -Dstoponerror=8 -Drepeatonerror=8 -Dsourcesystems= -Dtransdir=/usr/sap/trans

Kommentare deaktiviert | Solved

TP Befehle zur Transportsteuerung

31. Januar 2011 - 2:33 pm Uhr

Unter Umständen ist es doch mal notwendig, Transporte mit dem tp Befehl direkt über das Betriebssystem zu importieren. Im folgenden die wichtigsten Befehle

tp command 

description 

showbuffer SID Shows the buffer of system SID
addtobuffer tranport
SID
Adds transport to the buffer of system SID
delfrombuffer tranport
SID
Deletes transport from the buffer of the SAP system SID
cleanbuffer SID
Removes old entries from SIDs buffer
setstopmark SID Fügt eine Markierung in den Buffer von System SID ein, bei der ein import oder put aufhört. Wenn keine derartige Marke vorhanden ist, dann fügen die Befehle import all und put temporär eine solche ein (und löschen diese nach erfolgreichem Import).
delstopmark SID Entfernen der Stop-Marke aus dem Buffer  
addtobuffer transport
SID
Add the transport transport to buffer of system SID
import all/transport
SID

Import all or a single transport into SID. You may add special unconditional modes.
getobjlist transport displays a list of the objects in transport. The source system must be defined as a dummy system in the TPPARAM file.
locksys SID Lock users others than SAP* and DDIC out of the system, they get the message `put still running’. Be aware, that even logged in users may not start new jobs, but can still work.
unlocksys SID Unlock the system SID
lock_eu SID Lock the development environment of system SID , so no abap or dictionary development can take place.
unlock_eu SID Unlock the development environment of system SID (back to the state before lock_eu)
getdbinfo SID Displays informations about the database 

 

U Modes für tp

u-mode 

Description 

0  do not remove the transport from the buffer and set unconditional mode 1, so the transport gets imported at the right time again.
1  ignore that the transport as already been imported  
3  overwrite originals  
6  overwrite objects in uncommited(?) repairs  
8  ignore restrictions from the table class  
9 ignore that the system is locked for this kind of transport (how can that happen?)  

 

Beispiel:

tp addtobuffer <Transportauftrag> SID

tp import <Transportauftrag> SID client=111 u1389

Kommentare deaktiviert | Uncategorized