The global and independent platform for the SAP community.

The time of the lighthouses is over

Why do existing SAP customers want to interface with other systems at all? What is the business benefit? And how do you do the whole thing from a technical point of view without incurring more disadvantages than advantages?
Patrick Theobald, Theobald Software
April 26, 2018
Content:
The time of the lighthouses is over
avatar
This text has been automatically translated from German to English.

As part of a student job in 1998, I naively asked the SAP Basis admin how I could access this SAP from my Visual Basic application.

At the time, users had to copy and paste material data from the SAP GUI into the external warehouse application. Wordlessly, he pressed a gray, printed softcover book into my hand:

"Mastering SAP Remote Function Call in C/C++". In retrospect, that was probably his way of saying: Don't do it.

Almost 20 years have passed since then and a lot of water has flowed down the Leimbach past the SAP headquarters in Walldorf. The questions about the business benefits and the right technical approach are still relevant.

Data and process integration

When it comes to SAP interfaces, we basically distinguish between two major areas: Data integration and process integration.

Data integration generally involves the transportation of large volumes of structured data. The purpose is to be seen in areas related to data analysis.

This can range from simple charts for the management level to predictive analytics and data mining with the help of artificial intelligence. In any case, this area should be viewed downstream of the classic business transactions that are generally covered by SAP ERP.

If you were to remain completely in the SAP world, you would cover the data analysis requirements in the classic way with BW, Hana and the BO front-end tools.

The second major area is process integration. This is where the data transfer is broken down to the individual transaction. A process could start in SAP and be transferred to a subsystem.

A good example of this would be a customer quotation that is created in SAP SD and then enriched with additional data, images and drawings outside of SAP.

The opposite direction is just as conceivable. Information on a new material master data record to be created is collected from various departments via a non-SAP workflow. This involves product management, purchasing and, if necessary, colleagues from logistics.

Only when all information is complete and consistent is the data and the investment process transferred to SAP MM. Virtually all SAP interfaces can be divided into these two categories of process and data integration, each of which is technically completely different.

Patrick TheobaldPredetermined breaking points

Before we look at the technical aspects, we should ask the why question. With its almost unmanageable range of products and modules, SAP theoretically covers all the requirements of almost every existing SAP customer.

Every interface between systems or manufacturers is often seen as a kind of predetermined breaking point that becomes particularly annoying when it doesn't work. And, of course, the other party is usually to blame. And yet there are arguments that drown out these concerns.

Users often call for higher performance. I would like to expressly defend myself against the blanket accusation that SAP is slow, but nevertheless it has almost been a tradition among the Walldorf-based company since its foundation to design its software in such a way that the available hardware always feels a tad too slow for the applications.

For a long time, this was especially true for SAP BW. The use of Hana has certainly put things into perspective somewhat, but it was the data analysis area in particular that stretched the user's patience to the pain threshold and beyond.

It therefore stands to reason that many existing SAP customers find a significantly better ratio between costs and performance in external subsystems.

Another important argument is mixing with non-SAP data - whether in data or process integration. Keeping company data completely within a manufacturer's software only works in glossy brochures, but never in real life.

And yes, of course SAP ERP and SAP BW offer the option of loading external data into SAP and processing it there, but this is by no means a realistic, affordable procedure.

If you need SAP and non-SAP data at the same time, you will have to look for a place outside SAP or you will have to bring a lot of time and a large budget with you.

Specifications of biblical proportions

Digitalization is on everyone's lips. The media, politicians and company bosses interpret everything possible and impossible into this term. It also provides our third argument, which is actually much older than the term digitalization itself: Agility.

It is certainly due to the age and long history of SAP that certain patterns are often found in project management: At the start of a project, the consultant enters the meeting room, sharpens his pencil and listens to the future user about what he would like.

The specifications - often thicker than the Bible - go into implementation and after agonizingly long months or even years, the go-live takes place.

Unfortunately, the world has already turned three times and even the business user from the initial meeting is not a clairvoyant. But this is how SAP-managed processes are generally set up, which is the exact opposite of agility.

However, if we transfer the data to a suitable subsystem via an elegant interface, we can technically and organizationally ensure that the iteration cycles in projects shrink from months to days and that adaptability skyrockets. That is agility.

Incidentally, a major pioneer of this way of thinking is Self Service BI, which means nothing other than officially admitting that when creating an analysis data source, it is not yet known exactly which questions are to be answered with the dataset.

Anyone who thinks that users are now sitting in front of their computers with wet eyes and hands shaking with excitement is mistaken. Users have always done it this way anyway, with Excel.

We have now learned the three most important arguments: performance, blending with non-SAP data and agility. There are many, many more, but over the past twenty years and across almost 2,500 interface projects, these three are the distillation of what drives existing SAP customers on this topic. Interestingly, almost nothing has changed over time.

Technology for data transfer

Let's first look at the technical aspects of data integration, a typical sub-discipline of business intelligence. Completely independent of the manufacturer, this part is handled by a layer that we call ETL (Extract, Transform, Load) or ELT (Extract, Load, Transform).

