©KMD
_ Public - KMD A/S
1
@ SIT Barcelona, October 11th 2019
Open source in
the SAP world
©KMD
_ Public - KMD A/S
INTERNT
WHO AM I?
2
_ Morten Wittrock
_ SAP Mentor
_ SAP PRESS author
_ SAP Inside Track Copenhagen co-organizer
_ Frequent speaker at other SAP Inside Tracks
_ Principal architect at KMD in Denmark
_ SAP Community: https://people.sap.com/mortenw
_ Twitter: @mwittrock
©KMD
_ Public - KMD A/S
3
Open source
overview
©KMD
_ Public - KMD A/S
INTERNTINTERNT
PROPRIETARY SOFTWARE: WINDOWS
4
_ For a fee, Microsoft will license Windows to you
_ To use the software, you must accept the terms
of that license
_ The license gives you the right to use the
software
_ You do not have the right to modify Windows
_ The Windows source code is controlled by
Microsoft
_ You do not have access to it
_ You have no way to follow the software’s
development from the outside
©KMD
_ Public - KMD A/S
INTERNTINTERNT
OPEN SOURCE SOFTWARE: LINUX
5
_ To use Linux, you still need to accept a license
_ The terms of that license, however, are very
different
_ It gives you the right to not only use, but also
modify the software
_ You have access to the full source code
_ Linux is developed in a very transparent fashion
©KMD
_ Public - KMD A/S
INTERNTINTERNT
OPEN SOURCE RUNS THE WORLD
6
_ Linux on the desktop never took off, but Linux and open
source in general won everywhere else
_ Today there are four mainstream consumer operating
systems:
_ macOS
_ Windows
_ Android
_ iOS
_ Three out of those four are based on open source
_ In server operating systems, Linux is absolutely huge
©KMD
_ Public - KMD A/S
INTERNTINTERNT
OPEN SOURCE RUNS THE WORLD
7
_ Internet infrastructure like web, mail and DNS
_ Cloud providers like Amazon and Google run their data
centers on Linux
_ Depending on which estimate, up to 90% of commercial
applications contain OSS components like:
_ Software frameworks
_ Programming languages
_ Libraries
_ Databases
©KMD
_ Public - KMD A/S
INTERNTINTERNT
OPEN SOURCE LICENSES
8
_ Source availability ≠ open source
_ Open source is all about the license
_ The license lays out in detail what you can and cannot
do with the software
_ Contrary to proprietary software, open source licenses
allow you to freely share and modify the code
_ The Open Source Initiative is sort of (but not quite) a
central clearing-house for licenses
_ There are almost a hundred OSI-approved licenses
©KMD
_ Public - KMD A/S
INTERNTINTERNT
PERMISSIVE VS COPYLEFT
9
_ In practice, however, three licenses dominate:
_ MIT
_ Apache
_ GPL (GNU General Public License)
_ GPL is a copyleft license → It is sticky; derived
works are automatically GPL as well
_ The MIT and Apache are permissive licenses →
“Anything Goes” + sublicensing is allowed
©KMD
_ Public - KMD A/S
INTERNTINTERNT
TESLA’S GPL VIOLATION
10
©KMD
_ Public - KMD A/S
11
SAP’s open
source efforts
©KMD
_ Public - KMD A/S
INTERNTINTERNT
SAP’S OPEN SOURCE HISTORY
12
_ 1998: R/3 is ported to run on Linux
_ 2004: SAP is a founding member of the Eclipse
Foundation
_ 2011: SAP joins the OpenJDK project
_ 2013: OpenUI5 is open sourced
_ 2015: SAP is a founding member of the Cloud
Foundry Foundation
_ 2017: SAP joins the Cloud Native Computing
Foundation
_ 2018: The Gardener and Kyma projects are open
sourced, OSPO established
©KMD
_ Public - KMD A/S
INTERNTINTERNT
SAP’S OPEN SOURCE HISTORY
13
_ Today SAP is a member of:
_ The Linux Foundation
_ The Cloud Native Computing Foundation
_ The Cloud Foundry Foundation
_ The Apache Software Foundation
_ The Eclipse Foundation
_ Et al
_ More than 1000 SAP employees have made
contributions to open source on GitHub
©KMD
_ Public - KMD A/S
INTERNTINTERNT
SAP’S OPEN SOURCE PROGRAM OFFICE
14
_ Established early 2018
_ Coordinates SAP’s many open source efforts
_ Support and improve processes around open
source inside SAP
_ Engage with open source communities
_ Increase visibility of SAP’s contributions
©KMD
_ Public - KMD A/S
INTERNTINTERNT
THE OPEN SOURCE BAR AT TECHED
15
©KMD
_ Public - KMD A/S
INTERNTINTERNT
OPENUI5
16
_ OpenUI5 is an open source web development
framework
_ Based on HTML5 and jQuery
_ UI5 minus a few proprietary libraries
_ Open sourced by SAP in 2013
_ Contributions accepted on GitHub since 2014
_ Not the first outbound SAP open source project,
but probably the first widely known one
©KMD
_ Public - KMD A/S
INTERNTINTERNT
SAPMACHINE
17
_ SapMachine is based on OpenJDK (which SAP
also contributes to)
_ I.e. it is an open source Java implementation
_ Basically a version of OpenJDK supported
directly by SAP
_ A “friendly fork”
©KMD
_ Public - KMD A/S
INTERNTINTERNT
GARDENER
18
_ Gardener is a tool that lets you manage your
Kubernetes clusters
_ The “Kubernetes botanist”
_ Gardener itself runs on Kubernetes
_ Work started in 2017, and the project was open
sourced in 2018
_ Gardener made it into the TechEd keynote
©KMD
_ Public - KMD A/S
19
Community open
source projects
©KMD
_ Public - KMD A/S
INTERNTINTERNT
SAPLINK
20
_ SAPlink is the first community open source project I
came across
_ Launched in 2006 by old-school SDN members Ed
Herrmann and Dan McWeeney
_ They won the TechEd Demo Jam that year
_ SAPlink lets you share ABAP source outside of an SAP
system and treat source code as text
_ (Like most other languages out there)
_ A spiritual ancestor to abapGit
©KMD
_ Public - KMD A/S
INTERNTINTERNT
ABAPGIT
21
_ abapGit is the most well known SAP community
open source project
_ The clue is in the name: It’s a Git client written
in ABAP
_ I.e. version control, collaboration, automation
with GitHub Actions etc.
_ The project was started by Danish SAP Mentor
Lars Hvam
_ In addition to Lars, the project has 76
contributors on GitHub
_ Integrated into the SCP ABAP environment aka
Steampunk
©KMD
_ Public - KMD A/S
INTERNTINTERNT
CPILINT
22
_ CPILint is an automated governance tool for SAP
Cloud Platform Integration
_ You set up governance rules, that you want your
integrations to comply with
_ The tool does the heavy lifting of checking whether
your integrations are actually compliant
_ Executable developer guidelines
_ Developed by yours truly and released as open
source in 2019
©KMD
_ Public - KMD A/S
INTERNTINTERNT
DOTABAP.ORG
23
©KMD
_ Public - KMD A/S
INTERNTINTERNT
LINKS
24
_ SAP Open Source landing page
_ SAP on GitHub
_ abapGit
_ CPILint
_ Dotabap
_ OpenUI5
_ Gardener
_ SapMachine
©KMD
_ Public - KMD A/S
25
Thank you!

