Skip to Content

Simpler way to create multiple TOCs?

Is there a simpler way to create multiple transports of copies in SAP?

Lately we are frequently dealing with this odd but seemingly unavoidable process. There are multiple projects going on plus some SAP system realignment, etc. As a result, we end up with a temporary, isolated sandbox-like SAP system where configuration/ABAP changes are made. Later those changes (=transports) need to be moved to another system.

Management thinks it's a piece of cake, but what happens in reality is: we send a list of transports to the hosting provider asking to move them. In response we get - bwahaha, the TRs are "local", there are no files, so create TOC and then we talk. And here we go - SE01 -> create TOC -> include objects, wash-rinse-repeat about 20-30 times. (Yes, technically we could combine multiple transports into one TOC, but for some reason consultants are very particular about the order in which transports need to be moved even though there seems to be no reasonable explanation why unrelated configuration has to be moved in this exact order. Can you tell I've just done 24 TOCs manually? 😊)

I looked everywhere but other than creating LSMW don't see any easier option for such activity. Is this really all we have in 2015?

And for the bonus points 😊 could someone please explain why when we do 'include objects' and enter the transport # the objects are not actually included and we have to do that using task number instead? Or am I doing something wrong?

Thank you!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Sep 20, 2015 at 04:28 PM

    Hi Jelena

    The best solution would be to avoid the "local" transport requests in the first place. To avoid it, you would need a transport target. If you only have a single system, this should still be feasible by using virtual systems.  Your SAP Basis resources should be able to help you out on this.

    As long as you've got a target, you can change the target and in case of virtual systems, the virtual system(s) can be replaced by the actual system(s) once those are available thus avoiding the need to create TOC's out of local requests.

    "And for the bonus points 😊 could someone please explain why when we do 'include objects' and enter the transport # the objects are not actually included and we have to do that using task number instead? Or am I doing something wrong?"

    I would have to check that, dunno that by heart.

    Kind regards

    Tom

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 19, 2015 at 02:14 PM

    Solution Manager / Charm Retrofit might work...paging @Tom Cenens or @Tom Cenens for his input 😊

    There are multiple Tom Cenens and I can't seem to select the right one

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 21, 2015 at 01:44 PM

    Hi Jelena,

    we use ToC in our normal development process to transport new or changed objects to QA. This has the advantage that development objects stay locked in the dev system. To simplify the process of generating the ToC we created a simple transaction that takes a transport request or a list of them as input and creates the ToC as a result. It's actually quite simple and works very well. I can share the core functionality if its helpful.

    Furthermore, I created a eclipse plugin that does the same (cf. Creating a ABAP in Eclipse plug-in using the ADT SDK).

    As to your bonus questions; I guess your issue is that the task in the original transport request are not released. The standard functionality only adds objects form released tasks or requests when doing an include objects.

    Christian

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Suhas,

      we basically use the best practices describe in the DSAG Best Practice Guideline for ABAP Development now available in English with respect to ToCs. It's a document written by the German SAP User Group (DSAG). We just recently started to work on a second version of the document. However, what is written in the document regarding ToCs is a very good starting point.

      Regarding the transaction to create ToCs: I always though this is something everyone has in his toolbox. So I never thought it would be worthwhile sharing. I'll put the program in a shape I'm comfortable sharing with the critical eyes on SCN (😉) and share it somewhere. Currently it'S still one of these things I have on my list of things that I should do right some day. So sharing it is a goot trigger to finally get this done 😀.

      Christian

  • Sep 21, 2015 at 02:53 PM

    Thanks, everyone, for the replies! Unfortunately there is no Eclipse or Solution Manager available in those systems (or rather there is SolMan but with some strange temporary arrangement, I don't really know the details).

    It looks like there is no simpler way using just the standard transactions, but Tom had a good point - we need to look into the root cause and try to avoid TOC altogether. I'm not a Basis person, so I thought we had no other options, but using a virtual system as a target and switching later seems to make sense. I'll check with our hosting provider on that.

    Adding objects to TOC seem to work the same way whether the transport/task is released or not - I tried both. If I enter the transport number then it just adds a comment but if I add the task number then it actually includes the object list. The same effect is mentioned in this blog as well.

    Add comment
    10|10000 characters needed characters exceeded

    • Matt - yes, we also have the actual Sandbox system where no transports are moved either in our out.

      In this case we are dealing rather with temporary DEV systems. Personally I'm not fond of this setup at all and it causes a lot of headaches. But it's not my decision, unfortunately, and we have to accommodate business, not the other way around (for some strange reason 😊).

      Agree that this could make an interesting architecture level discussion.

  • Sep 19, 2015 at 03:28 AM

    This response puts me firmly in the #troublemaker camp - again. Have you seen https://github.com/larshp/abapGit?

    This project is a work in progress, but it has huge potential.

    A more mainstream answer might be SAPLink.

    Cheers

    Graham Robbo

    Add comment
    10|10000 characters needed characters exceeded