The data often still needs to be prepared for analysis, e.g. through quality and consistency checks. Depending on whether this transformation is carried out during transport or after arrival in the target system, it is referred to as ETL or ELT.

In every type of analysis system or data warehouse, such a layer can be found in various forms.

ETL and SQL

One of the most common scenarios, for example, would be data storage in a Microsoft SQL Server. The ETL part would be handled by SQL Server Integration Services (SSIS).

A tool that is delivered together with the SQL Server. Here, the data flows are modeled graphically and then automated. This works so well and inexpensively that even customers without a Microsoft background occasionally use SSIS to transport data to external systems (e.g. an Oracle data warehouse).

In any case, the desired transformations are carried out in transit. In addition to other ETL providers such as Alteryx, an alternative would be to leave the original data from the upstream systems as it is, store it first and then refine it downstream from a staging layer - ELT in other words.

This approach also works very well with all common data targets: SQL Server, Oracle, Hadoop applications, Amazon Redshift. The list goes on and on and depends on the customer's taste.

Once the data has been prepared for analysis, a practically infinite pool of analysis options opens up. From classic Excel and Power BI to providers such as Board or Tableau, all of which set standards in terms of user experience.

Even if SAP is theoretically just one of many data suppliers in such a landscape, experience has shown that it occupies a special position. This is mainly due to the fact that connecting SAP is technically more complex than others and can quickly turn into a penny pit if the wrong tools are used.

If we consider SAP ERP as a data supplier, a number of source objects are suitable as a starting point. In the simplest case, tables. While it is true that the number of SAP tables is somewhere in the six-figure range depending on the release and module, experience has shown that the really relevant ones are easy to find and prove to be a manageable problem in practice.

Many customers also like to fall back on queries. Although this is an impressively old technology, existing SAP customers with a long history in particular can fall back on existing artifacts without having to reinvent the wheel.

If the data volumes become larger, incremental loading must of course be taken into account. The simplest option is to use classic OLTP data sources, just as they would supply a BW with data.

Incidentally, SAP is currently renovating this type of data transfer and replacing it with the more elegant and robust ODP. It is therefore not foreseeable that this type of data transfer will fall victim to a Hana roadmap in the foreseeable future.

SAP BW and the toll called hub license

One important aspect is the role of SAP BW. Experience shows that two thirds of all customers access data from SAP ERP and one third from BW. In the simplest case, classic BEx queries can be used to access data via BW.

When data volumes increase, export datasources can ensure that data is transferred incrementally from the respective BW object to a downstream system.

One very important point should be mentioned at this point: If the data is not transported directly from the ERP, but from BW to an external data warehouse, depending on the license conditions and contract, a toll with the name Open Hub License must be paid to Walldorf.

Politisch soll das offensichtlich die SAP-Bestandskunden von diesem Weg abhalten. Meiner Erfahrung nach führt das aber eher zum gegenteiligen Effekt. Der wird dadurch nämlich finanziell ermutigt, das bestehende BW aus dem Datenfluss gleich ganz zu entfernen.

Die Gründe, die Daten zunächst über ein BW und dann erst in einen DataMart zu transportieren, sind eher dünn und haben oft mehr mit Politik und Historie zu tun als mit technischer Notwendigkeit.

Prozessintegration

Die Technik hinter der Prozessintegration ist grundlegend anders als bei der Datenintegration des vorangegangenen Abschnitts. Hier geht es ja vor allem darum, eine einzelne Transaktion entweder vom SAP nach außen oder von außen an SAP zurückzugeben.

Auf der äußeren Seite kommen oft Workflow-Systeme zum Einsatz. Das könnte zum Beispiel Nintex, K2 oder Microsoft Flow sein. Jeweils technisch in ein SharePoint eingebettet oder auch ohne.

Wenn es keine Workflow-Anwendung ist, finden wir oft Office-Anwendungen (am ehesten Excel) auf der Non-SAP-Seite bis hin zu maschinellen Konsumenten wie eine Förderanlage oder andere Produktionsmaschinen, die ja auch am Datentropf von SAP hängen.

Im Fall von Excel könnte ein typischer Use Case sein, entweder Daten aus SAP in ein Excel-Sheet zu übernehmen (z. B. Kunden-­adresse zur Kundennummer) und/oder von dort aus zurückzuspielen (z. B. Materialstücklisten pflegen). Die Anwendungen sind vielfältig und in der Regel ein großer Effizienzgewinn für den Endanwender.

Er muss nämlich seine vertrauten Umgebungen (Excel, SharePoint oder auch andere Software von Drittanbietern) nicht verlassen. SAP und Microsoft haben in der Vergangenheit mit Duet mehrere Versuche unternommen, in diese Kerbe zu schlagen.

