Skip to Content
Product Information
Author's profile photo Dhanya KV

Version Management for ABSL files in SDK – New Feature in 2002 Release

Hello All,

Have you ever wondered if you could view when and what code changes are done in a particular ABSL file or how to view the code changes in comparison with previous versions? Then this new functionality introduced in 2002 upgrade release covers it all. Read on to know more about the Version Management functionality. 

Till now, if there were any changes done in ABSL file, partners were unable to view who made the changes and when. Now from 2002 release it is possible to view all the edits (Save) performed on the ABSL in the current patch version. Following are the functionalities available as part of the Version Management feature: –

  1. Display – View the code of the selected version
  2. Compare – Compare the code between two selected versions
  3. Revert – Revert the code to the selected Version

Now if you login to SDK and right click on any ABSL file, you will see a new option called Manage Versions as shown in the screen shot below:

Let’s see the features in detail:-

Display:

Once you click on the option Manage Versions, you will be able to see all the versions for that ABSL.

You can select the version which you want to view and click on the button Display. This will open a window with the code snippet for that particular ABSL file version.

Compare:

The version which is showing in the top will always be the latest version. Select the check box against each version which you want to compare the code changes and click on the compare button. This will display a screen as shown below:

This example shows the differences in version 1 in comparison with version 2. The highlight in red color will show the codes which had been removed in the previous version and green highlight will show the codes which has been added in the current version. Similarly, you can see Selected and Unchanged codes in respective colors as shown.

Please note that once you select multiple versions, automatically Display and Revert buttons will be greyed out and only compare button will be enabled.

Revert:

If there is a scenario where you have made any changes in ABSL, but you realized later that you want to go back to one of the previous versions. In such cases you just need to select the version which you want to go back and click on Revert button. You will get the below pop-up message asking:

“Do you want to revert to Version X”

You can click on Yes if you want to proceed, then you will get another pop-up message: The code is reverted to Version X. Save and Activate the file, as shown below in the screenshot:

Once you Activate the file, a new version will get created. And if you compare the latest version to which the version you reverted to, both will be the same.

Also, if you want to copy the code snippet of a particular version, you can just select the version and click on display. Here you can just select and copy the code

Notes:

  1. These versions will get created each time you make any changes in the ABSL and Save. Also, these versions will be available to view only in the current patch and this will reset once you create the next patch version.
  2. In case more than two versions are selected, all buttons gets disabled along with an error message.
  3. In case the latest version is selected, the Revert button will be disabled. Because reverting to the latest version is not applicable.        

Hope this feature will be helpful for you and makes your work easier!

Best Regards,

Dhanya KV

