SYNCMARK Transport Request Left in STMS Import Queue

In transaction code STMS_QUEUE, you notice there is a SYNCMARK request, own by SAP in the import queue. You tried to add other transport but nothing happened.

Solution

As explained in SAP Note 2051448 – Syncmark left in STMS buffer after support package upgrade,

SYNCMARK, which is present on the system buffer, consists of the entries that divide the number of packages that can be imported at same time by the upgrade/update tools.
These entries are only needed when TP is allowed to import several transport requests (or packages) in parallel, and it’s used to avoid that two transport requests that contain the same object are imported in parallel.
So only transport requests not separated by a “SYNCMARK” will be imported in parallel.

To get more details, please also see SAP Note 1616401 – Parallelism in the Upgrades, EhPs and Support Packages implementation.

So before you can remove the SYNCMARK request, please ensure that,

There are NO active import actions defined in transaction code SPAM, SAINT or SUM. The upgrade/update are not be in unfinished state.

In case there are active upgrade/update is running, please wait until it’s complete. The SYNCMARCK should be automatically removed after the implementations or deletions of the queues.

If above conditions are met, you can manually remove it using below steps,

Step 1: Make a copy of the buffer file.

DIR_TRANS/buffer/[SID]

Step 2: Run the tp delsyncmark command to delete the SYNCMARK.

tp delsyncmark ALL SID pf=E:\usr\sap\trans\bin\TP_DOMAIN_SID.PFL
tp=>sapparam(1c): No Profile used.
tp=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
This is tp version 380.44.90 (release 722, unicode enabled)
tp_rm_cntl_mark deleted 0 SYNCMARK's from buffer SID
tp finished with return code: 0
meaning:
  Everything OK

Step 3: Run tp cleanbuffer command to delete all imported transports from the buffer file.

tp cleanbuffer SID pf=E:\usr\sap\trans\bin\TP_DOMAIN_SID.PFL
tp=>sapparam(1c): No Profile used.
tp=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
This is tp version 380.44.90 (release 722, unicode enabled)
tp finished with return code: 0
meaning:
  Everything OK

Note

If step number 2 does not work, delete the whole line of “SYNCMARK” from buffer file (DIR_TRANS/buffer/[SID]) directly.

You May Also Like

Leave a Reply?