Das war wenig von Erfolg gekrönt und am Ende wurden gute Ideen durch die falsche technische Umsetzung und zu viel Politik zu Staub zerrieben. Auf SAP-Seite ist der Ausgangspunkt praktisch immer ein Funktionsbaustein. Das kann entweder ein bestehender Standard-BAPI sein oder ein selbst ent­wickelter Z-Baustein.

Andere Techniken wie Transaktionsrekorder oder Ähnliches haben sich als wenig flexibel erwiesen. Auch die Nutzung eines SAP Gateways sollte sorgfältig durchdacht werden. Das SAP Gateway ist letztendlich nur ein zusätzlicher Layer, der den Funktionsbaustein in OData übersetzt.

Das hat gleich zwei gravierende Nachteile: Durch die zusätzliche Schicht nehmen Performance und Responsiveness ab; außerdem lassen sich nur manche Geschäftsvorfälle in diese tabellenorientierte Denkweise von OData zwängen.

Use Cases, bei denen die Daten sehr hierarchisch und nicht tabellenartig sind (z. B eine Stückliste oder komplexe Materialstamm-daten), werden in Gateway sehr schnell hässlich und unübersichtlich, was Agilität im Entwicklungsprozess nicht nur einschränkt, sondern oft gänzlich zum Erliegen bringt.

Die Praxis hat gezeigt, dass ein Zugriff mit so wenig Schichten wie möglich am besten, einfachsten und schnellsten funktioniert: direkt vom externen System per RFC auf den Baustein oder das BA zugreifen.

Entweder durch wenige Zeilen Code, die selbst programmiert werden, oder durch intelligente Tools, die das Programmieren in einem grafischen Editor wegkapseln. Auch wenn sich das ein wenig hemdsärmelig anhört, hat es sich in der Praxis fast immer den Gateways und PIs dieser Welt als überlegen dargestellt.

Conclusion

Wir haben hier die wichtigsten Aspekte zum Thema SAP-Schnittstellen kennengelernt. Dabei spielt zunächst die Frage eine Rolle, ob der Kunde Massendaten transportieren möchte (Datenintegration) oder Prozesse und Transaktionen innerhalb von SAP mit der Außenwelt verbinden will.

Die wichtigsten Beweggründe dafür sind eine gute Performance und SAP- mit Non-SAP-Daten näher aneinander zu bringen. Ein weiterer Grund ist die Notwendigkeit, Systemlandschaften und Informationsflüsse so zu bauen, dass sie auf zukünftige Veränderungen schon vorbereitet, also agil sind.

Unter technischen Gesichtspunkten können viele Objekte auf SAP-Seite als Datenlieferant gelten: Tabellen, Queries, OLTP-Sources, BW-Queries etc. Bei der Integration von Transaktionen ist der Bestandskunde gut beraten, Zwischenschichten weitestgehend wegzulassen.

Auch wenn diejenigen, die gerne die Zwischenschichten verkaufen wollen, das naturgemäß anders sehen. Die Vorteile überwiegen durch bessere Performance und Agilität. Abschließend sei generell dazu geraten, mehr Pragmatismus und kurze Feedback- und Iterationszyklen zu wagen.

Die Zeit der großen und alle Integrationsprobleme lösenden Leuchtturmprojekte ist vorbei. Am Ende müssen die Dinge in der realen Welt und nicht auf dem Hochglanzpapier stabil funktionieren.

Download cover story

Download as PDF only for members. Please create an account Here

avatar
Patrick Theobald, Theobald Software

Patrick Theobald is founder and managing director of Theobald Software


Write a comment

Work on SAP Basis is crucial for successful S/4 conversion. This gives the so-called Competence Center strategic importance among SAP's existing customers. Regardless of the operating model of an S/4 Hana, topics such as automation, monitoring, security, application lifecycle management, and data management are the basis for the operative S/4 operation. For the second time already, E3 Magazine is hosting a summit in Salzburg for the SAP community to get comprehensive information on all aspects of S/4 Hana groundwork. With an exhibition, expert presentations, and plenty to talk about, we again expect numerous existing customers, partners, and experts in Salzburg. E3 Magazine invites you to Salzburg for learning and exchange of ideas on June 5 and 6, 2024.

Venue

Event Room, FourSide Hotel Salzburg,
At the exhibition center 2,
A-5020 Salzburg

Event date

June 5 and 6, 2024

Tickets

Early Bird Ticket - Available until 29.03.2024
EUR 440 excl. VAT
Regular ticket
EUR 590 excl. VAT

Secure your Early Bird ticket now!

Venue

Event Room, Hotel Hilton Heidelberg,
Kurfürstenanlage 1,
69115 Heidelberg

Event date

28 and 29 February 2024

Tickets

Regular ticket
EUR 590 excl. VAT
The organizer is the E3 magazine of the publishing house B4Bmedia.net AG. The presentations will be accompanied by an exhibition of selected SAP partners. The ticket price includes the attendance of all lectures of the Steampunk and BTP Summit 2024, the visit of the exhibition area, the participation in the evening event as well as the catering during the official program. The lecture program and the list of exhibitors and sponsors (SAP partners) will be published on this website in due time.