Main Import

Main Import
MAIN IMPORT
Overview :
During the import_proper phase all the Repository objects and table entries are imported. Then actions such
as distribution, conversion, activation and generation occur.
Main Import : During the main import actual import oft he packages happen and all the data will be imported
into the system.
Logs :
When the import in SPAM\SAINT is stuck in the import_proper phase during the main import the following
logs can be checked to know the cause for the error
2
MAIN IMPORT
SPAM\SAINT – Action Log
Log file: DIR_TRANS\log\ SAPI*
For more information about the logs to be checked during the SPAM\SAINT import of the packages please
refer the KBA
1846111 - Logs that need to be checked while importing a package using SPAM/SAINT
Common Known Issues :
1. When the main import of the packages is running in SPAM the logs will be updating in the
DIR_TRANS\tmp which indicates the import is running. When the logs are not getting updated in the
DIR_TRANS\tmp then the import is in hanging status.The cause for this on-hold behaviour is the
presence of SLOG<>SID.LOC file in DIR_TRANS/tmp. This file contains the pid of the previous tp
and R3trans processes which no longer runs after the initial termination. However the LOC file
remains in the tmp directory.Subsequent repeat of the phase does not progress because the system
detects the presence of the existing LOC file and hence assumes that the import is running and
awaits the response from non existant tp and R3trans processes.To fix the issue the following needs
to be performed:
a. Kill any left over tp and R3trans processes.
b. Check there is no entry in TRBAT and TRJOB tables.
c. Backup and remove the semaphore file and the SLOG<>SID.LOC files from the
DIR_TRANS/tmp directory.
d. Continue the Import from SPAM/SAINT
2. The main import terminates with the following error in SAPI*.log and the issue can be fixed by
updating the tp & R3trans to the latest version available in the SAP Service Marketplace.
The SLOG in the DIR_TRANS/log shows the below error:
STOP MAIN IMPORT
SID I
20131214035210
ERROR: stopping on error 16 during MAIN IMPORT
The Import log (SAPI*.LOG) in DIR_TRANS/log of the package contains the following error:
AETW000 ===> HALT: Windows exception c0000005 occurred. Please contact the SAP Support.
3. The below specified errors related to the background jobs might occur in the SLOG*
ERROR:
The following call returned with exit code 7:
ERROR:
sapevt.exe SAP_TRIGGER_RDDIMPDP -t name=PRD
ERROR:
Background jobs cannot be started.
ERROR:
Please check trace file dev_evt.
WARNING:
(This warning is harmless if no further warnings follow.)
WARNING: System PRD. Warning.
20130313163157 :
3
MAIN IMPORT
ERROR:
The following call returned with exit code 7:
ERROR:
sapevt.exe SAP_TRIGGER_RDDIMPDP -t name=PRD
ERROR:
Background jobs cannot be started.
ERROR:
Please check trace file dev_evt.
WARNING:
(This warning is harmless if no further warnings follow.)
Reason: The system is unable to trigger the batch jobs due to one or more misconfigured system
parameters used by sapevt (SAP Event Trigger).
Solution: Please ensure your TMS configuration is fully consistent, by checking all points of note
#1541076. After that, repeat the SPAM/SAINT import again.
4. The main import oft he packages can terminate with the following error in the SAPI*.log and can be
resolved by updating R3trans to the latest version available in the SMP.
1AETW000 SQL error 24374 occured: ORA-24374: define not done before fetch or execute and
fetch
2EETW000 Please contact the SAP support.
4 ETW000 End of Transport (0016).
Related Notes :
1. 1913676 - Trobleshooting guide for Support Package / Add-Ons Installations errors during the main
import 'IMPORT_PROPER' phase in SPAM or SAINT
2. 1738989 - Upgrade/Support Package import hang due to INACTIVE wait event "SQL*Net break/reset
client" in Oracle
3. 1962388 - Object TX_SPAM_APPLICATION_DIALOG_1 in language EN does not exist
4. 1933837 - SPM Upgrade - Install the ABAP components using transaction SPAM
4
www.sap.com
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
No part of this publication may be reproduced or transmitted in any form
or for any purpose without the express permission of SAP SE or an SAP
affiliate company.
SAP and other SAP products and services mentioned herein as well as their
respective logos are trademarks or registered trademarks of SAP SE (or an
SAP affiliate company) in Germany and other countries. Please see
http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for
additional trademark information and notices. Some software products
marketed by SAP SE and its distributors contain proprietary software
components of other software vendors.
National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for
informational purposes only, without representation or warranty of any kind,
and SAP SE or its affiliated companies shall not be liable for errors or
omissions with respect to the materials. The only warranties for SAP SE or
SAP affiliate company products and services are those that are set forth in
the express warranty statements accompanying such products and services,
if any. Nothing herein should be construed as constituting an additional
warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue
any course of business outlined in this document or any related presentation,
or to develop or release any functionality mentioned therein. This document,
or any related presentation, and SAP SE’s or its affiliated companies’
strategy and possible future developments, products, and/or platform
directions and functionality are all subject to change and may be changed by
SAP SE or its affiliated companies at any time for any reason without notice.
The information in this document is not a commitment, promise, or legal
obligation to deliver any material, code, or functionality. All forward-looking
statements are subject to various risks and uncertainties that could cause
actual results to differ materially from expectations. Readers are cautioned
not to place undue reliance on these forward-looking statements, which
speak only as of their dates, and they should not be relied upon in making
purchasing decisions.