Blog Posts

24. SPAMCHK_INI - SPAM/SAINT Package upload failures & Manual file uploads during SUM

This scenario deals with the PREP_PRE_CHECK/SPAMCHK_INI phase which SUM stuck and fails due to corrupted package of SPAM/SAINT (Partially downloaded).
SPAMCHK_INI - SPAM/SAINT Package upload failures & Manual file uploads during SUM

Usually, when we do upgrades, we would have definitely selected latest SPAM/SAINT update file in Maintenance planner and downloaded the same. However, in some cases, downloaded file somehow in corrupted state (partially downloaded). Yes, It happened for me while downloading via Download Manager.

During SUM run, It fails with "Error while unpacking SAR Archives" due to corrupted ones.

Note 3003088 - SUM Phase SPAMCHK_INI: SPAM archive extraction  (Errors occurred while unpacking archives) vers 3

SPAM Archive extraction ended with errors (Errors occurred while unpacking the archive files)
Error code: No entry with key EPS file name of SPAM update package.PAT

As per note 3003088, SAP might have proposed workaround to do SPAM/SAINT update manually and then retry SUM step since there won't be an "Scan files" option at corresponding stage.

However, we can manually re-extract the file and retry SUM step. Let SUM update the same.

SUM expects uncarred - Filename.PAT file from the extraction. 

Assume our target version SPAM/SAINT file:
SAPKD75894
SPAM/SAINT Update - Version 758/0094

Quick steps:
 
1) SPAM/SAINT - Environment - Electronic Parcel - Inbox - Delete the uploaded/corrupted file of SPAM/SAINT 758 SP94 if exists. Status will change to D.
 
2) Delete existing extracted PAT file (if available) from EPS/in directory as well as your SUM file downloaded directory.
 
3) Now, Download package SAPKD75894 freshly from software center. Use SAPCAR to manually extract.
 
SAPCARXXX.EXE -xvf KD75894.SAR
 
You can download SAPCAR from Softwarecenter (Windows - SAPCAR_600-70009506) OR use existing Kernel SAPCAR itself. Just sapcar -xvr filename.SAR would do.

we will get our PAT file (I720020751259_0177772.PAT)
 
4) Copy extracted files in /EPS/in directory
 
5) Now, Use SPAM/SAINT - Load Packages - EPS files from Application Server
SPAM/SAINT Load Package
6)  Once done, check once whether it's uploaded as expected - C status - IN Environment - Electronic Parcel service - Go to - Inbox.
 
Yes, Now PAT file available in system. Retry SUM phase. This time, SUM will detect our extracted PAT file. It will proceed further as extraction itself is not required now. SUM will deal SPAM/SAINT update.

✨Usually, above steps applicable for any cases which "Scan files" option not available in failed phase and failure occurred due to missing packages/corrupted files. It also helps on missing single package upload even when Scan files option available. Just download and load packages -> Retry SUM instead of placing files in SUM download directory and rescanning all files once again which will save time.

I have proposed with manual extraction which won't leave a chance to trigger error once again. You can also try simple - SAR extraction first - Load Packages - SAR files from application server post deletion instead of manual extraction. If it worked, cheers !

Note 684564 - Re-importing a SPAM/SAINT update

Hope you like this scenario !

Thanks for visiting !!!

No comments:

Post a Comment

Featured Post

32. How to check Import Prerequisites to install SAP ADD ON or DO SP Updates?

Considering Ariba CIG Add on for example. Most of the projects use Ariba CIG Add on. It's widely used in both ECC and S/4 HANA Sy...

Popular Posts