cancel
Showing results for 
Search instead for 
Did you mean: 

DD import finished with return code 4

Former Member
0 Kudos

Dear Experts,

I am  updating saint/spam from version 7.40/0054 to 0058 from last 4 days. every thing goes right but after few minutes, updating gets stuck  at

DD Import finished with return code 4,

when i see the logs in usr\sap\trans\log it shows me the modified time exact the same when i started the update job, there no modification after that, and in archive files, i see the last archived file, which was made hours earlier.

Please help me,

Regards,

Faheem

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello

I´ve the same issue with an IDES 7.4 ERP EHP 7. I make this to solve:

At this stage you can reset your spam queue...

Go to Tx SE37

select program name : OCS_RESET_QUEUE

test/execute (f8)

give the value for import parameters

IV_tool : SPAM

IV_FORCE : X

Execute (f8)

there after the spam queue will get reset and then you can do it again.

After that I have applied this note to reimport the SAPM

684564 - Re-importing a SPAM/SAINT update

you can get more info into the following link

http://www.stechies.com/how-to-delete-spam-error-queue-and-package/

Hope help,

José Maciel

SAP BASIS at BaseIT

http://www.baseit.com.ar

daniel_lippmann5
Active Participant
0 Kudos

Have you tried to restart the system? And are there unprocessed items in TRBAT? If there are, please post the entries.

Former Member
0 Kudos

Hello Daniel,

what is TRBAT ?

Regards,

Faheem.

daniel_lippmann5
Active Participant
0 Kudos

It's a table - just view it with SE16. If there are any entries, it means that a transport isn't processed completely yet. Maybe your database is stuck?

Former Member
0 Kudos

hello daniel,

i have viewed it , and these two entries are there.

Regards,

Faheem.

daniel_lippmann5
Active Participant
0 Kudos

Try restarting your system and check this table again - sometimes the locks are resolved automatically. If not, I suggest contacting SAP support. I once had a deadlock while importing SAP_BASIS - this could be resolved by restarting (phew...).

Former Member
0 Kudos

hello daniel,

i am using the SAP IDES EHP7.

Please tell me will it work for IDES too ?

daniel_lippmann5
Active Participant
0 Kudos

AFAIK, you can't patch IDES.

Former Member
0 Kudos

can you tell me reason? or any reference ? because i want to install Fiori components on IDES for training purpose..

daniel_lippmann5
Active Participant
Sriram2009
Active Contributor
Former Member
0 Kudos

Hello Daniel,

I have updated SAINT/SPAM version 7.40 0050 to version 7.40 0058 on SAP IDES.

Regards,

Faheem

Former Member
0 Kudos

Hi Faheem,

799639 - IDES - General Information about the usage of IDES systems

Support Packages / Upgrade / EHPs

IDES specific Support Packages do not exist.

Patching and Upgrade of IDES systems are no longer supported. IDES should only be operated as a seperate installation. Each new release requires a new installation!

Due to the complexity of the IDES systems and the number of preinstalled components/AddOns it is not possible any more to generate a consistant maintenance (MOPZ) within the Solution Manager. Because of this technical restriction we recommend to wait for coming IDES versions/releases.

Regards

Adil

former_member189797
Active Contributor
0 Kudos

Hello Faheem,

It is not recommended to update the IDES system becuase there are a lot of components which are pre-installed on this system and you might not have licenses for it and also it might not be possible to generate a consistent stack.xml file you your patching. Apart from that I dont see a reason why you
cant perform SPAM/SAINT update on your IDES system.

Now coming to issue, hang situation at patching and performance issue at patching cannot be considered same. During the patching with SPAM/SAINT tool , logs are written first in <DIR_TRANS>/tmp directory and when phase is finished, its written in <DIR_TRANS>/log directory.

So in case you feel that phases is hanged check if you see any updates in logs in tmp directory. You can also check if you see any activity at OS level . Check for CPU and memory usage , this might give you if phase is indeed hanged or just running slow.

I hope it helps.

BR,
Gaurav

Former Member
0 Kudos

Hello Faheem,

The error mentioned could be due to multiple reasons,

i would suggest you to paste Import logs,Action logs.

Regards

Anand

Former Member
0 Kudos

Thanks Anand for response,

Please can you let me know where i can find import logs and action logs.

Regards,

Faheem.

Sriram2009
Active Contributor
0 Kudos

Hi

You can refer the SAP help link to find the logs

Checking Logs - Support Package Manager - SAP Library

BR

SS

Former Member
0 Kudos

Hello anand,

