Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Managing ABAP Source Code in Source Control

Tags:

abap

sap-basis

Our product currently spans a large number of technologies, including Java, PL/SQL, VB.Net and ABAP. We have a fairly mature source control and build system set up for all of the languages except ABAP, which is still in the stone ages. Since SAP has a build system set up within it, our engineers do all of their development in an SAP environment export transports, and check those into source control. Since we support a number of SAP versions, it becomes very difficult to track versions and migrate code across 4.6, 4.7, 5.0, etc.

My ideal process would be to check the ABAP code into source control in text files, and then load it into SAP and generate the transports as part of the build process. The SAP engineers don't think there are tools to support this model.

If you are managing ABAP code in a source control system, what does your process look like? Are there tools available (preferably command-line) for loading ABAP code into SAP? How do your engineers manage the code/test/debug cycle? Do they code in SAP and then export the code when finished, or edit in an external editor?

like image 605
John Stauffer Avatar asked Dec 01 '08 09:12

John Stauffer


1 Answers

I used SAPLINK (mentioned in previous answer) for that purpose. There is also a related project called "zake", that supposedly can automate some of the tasks but I never used it. I simply exported my code manually to so-called slinkees (they contain single objects like function groups; nuggets on the other hand contain several objects).

Reasons to use some external source control system:

  • correlation to non-abap source code (as our software consisted of .net and abap code)
  • hosting / maintaining SAP was not something we were exactly good at, so it was good to know you had your code in a safe place

one thing though: you need at least WAS 620 in order to use saplink

like image 145
Stefan Egli Avatar answered Oct 22 '22 14:10

Stefan Egli