Skip to Content

CTS: check/reject Transport Request in target system before/during Import..?


Does anyone know a way to configure/extend Change and Transport System (CTS) to check/reject (customizing) Transport Request before/during import in Target System?

I have searched up and down and found the (classic) CTS BADIs:


but they do not fit what I'm trying achieve.

What I'm actually trying to achieve is either:

- reject particular (customizing) request at target system based on (external) Transport Request Attributes, or

- configure "QA System", which is currently set up to deliver into two "productive systems", to not "forward" customizing requests with certain Transport Request Attributes (or any other information allowing to distinguish between requests, if it fits the task better) to one of the target systems.

I'd prefer not to have to go and ask Basis to reconfigure "QA Setup", unless it involves straightforward and easy to explain changes.

EDIT in: I also intend to use one particular unending "CTS Project" to identify the requests that need to be "sorted" and delivered: sometimes to both systems, sometimes just to one. I'd prefer not to have to create two or more projects, however.

EDIT in 2: I'd also prefer to not have to set up something like 2 QA systems (one per productive system) and relay on manually rejecting certain requests...

Thank you and best regards,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 28, 2016 at 08:34 AM

    You could try to use CTS_IMPORT_FEEDBACK to remove request from unwanted target system.
    For example, read queue with 'TMS_MGR_GREP_TRANSPORT_QUEUE', remove request with 'TMS_MGR_MAINTAIN_TR_QUEUE' command 'DELFROMBUFFER'.

    Add comment
    10|10000 characters needed characters exceeded

    • I'm abandoning this - because I don't have enough understanding of what's going on, where...

      I tried do debug rejection of the request first but wasn't able to understand where and how the ISW "buffer" cleanup actually happens. FuBa TMS_MGR_ACTIVATE_TR_REQUEST is something that gets called on Approval/Rejection and, so far I could understand, it "dispatches command" via RFC.

      Anyway, I shouldn't be messing with implicit enhancements anywhere in "TMS/CTS" and I don't see/find extension possibilities offered by SAP.

      Trying to periodically "monitor" and "clean" queues on target system sounds very dicey.

      Thanks, everyone :)