Professional Documents
Culture Documents
OpenSAP Gcts1 Week 1 All Slides
OpenSAP Gcts1 Week 1 All Slides
Operate
→ One ‘world of tools’ for many development
Build
languages / environments
Test Feedback
But: How about ABAP?
DevOps Principles (CALMS)
Operate
▪ To manage ABAP development similar to what
Build
you do in other languages and environments
→ This is what Git-enabled CTS (gCTS) aims at
Test Feedback
Operate
▪ To manage ABAP development similar to what
Build
you do in other languages and environments
→ This is what Git-enabled CTS (gCTS) aims at
Test Feedback
PRD
DEV TST
Development Target
CTS* gCTS
* Change and Transport System
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 8
Why gCTS?
Planned use case: feature development and maintenance in parallel
New Feature
Feature
NFD NFQ
Maintenance
Master
MTD MTQ MTP
Maintenance
Production
Deploy the latest commit of one or the other branch to develop new features or to do maintenance
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 9
Why gCTS?
Planned use case: distributed development
Two development teams can Commit changes Merge into master Deploy to production
work on the same object to repository branch, deploy to QA after test
DEVELOPMENT
TEAM A
TEST/INTEGRATION
QUALITY PRODUCTION
LIVE SYSTEM
DEVELOPMENT
TEAM B
What to remember: ▪ gCTS is the option to harmonize non-ABAP processes and tools with ABAP
▪ gCTS is planned as an alternative to CTS (which is still maintained!)
▪ gCTS and CTS can be used in parallel (to start with pilot projects)
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 11
Why gCTS?
Further reading
open@sap.com
Follow all of SAP
www.sap.com/contactsap
DemoRepo
Main
VSID DEVELOPMENT
DEV TST
TEST
CREATE NEW UPDATE TO LATEST
OBJECTS AND COMMIT COMMIT
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 3
gCTS in action
Demo
Workbench objects
▪ Use transport layer resulting from vSID
Technical background
▪ All objects that can be part of a Workbench
transport request can make use of gCTS
▪ Objects are added to a commit when a transport
request is released
Customizing
▪ Requires SAP S/4HANA 2020
▪ Choose the vSID that you created as
target for the transport request
Technical background
▪ TDAT and VDAT are enabled with SAP S/4HANA
2020
▪ CDAT requires SAP S/4HANA 2020 FPS1 plus
SAP Notes (3016865)
What to remember: ▪ Workbench and Customizing objects can be handled via gCTS
▪ The development tools ADT or SE80 and SPRO are the same for gCTS
▪ The gCTS app supports the development processes
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 7
Thank you.
Contact information:
open@sap.com
Follow all of SAP
www.sap.com/contactsap
DEVELOPMENT
DEVELOPMENT
DEV DEV
DEVELOPMENT
DEVELOPMENT
DEVELOPMENT
DEV TST DEV TST
TEST
TEST
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 3
Introduction to the exercises
Exercise scope – week 1
3
Create
repositories on
YourRepo on GitHub GitHub
Main
1 2
DEVELOPMENT
TEST
enablement
wizard
2 YourRepo on GitHub
Create local Main
repositories
VSID
1
DEVELOPMENT
TEST
credentials
6
Explore
3 4 gCTS app 5
Add Add Workbench Pull into target
Customizing objects system
YourRepo on GitHub
Main
1
Set repository
VSID DEVELOPMENT parameters
DEV TST
2
Merge
TEST
branches
3
Solve conflicts
YourRepo on GitHub
Main
1
VSID DEVELOPMENT
Commit a task
DEV TST
2
Register
TEST
objects
3
Use registry
when developing
YourRepo on GitHub
Main
1
Use a CI
VSID platform with
gCTS
2
DEVELOPMENT
DEV TST
Set up a
TEST
pipeline
What to remember: ▪ Exercises will cover the full range from basic to advanced activities
▪ Some steps can only be performed once and are not available as exercises
▪ Look into additional material for exercise descriptions
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 10
Thank you.
Contact information:
open@sap.com
Follow all of SAP
www.sap.com/contactsap
YourRepo on GitHub
Main
VSID
DEVELOPMENT
DEV TST
TEST
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 3
Introduction to the exercise landscape
Tools
open@sap.com
Follow all of SAP
www.sap.com/contactsap
Git platform
▪ to host your repositories
Git platform
(e.g. GitHub)
ABAP systems
DEV TST PRD
▪ e.g. development, test and
production system
ABAP systems
MUST
optional
CI server
▪ to host your pipelines
CI server
(e.g. Jenkins)
Git platform
▪ (nothing special)
Git platform
(e.g. GitHub)
ABAP systems
▪ SAP S/4HANA 1909 (2020 for
Customizing support) DEV TST PRD
▪ SapMachine Version 11 or
comparable JRE
▪ Some SAP Notes (depending on SP)
ABAP systems
MUST
optional
CI server
▪ (nothing special – you can use
pipeline steps provided in project CI server
“Piper”) (e.g. Jenkins)
Git platform
▪ Create repository (with initial commit)
Git platform
(e.g. GitHub)
ABAP systems
▪ gCTS Fiori UI
▪ Authorizations DEV TST PRD
▪ Set parameters, initialize systems
▪ Clone repository
▪ Create branches ABAP systems
MUST
optional
CI server
▪ Set up project
▪ Provide credentials CI server
▪ Set up libraries (e.g. Jenkins)
▪ Set hooks in repository
Assumption:
▪ Java is installed
▪ SAP Fiori enablement is done
▪ Certificates are imported DEV
set Initialize
Demo will show
▪ gCTS enablement wizard
PRODUCTION
▪ Results in health check paths
open@sap.com
Follow all of SAP
www.sap.com/contactsap
Why GitHub?
▪ We need a place for the remote repositories
▪ GitHub is currently best supported by gCTS
2
1 Add observer job
Create user as
repositories collaborator
YourRepo on GitHub
Main
VSID
DEVELOPMENT
DEV TST
TEST
Week 1
Create Week 2 Week 3 Week 4 Week 5
repositories on
GitHub
open@sap.com
Follow all of SAP
www.sap.com/contactsap