Tuesday, 20 August 2013

SAP-TMS Transport issue with DOM_CTL error message

You may face issue while performing transport request forward or import stage with error DOM_CTL with module "CALL_FUNCTION_CONNECT_ERROR".

The error mostly occur in QA systems after performing DB refresh or after performing system copy.

This error occur because of the wrong / non relevant entries of the current system in secure store of SAP.

If searched in google for this error, you may end up in executing SECSTORE_CLEANUP report to clean the secure store and refresh it.

This solution may not help in all kinds of scenario's, the below  mentioned were the best solution

Solution is by migrating the invalid SECSTORE entry HMAC_INDEP/RFC_EXTERNAL_TICKET_4_TRUSTED_SYSTEM, provided that SAP Note 1491645 was implemented.        

The validity check and the migration of an SECSTORE entry are described in SAP Note 816861.

1) Solution 1:- (Manually correct the SECSTORE)

Call transaction SECSTORE

Choose "Execute" (F8).

In the entries that are displayed, delete the entry /HMAC_INDEP/RFC_INTERNAL_TICKET_4_TRUSTED_SYSTEM if it is marked with a red traffic light.

In the entries that are shown, delete the entry /HMAC_INDEP/RFC_EXTERNAL_TICKET_4_TRUSTED_SYSTEM if it is marked with a red traffic light.

After the deletion of this entry, all the trust relationships to trusted systems (systems that are trusted by the current system) are invalid and, if required, have to be deleted in the current system using transaction SMT1 and then have to be recreated.

In transaction SE37, execute the function module RFC_PING with the destination NONE. If the system displays an error message, execute the function module RFC_PING again; the error message cannot appear a second time in this case.

2) Solution 2:- (Automatic SECSTORE cleanup)

As of SAP Basis Release 620:

Execute the report RS_TT_CLEANUP_SECSTORE.

If you cannot implement this report using transaction SNOTE if the report not available in the system Note 1532825 (due to the RFC problem), copy the source code of the report for the relevant release from the attachment of the Note 1532825.

This report deletes invalid secstore entries /HMAC_INDEP/RFC_INTERNAL_TICKET_4_TRUSTED_SYSTEM and /HMAC_INDEP/RFC_EXTERNAL_TICKET_4_TRUSTED_SYSTEM.

After the deletion of the entry for  /HMAC_INDEP/RFC_EXTERNAL_TICKET_4_TRUSTED_SYSTEM, all the trust relationships to trusted systems (systems that are trusted by the current system) are invalid and, if required, have to be deleted in the current system using transaction SMT1 and then have to be recreated.

No comments:

Post a Comment

Pages