If the SPAM transaction is canceled or there is a connection interruption during the transfer of SAP Support Packages, errors as stated below may occur.
When you log in to the SAP system again, there is a high probability that you will encounter many dumps.
Also probably you will get the runtime error: SYNTAX_ERROR when you try to call SPAM
Your SLOG (usr/sap/trans/log/SLOG.SID) looked like this:
STOP MAIN IMPORT <SID> I 20250115144857 SAPUSER <HOST> 20250115144836
ERROR: stopping on error 12 during MAIN IMPORT
STOP 20250115144857
ERROR: uncaught internal error: ORA-03114: not connected to ORACLE
ERROR: EXIT(16) -> process ID is: 4342
STOP imp all <SID> 0016 20250115144857 SAPUSER <HOST> 20250115144836
START MAIN IMPORT <SID> I 20250115144825 <SID>adm <HOST> 20110915144329001bdd
START MAIN IMPORT <SID> I 20250115144829 <SID>adm <HOST> 20110915144355001c4a
ERROR SAPKB70207 <SID> I 0012 20250115144833 SAPUSER <SID>adm <HOST> 20250115144833001b64
STOP MAIN IMPORT <SID> I 20250115144837 <SID>adm <HOST> 20250115144837001b64
ERROR: stopping on error 12 during MAIN IMPORT
In this case, we need to install the support packages manually from the operating system ;
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
With this command we will reimport the entire queue again, if you will get any kind of error i suggest you to try it again.
Please try to call SPAM tcode, if the error occurs, check the buffer with the following command ;
tp showbuffer <SID> pf=/usr/sap/trans/bin/TP_DOMAIN_<SID>.PFL tag=spam
and run the following command to manually import this package.
tp R3I SAPKB70414 <SID> pf=/usr/sap/trans/bin/TP_DOMAIN_<SID>.PFL tag=spam –Dclientcascade=yes -Dstoponerror=8 -Drepeatonerror=8 -Dsourcesystems= -Dtransdir=/usr/sap/trans