cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

gCTS: parallel development on the same server

0 Likes
309

I am currently using SAP S/4HANA with gCTS on a single DEV server, and I am trying to understand whether parallel development on the same object is possible when using different Git branches.

My scenario is the following:

  • Two developers are working in the same DEV system.

  • Each developer is using a different Git branch in gCTS.

  • Both developers need to modify the same ABAP object (for example, the same class, program, or CDS view) for different features.

Since gCTS is Git-based and supports branching, I expected that each developer could work independently in their own branch without locking the object for the other developer. However, in practice, the SAP object locking/edit mechanism still seems to prevent parallel editing on the same system.

So my question is:

Is true parallel development of the same object possible with gCTS when both developers are working in the same SAP DEV server but on different Git branches?

Or does gCTS branching only work properly for parallel development if each branch is connected to a separate development system/environment?

If anyone has experience with this scenario or knows the recommended approach for enabling parallel development of the same object with gCTS, I would really appreciate the clarification.

View Entire Topic
Karin
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi,
also with gCTS, there can only be one active version of an ABAP object in a system. This means that only one branch of a repository can be active and only one developer can work on the same object at a time. 
You can have different versions of an object in different branches, switch the branches in one system and later on merge the branches. But this means that the different developers have to work sequentially, not at the same time.

Kind regards
karin

Hi Karin, Thank you for your helpful response. It provided great insight into how gCTS operates. I wanted to let you know that I've been watching the gCTS course (DevOps for ABAP with gCTS in SAP S/4HANA) featuring you and the other SAP instructors. It has been incredibly valuable for my learning. Kind regards, Felipe