These are the action logs,

            Saving the current OCS queue (27.07.2015, 00:42:37)

               999: SAPKD74056 - SPAM/SAINT Update

            Import of the current OCS Queue (27.07.2015, 00:42:41)

            Derive the database type requirements from the packages in the queue...

            There are no specific database types required.

            Import phase 'PROLOGUE' (27.07.2015, 00:42:43)

            Import phase 'PROLOGUE' was successfully finished (27.07.2015, 00:42:44)

            Import phase 'CHECK_REQUIREMENTS' (27.07.2015, 00:42:45)

            Import phase 'CHECK_REQUIREMENTS' was successfully finished (27.07.2015, 00:42:51)

            Import phase 'DISASSEMBLE' (27.07.2015, 00:42:51)

            Import phase 'DISASSEMBLE' was successfully finished (27.07.2015, 00:43:01)

            Import phase 'ADD_TO_BUFFER' (27.07.2015, 00:43:01)

            Import phase 'ADD_TO_BUFFER' was successfully finished (27.07.2015, 00:43:03)

            Import phase 'MODIFY_BUFFER' (27.07.2015, 00:43:03)

            Import phase 'MODIFY_BUFFER' was successfully finished (27.07.2015, 00:43:04)

            Import phase 'IMPORT_OBJECT_LIST' (27.07.2015, 00:43:04)

            Import phase 'IMPORT_OBJECT_LIST' was successfully finished (27.07.2015, 00:43:17)

            Import phase 'OBJECTS_LOCKED_?' (27.07.2015, 00:43:17)

            Import phase 'OBJECTS_LOCKED_?' was successfully finished (27.07.2015, 00:43:18)

            Import phase 'CHECK_INACT_OBJECTS' (27.07.2015, 00:43:18)

            Import phase 'CHECK_INACT_OBJECTS' was successfully finished (27.07.2015, 00:43:19)

            Import phase 'TEST_IMPORT' (27.07.2015, 00:43:19)

            The test import of the queue finished with tp return code '0004'

            Analyzing the return codes of the individual packages...

            The test import for SAPKD74056 finished error free

            Import phase 'TEST_IMPORT' was successfully finished (27.07.2015, 00:43:25)

            Import phase 'SCHEDULE_RDDIMPDP' (27.07.2015, 00:43:25)

            Import phase 'SCHEDULE_RDDIMPDP' was successfully finished (27.07.2015, 00:

            Import phase 'IMPORT_PROPER' (27.07.2015, 00:43:26)

Former Member
0 Kudos

Anand these are the tp system logs,

System Log Entries

START CMDIMPORT            IDS L      20150726012110              ADMIN        TMC-ERP74 20150726012109758

STOP  CMDIMPORT            IDS L      20150726012115              ADMIN        TMC-ERP74 20150726012109758

START imp all              IDS        20150726012127              ADMIN        TMC-ERP74 20150726012127058

INFO: event SAP_IMPORT_START triggered successfully

START DD IMPORT            IDS H      20150726012128              ADMIN        TMC-ERP74 20150726012127058

STOP  DD IMPORT            IDS H      20150726012257              ADMIN        TMC-ERP74 20150726012127058

START tp_getprots          IDS J      20150726012257              ADMIN        TMC-ERP74 20150726012127058

START CMDIMPORT            IDS L      20150726045239              ADMIN        TMC-ERP74 20150726045238976

STOP  CMDIMPORT            IDS L      20150726045247              ADMIN        TMC-ERP74 20150726045238976

START imp all              IDS        20150726045300              ADMIN        TMC-ERP74 20150726045259490

INFO: event SAP_IMPORT_START triggered successfully

START DD IMPORT            IDS H      20150726045300              ADMIN        TMC-ERP74 20150726045259490

STOP  DD IMPORT            IDS H      20150726045424              ADMIN        TMC-ERP74 20150726045259490

START tp_getprots          IDS J      20150726045424              ADMIN        TMC-ERP74 20150726045259490

START CMDIMPORT            IDS L      20150727003108              ADMIN        TMC-ERP74 20150727003106272

STOP  CMDIMPORT            IDS L      20150727003205              ADMIN        TMC-ERP74 20150727003106272

START imp all              IDS        20150727003342              ADMIN        TMC-ERP74 20150727003340634

INFO: event SAP_IMPORT_START triggered successfully

START DD IMPORT            IDS H      20150727003343              ADMIN        TMC-ERP74 20150727003340634

STOP  DD IMPORT            IDS H      20150727003749              ADMIN        TMC-ERP74 20150727003340634

START tp_getprots          IDS J      20150727003749              ADMIN        TMC-ERP74 20150727003340634

START CMDIMPORT            IDS L      20150727004305              ADMIN        TMC-ERP74 20150727004304887

STOP  CMDIMPORT            IDS L      20150727004313              ADMIN        TMC-ERP74 20150727004304887

START imp all              IDS        20150727004328              ADMIN        TMC-ERP74 20150727004326540

INFO: event SAP_IMPORT_START triggered successfully

START DD IMPORT            IDS H      20150727004328              ADMIN        TMC-ERP74 20150727004326540

STOP  DD IMPORT            IDS H      20150727004439              ADMIN        TMC-ERP74 20150727004326540

START tp_getprots          IDS J      20150727004439              ADMIN        TMC-ERP74 20150727004326540