Open source in the SAP world

  • 1.
    ©KMD _ Public -KMD A/S 1 @ SIT Barcelona, October 11th 2019 Open source in the SAP world
  • 2.
    ©KMD _ Public -KMD A/S INTERNT WHO AM I? 2 _ Morten Wittrock _ SAP Mentor _ SAP PRESS author _ SAP Inside Track Copenhagen co-organizer _ Frequent speaker at other SAP Inside Tracks _ Principal architect at KMD in Denmark _ SAP Community: https://people.sap.com/mortenw _ Twitter: @mwittrock
  • 3.
    ©KMD _ Public -KMD A/S 3 Open source overview
  • 4.
    ©KMD _ Public -KMD A/S INTERNTINTERNT PROPRIETARY SOFTWARE: WINDOWS 4 _ For a fee, Microsoft will license Windows to you _ To use the software, you must accept the terms of that license _ The license gives you the right to use the software _ You do not have the right to modify Windows _ The Windows source code is controlled by Microsoft _ You do not have access to it _ You have no way to follow the software’s development from the outside
  • 5.
    ©KMD _ Public -KMD A/S INTERNTINTERNT OPEN SOURCE SOFTWARE: LINUX 5 _ To use Linux, you still need to accept a license _ The terms of that license, however, are very different _ It gives you the right to not only use, but also modify the software _ You have access to the full source code _ Linux is developed in a very transparent fashion
  • 6.
    ©KMD _ Public -KMD A/S INTERNTINTERNT OPEN SOURCE RUNS THE WORLD 6 _ Linux on the desktop never took off, but Linux and open source in general won everywhere else _ Today there are four mainstream consumer operating systems: _ macOS _ Windows _ Android _ iOS _ Three out of those four are based on open source _ In server operating systems, Linux is absolutely huge
  • 7.
    ©KMD _ Public -KMD A/S INTERNTINTERNT OPEN SOURCE RUNS THE WORLD 7 _ Internet infrastructure like web, mail and DNS _ Cloud providers like Amazon and Google run their data centers on Linux _ Depending on which estimate, up to 90% of commercial applications contain OSS components like: _ Software frameworks _ Programming languages _ Libraries _ Databases
  • 8.
    ©KMD _ Public -KMD A/S INTERNTINTERNT OPEN SOURCE LICENSES 8 _ Source availability ≠ open source _ Open source is all about the license _ The license lays out in detail what you can and cannot do with the software _ Contrary to proprietary software, open source licenses allow you to freely share and modify the code _ The Open Source Initiative is sort of (but not quite) a central clearing-house for licenses _ There are almost a hundred OSI-approved licenses
  • 9.
    ©KMD _ Public -KMD A/S INTERNTINTERNT PERMISSIVE VS COPYLEFT 9 _ In practice, however, three licenses dominate: _ MIT _ Apache _ GPL (GNU General Public License) _ GPL is a copyleft license → It is sticky; derived works are automatically GPL as well _ The MIT and Apache are permissive licenses → “Anything Goes” + sublicensing is allowed
  • 10.
    ©KMD _ Public -KMD A/S INTERNTINTERNT TESLA’S GPL VIOLATION 10
  • 11.
    ©KMD _ Public -KMD A/S 11 SAP’s open source efforts
  • 12.
    ©KMD _ Public -KMD A/S INTERNTINTERNT SAP’S OPEN SOURCE HISTORY 12 _ 1998: R/3 is ported to run on Linux _ 2004: SAP is a founding member of the Eclipse Foundation _ 2011: SAP joins the OpenJDK project _ 2013: OpenUI5 is open sourced _ 2015: SAP is a founding member of the Cloud Foundry Foundation _ 2017: SAP joins the Cloud Native Computing Foundation _ 2018: The Gardener and Kyma projects are open sourced, OSPO established
  • 13.
    ©KMD _ Public -KMD A/S INTERNTINTERNT SAP’S OPEN SOURCE HISTORY 13 _ Today SAP is a member of: _ The Linux Foundation _ The Cloud Native Computing Foundation _ The Cloud Foundry Foundation _ The Apache Software Foundation _ The Eclipse Foundation _ Et al _ More than 1000 SAP employees have made contributions to open source on GitHub
  • 14.
    ©KMD _ Public -KMD A/S INTERNTINTERNT SAP’S OPEN SOURCE PROGRAM OFFICE 14 _ Established early 2018 _ Coordinates SAP’s many open source efforts _ Support and improve processes around open source inside SAP _ Engage with open source communities _ Increase visibility of SAP’s contributions
  • 15.
    ©KMD _ Public -KMD A/S INTERNTINTERNT THE OPEN SOURCE BAR AT TECHED 15
  • 16.
    ©KMD _ Public -KMD A/S INTERNTINTERNT OPENUI5 16 _ OpenUI5 is an open source web development framework _ Based on HTML5 and jQuery _ UI5 minus a few proprietary libraries _ Open sourced by SAP in 2013 _ Contributions accepted on GitHub since 2014 _ Not the first outbound SAP open source project, but probably the first widely known one
  • 17.
    ©KMD _ Public -KMD A/S INTERNTINTERNT SAPMACHINE 17 _ SapMachine is based on OpenJDK (which SAP also contributes to) _ I.e. it is an open source Java implementation _ Basically a version of OpenJDK supported directly by SAP _ A “friendly fork”
  • 18.
    ©KMD _ Public -KMD A/S INTERNTINTERNT GARDENER 18 _ Gardener is a tool that lets you manage your Kubernetes clusters _ The “Kubernetes botanist” _ Gardener itself runs on Kubernetes _ Work started in 2017, and the project was open sourced in 2018 _ Gardener made it into the TechEd keynote
  • 19.
    ©KMD _ Public -KMD A/S 19 Community open source projects
  • 20.
    ©KMD _ Public -KMD A/S INTERNTINTERNT SAPLINK 20 _ SAPlink is the first community open source project I came across _ Launched in 2006 by old-school SDN members Ed Herrmann and Dan McWeeney _ They won the TechEd Demo Jam that year _ SAPlink lets you share ABAP source outside of an SAP system and treat source code as text _ (Like most other languages out there) _ A spiritual ancestor to abapGit
  • 21.
    ©KMD _ Public -KMD A/S INTERNTINTERNT ABAPGIT 21 _ abapGit is the most well known SAP community open source project _ The clue is in the name: It’s a Git client written in ABAP _ I.e. version control, collaboration, automation with GitHub Actions etc. _ The project was started by Danish SAP Mentor Lars Hvam _ In addition to Lars, the project has 76 contributors on GitHub _ Integrated into the SCP ABAP environment aka Steampunk
  • 22.
    ©KMD _ Public -KMD A/S INTERNTINTERNT CPILINT 22 _ CPILint is an automated governance tool for SAP Cloud Platform Integration _ You set up governance rules, that you want your integrations to comply with _ The tool does the heavy lifting of checking whether your integrations are actually compliant _ Executable developer guidelines _ Developed by yours truly and released as open source in 2019
  • 23.
    ©KMD _ Public -KMD A/S INTERNTINTERNT DOTABAP.ORG 23
  • 24.
    ©KMD _ Public -KMD A/S INTERNTINTERNT LINKS 24 _ SAP Open Source landing page _ SAP on GitHub _ abapGit _ CPILint _ Dotabap _ OpenUI5 _ Gardener _ SapMachine
  • 25.
    ©KMD _ Public -KMD A/S 25 Thank you!