Assigned Tags

      36 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Dhruvin Mehta
      Dhruvin Mehta

      This is perfect, I used to save al lhe verisons manually 😀

      Author's profile photo Dhanya KV
      Dhanya KV
      Blog Post Author

      Then this is the perfect feature for you! 🙂

       

      Author's profile photo Anant Patel
      Anant Patel

      Informative Blog.

      Author's profile photo Dhanya KV
      Dhanya KV
      Blog Post Author

      Thanks Anant

      Author's profile photo Senthil Murugan
      Senthil Murugan

      Great!!.. I thought of developing an addon to keep the versions with the help of git. now there is no need.

       

      https://answers.sap.com/questions/12545405/version-history-for-script-file-.html

      Author's profile photo Dhanya KV
      Dhanya KV
      Blog Post Author

      Yes, now you can use this feature directly from 2002 release!

      Author's profile photo Vincent Vancalbergh
      Vincent Vancalbergh

      I don't doubt this is a "okay" addition. But it's far from great. If SAP would have made a proper integration with Git we would have been able to do so much more. Now we still can't:

      • Do version management on BOs/XBOs (something you can do easily by setting up a Git repository on the Tenant folder)
      • Keep a long lasting history of changes (further than "last patch").
      • Do version management for all the other types of objects (UI components, Extension Scenario's, Internal Communication, ...)

      Not to mention that there's still no way to develop features in branches and merge those into a trunk/master version.

      This is the equivalent of asking a Coca Cola in a bar on a hot day and getting a cheap offbrand cola with more ice than cola. Sure you got a refreshing drink and that's "okay", but it's far from what you asked.

      Author's profile photo Dhanya KV
      Dhanya KV
      Blog Post Author

      Hi Vincent,

       

      Understand what you are saying. This has taken it as a basic feature currently and as per the feedback from the partners, product team may take this up and further expand to other objects as you have mentioned.

       

      Thanks,

      Dhanya

      Author's profile photo Vincent Vancalbergh
      Vincent Vancalbergh

      I want to clarify a bit further. This feature is worse than what we could already do (manage the files directly using a seperate version control system, like Git). The development time on this is wasted except for the partner developers who have never taking the time to learn a Source Control system. This work could have gone towards providing ACTUAL source control integration.

      At the VERY least: Making UI Changes more visible in the filesystem. Because then we could track them ourselves like we already do for .bo, .xbo and .absl files.

      PLEASE don't expand this further. Why recreate the wheel (in a worse way) than use existing technologies??

      I don't understand SAP's need to keep making their own versions of things that are, at best, 50% of well designed, proven tech.

      Author's profile photo Dhanya KV
      Dhanya KV
      Blog Post Author

      Hi Vincent, Will provide your feedback to the product team!

      Author's profile photo Aaron Kerr
      Aaron Kerr

      I totally agree. This is a poorly-implemented feature which was a waste of development time. We need integration and support for modern tools, not proprietary functionality which doesn't solve the problem.

      Author's profile photo Robert Kreuzer
      Robert Kreuzer

      I agree with Aaron and Vincent. We urgently need an integration in versioning tool. Is there an improvement request I can support?

      Author's profile photo Nikhil Walsetwar
      Nikhil Walsetwar
      This is indeed a great feature!!! Thanks a lot for sharing Dhanya!!
      BR,
      Nikhil
      Author's profile photo Dhanya KV
      Dhanya KV
      Blog Post Author

      Thanks Nikhil!

      Author's profile photo Rudhra Udayakumar
      Rudhra Udayakumar

      Nice Blog, Thanks for sharing.

      Author's profile photo Dhanya KV
      Dhanya KV
      Blog Post Author

      Thanks Rudra!

      Author's profile photo Douglas Rohmann
      Douglas Rohmann

      Great blog Dhanya!

      Author's profile photo Dhanya KV
      Dhanya KV
      Blog Post Author

      Thank you Douglas!

      Author's profile photo May Thitsa Oo
      May Thitsa Oo

      Great!!
      Thanks for sharing.
      Would this be available on Production Direct Fix too?

      Author's profile photo Dhanya KV
      Dhanya KV
      Blog Post Author

      Hello May, Currently this functionality is not available in Production Fix - Correction status. The product team will look into the feasibility later depending on how this feature goes on.

      Thanks,

      Dhanya

      Author's profile photo Anand Shukla
      Anand Shukla

      This is a great feature for developers. Long awaited.

      Thanks for sharing Dhanya!

      Regards,
      Anand Shukla

      Author's profile photo Dhanya KV
      Dhanya KV
      Blog Post Author

      Indeed it is, happy developing 🙂

      Author's profile photo Chidananda Murthy MM
      Chidananda Murthy MM

      That's a good information, thanks for sharing such a informative Blog Dhanya.

       

      Regards

      chida

       

      Author's profile photo Dhanya KV
      Dhanya KV
      Blog Post Author

      Thanks Chidananda!

      Author's profile photo Antoine LEGOUBE
      Antoine LEGOUBE

      Finally 🙂 !

       

      Thanks for sharing Dhanya.

       

      Have a good day.

       

      Antoine.

       

       

       

       

       

      Author's profile photo Dhanya KV
      Dhanya KV
      Blog Post Author

      Thanks Antoine!

      Author's profile photo Shankar Kumar Jha
      Shankar Kumar Jha

      Great Information Dhanya.. Look like version management for ABSL is easy and informative..

       

      Shankar Jha

      Author's profile photo Dhanya KV
      Dhanya KV
      Blog Post Author

      Thank you Shankar!

      Author's profile photo AMS Support
      AMS Support

      Nice Blog! Thank you!

      Author's profile photo Mugesh Piruthiviraj
      Mugesh Piruthiviraj

      This is a good feature but is there any option to compare the changes done from the current patch to the previous one or between any 2 patch versions? Because quite often we get into such situations where it is very difficult to compare and to know what are the changes done in comparison with another patch version.

      Author's profile photo Dhanya KV
      Dhanya KV
      Blog Post Author

      Hi Mugesh, The functionality of comparing different patch versions is not available currently.

      Author's profile photo Mugesh Piruthiviraj
      Mugesh Piruthiviraj

      Thank you Dhanya

      Author's profile photo Aaron Kerr
      Aaron Kerr

      The fact that code changes don't carry over between patch versions makes this feature completely useless.

      Author's profile photo Dhanya KV
      Dhanya KV
      Blog Post Author

      Hello Aaron,

      Thank you for your feedback, product team is already looking into the feasibility for bringing this feature to CAS!

      Thanks,

      Dhanya

      Author's profile photo Prasanth Rajan
      Prasanth Rajan

      this is great and one of the most awaited feature 🙂 thank you for sharing Dhanya.

      Author's profile photo Dhanya KV
      Dhanya KV
      Blog Post Author

      Thank you very much Prasanth!