‎2021 Jun 23 11:50 AM
Title says it all: I'd like to manually create a new version of a class or program, as we can do from SE38 via menu options Utilities > Version > Generate Version
Sounds like something we should be able to do in Eclipse, but I can't find it. Am I missing something?
‎2021 Jun 29 9:37 AM
Hi Mike,
the creation of local versions in the ABAP backend is not supported in ADT.
There a plans to use GIT as version management system for the ABAP platform integrated with ADT.
But we still have some miles in front of us.
Regards,
Thomas.
‎2021 Jun 23 12:27 PM
Doesn't look possible.
TBH, I've never needed it since we have local versioning.
‎2021 Jun 23 2:20 PM
Does "local" version not help? I understand this is local to your eclipse client and you can't share with your colleague.

‎2021 Jun 23 9:14 PM
Thanks, but no, the point is to create snapshots of multiple changes done within a transport.
I was hoping for a simple solution, of course it's possible to open it in SapGui and generate the version but that's clunky. And for classes it gets messy as you need to switch to the form based editor and open each method to pull a version.
‎2021 Jun 24 11:01 AM
mike.pokraka I think you said it, the solution is a GIT server
‎2021 Jun 23 2:30 PM
Thanks, yes local versioning is really great, but we need global.
Use case is to have more fine-grained audit than the default transport-generated versions if multiple people change an object within the same transport.
‎2021 Jun 24 8:55 AM
Could you not achieve the same goal using ToCs? I'm pretty sure there's a plugin for that.
‎2021 Jun 24 8:56 AM
‎2021 Jun 24 10:23 AM
SAPGUI is already using a sledgehammer to crack a nut, creating a dummy TOCs is upgrading it to a steamroller 🙂
Of course the real solution is Git, but we're not there yet.
I don't have the Java skills or Eclipse know-how to write a plugin either. Not sure it is that straightforward, classes could be tricky as they are all in their own includes with their own versioning and the Eclipse compare merges them. It could be that's why SAP haven't added the feature to Eclipse yet...
Also the GUI solution is only possible in on premise. I might see if I can do something in ABAP.
‎2021 Jun 24 11:11 AM
My plugin design would be to add a run as option. In the outline context menu, you could run as Create Toc, for example, and capture the object name, and then call a FM (or rest service) on the backend which generates a ToC containing only that object.
I've already done most of the work in another app I'm developing, so I'll probably give it a go over the next few weeks. My employer allows me to a few weeks a year for R&D 🙂.
My only concern is I don't actually know much about git so I'm not sure how to make it available for others.
I tell you what - you write the FM, and I'll develop the plugin.
‎2021 Jun 24 11:14 AM
It'd have to be a ToC though, wouldn't it? Generated versions are temporary, I think. When you release the transport, they disappear.
‎2021 Jun 24 11:40 AM
I can't even find how to rollback to an earlier version from Eclipse without resorting to the GUI 😕
‎2021 Jun 24 11:51 AM
c5e08e0478aa4727abc4482f5be390b2 did you try with right-click > compare ... ?
‎2021 Jun 24 12:01 PM
of course... NOT 😄
That specific menu entry did not inspire me! I kept looking for "version".
‎2021 Jun 24 12:03 PM
There was this blog, but has you, I prefer using SAPGui when I want to be sure of the action
https://blogs.sap.com/2012/07/24/comparing-abap-source-code-using-adt/
‎2021 Jun 24 12:12 PM
c5e08e0478aa4727abc4482f5be390b2 in the comparison on the top right you have the option of merging non-conflicting changes or overwriting the entire content.
‎2021 Jun 24 12:17 PM
matthew.billingham no, generated versions are permanent. At least I'm pretty sure because it used to be my "Git" in the bad old SapGui days. But now you have cast a tiny seed of doubt so I will double check next time I do a transport.
‎2021 Jun 24 12:38 PM
‎2021 Jun 24 12:44 PM
‎2021 Jun 24 10:01 PM
no chance to compare against a git repo for local objects in demo installations, right?
‎2021 Jun 29 9:37 AM
Hi Mike,
the creation of local versions in the ABAP backend is not supported in ADT.
There a plans to use GIT as version management system for the ABAP platform integrated with ADT.
But we still have some miles in front of us.
Regards,
Thomas.
‎2021 Jun 30 12:01 AM
Thanks for the answer, I was beginning to suspect as much.
Looking forward to what you guys are cooking up 🙂
‎2023 Jun 15 6:58 AM
Hi~Thomas Fiedler,
Is this function still not supported in ADT in nw757?
‎2023 Jun 15 10:32 AM
Hi,
no, there is no option in ADT to create temporary versions on the A BAP backend. From my perspective the local history in Eclipse is much more convenient. What do you think?
Regards,
Thomas.
‎2023 Jun 15 11:31 AM
I agree with you, thomasfiedler
8e33a417cd514f378426d831bc17b113 But I've written one anyway. Temporary versioning plugin
‎2023 Jun 19 2:45 AM
matthew.billingham
Thank you for your effort, and thank you your explain blog.
I'll try this plugin
‎2021 Jul 06 5:22 PM
matthew.billingham Finally got to test it (755) and indeed these versions disappear when the TR is sent on its way. Been using them for years and never noticed 🙂
‎2023 Jun 16 8:46 AM
You can do it like this:
https://blogs.sap.com/2023/06/16/eclipse-adt-plugin-for-temporary-versioning/