Skip to Content

After migrating an instance to a new hardware we had to refresh the transport domain.  After the transport domain was refreshed and all tests worked fine users reported the follow errors during export of their developments:

Test Call of transport control program (tp) ended with return code 0012, tp: ERROR: Buffer check Failed.
/wp-content/uploads/2015/10/transerr_811498.png

Note the error truncates the actual full text of the tp command line.

Running the command at oslevel as <sid>adm shows the

C:\Users\devadm>tp EXPCHK DEVK999999 pf=\\sapprd\sapmnt\trans\bin\TP_DOMAIN_PRD.PFL -Dtransdir=\\sapprd\sapmnt\trans

tp=>sapparam(1c): No Profile used.

tp=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline

This is tp version 380.29.44 (release 721, unicode enabled)

createinfo succeeded

ERROR: Buffer check failed.

tp finished with return code: 12

meaning:

  A tool used by tp aborted

Cryptically this was caused by the parameter CTC=1 not being returned to the transport profile.
(On domain STMS -> Overview -> Systems -> double click on the domain controller eg PRD  -> Choose tab “transport tool”)

Add the CTC parameter as a global parameter.
/wp-content/uploads/2015/10/tms_811499.png

Redistribution is automatic when saved and then retest the tp expchk command.

C:\Users\devadm>tp EXPCHK DEVK999999 pf=\\sapprd\sapmnt\trans\bin\TP_DOMA

IN_PRD.PFL -Dtransdir=\\sapprd\sapmnt\trans

tp=>sapparam(1c): No Profile used.

tp=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline

This is tp version 380.29.44 (release 721, unicode enabled)

createinfo succeeded

Buffer check succeeded

tp finished with return code: 0

meaning:

  Everything OK

Q: What does CTC control ?

A: If the transport doesn’t have a client name explicitly defined then 0 will cause the transport not to import value 1 will result in the transport importing into the default client. From SAP Help

ctc=0: All requests are imported into the specified client.

ctc=1: Imports requests that do not yet have a target client in the buffer into the specified clients. Of those requests in the buffer that already have a target client, imports the requests whose target client matches the specified client.

If ctc=1, the option client is handled as if DEFAULTCLIENT and CLIRES are both specified with the same client. (Example: client=133 is handled like defaultclient=133 clires=133).

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

Leave a Reply