Download presentation
Presentation is loading. Please wait.
1
SAP Insider Track Munich
SAP Centric application Interface Regression Testing for Cloud and on-Premise SAP Insider Track Munich 7 October 2017 Frank van der Plas Michal Kowalczewski
2
Agenda Welcome concepts of int4 application interface testing approach
Example of SAP centric regression testing Questions
3
INT4 introduction Founded in Poznan Poland in 2010.
Integration style: One face for One interface INT4 consultants are all SAP middleware (SAP PO/CPI), SAP development (ABAP, IDOC, ALE, SAP AIF, HANA) and SAP module certification experts. Started with the first blueprint for int4 IFTT 2012. Michal Krawczyk SAP Mentor since 2007
4
Cost of late detection of application interface issues in ALM cycle
Preliminary estimates of relative cost factors of correcting errors as a function of where errors are introduced and found . (X) relative cost unit Where errors are introduced Where errors are found Blueprint Configure, code unit test Functional integration test UAT Pre-production Post go-live 1X 5X 10X 15X 30X Configure/code/unit test 20X Functional/ Source: The economic impact of inadequate infrastructure for software testing National institute of standards and technology . May 202
5
Typical SAP centric landscape
Business suite S/4hana SAP PO SAP Cloud Platform Integration - SAP as integated ERP system has a centric position. Usually single installation for headquarter and subsidiaries Multiple local and global systems are integrated with SAP. Much often the non-SAP systems are added or decomissioned than SAP In order to control such distributed landscape the central middleware platform must be used and the interface logic must be reusable. In this purpose the canonical data model is introduced and the most of the mappings and components in reused between particular interfaces. The TCO is much lower than maintaining the single connections but we need to keep in mind that the risk that single change will have broader negative impact is higher. For that purpose we need to have regression testing process organized well.
6
The SAP application interfaces
SAP cloud Platform SAP ABAP Backend SAP cloud solutions Apps Odata Gateway external Message Cloud Platform Integrator SAP Message FM SAP AIF Enterprise Service/ Proxy Soamanager External systems Bus doc. IDOC/ALE Processing external Message Middleware: SAP PO BAPI CIF RFC-Bapi AIF- File Processing ext. systems Middleware: SAP PO Cloud Platform Integrator external Message SAP Message Interface technology SAP customizing Bus doc.
7
Challenge: SAP Application interface testing
SAP application interfaces are complex interfaces combining various technology solutions and have a high degree of re-use Lets look at the number as the reuse increases from left to the right; 100+ messages 10 messages One sales order mapping processing Processing ext.systems Middleware: SAP PO Cloud Platform Integrator external Message SAP Message Interface technology SAP customizing Bus doc. Testing challenges Lots of technology components involved Re-use of is Key ! The closer to the SAP business document the more re-use is introduced What is the source of data? Production, manual produced, copies from previous test Manage and store your unique test case like you do with tests scripts
8
What is the testing scope of int4 ?
Rec/playback Unit testing Unit testing Rec/playback UI UI Processing ext. system and cloud external Message Middleware: SAP PO Cloud Platform Integrator SAP Message Interface technology SAP customizing Bus doc. INT4 SAP application interface testing Supported middleware and interfaces SAP PI/PO 1 PI GUID inbound 2 PI IDOC inbound 3 PI synchronous resp. 5 PI Outbound 10 PI Manual Inbound Backend 4 ECATT recording 6 IDoc number 7 IDoc Outbound 8 AIF XML 9 Inbound Proxy 11 DB Assertions NW gateway 12 OData service SAP Cloud PI 13 SAP CPI Sync 14 SAP CPI Outbound Key-points: Lots of technology components involved Complexity increases with more interface types and middleware for Cloud and on-prem/private cloud Use good and validated reference test sets Application interface unit testing is a collection of different technology components
9
Working with Int4 test cases
Initial interface Configuration ( IFTT coordinator) Test case definition ( developer, functional, tester, expert user, ALM team) Continuous Execution/schedule test cases ( developer, functional, tester, expert user, ALM team) Configure interface Build test case Interface: single click select CPI/PO message Run test cases virtual inject message in PO/CPI IFTT interface definition Store reference for test case in repository Behaviour rules Reference Use IFTT Interface definition Validate Substitution rules Business document reference New bus doc Validation rules Interface Message reference Store validation result
10
Example company- Test requirement
sources interfaces backend scenarios SAP cloud platform Current: Webshop for worldwide use Cloud platform applications Legacy system scenarios with inbound order and outbound order conformation EDI with Germany, Poland and France Change: a change in any of the integration components can impact other interfaces. Example expert use changes BRF+ table in AIF for his cloud integrator interface Test requirement Test new CPI integration Regression test EDI and legacy interfaces Apps Apps Cloud platform integrator SAP ECC Apps Gateway Web shop SOA manager SAP PO Map AIF FTP Proxy Sales order Canonical message Map B2B Add-on Map Order idoc Ordconf idoc Map Sales confirmation Map BAPI flatfile Map WS
11
Example company – INT4 test approach
sources interfaces backend Automated test execution SAP cloud platform Virtualize Post Synchronous SAP cloud platform messages to CPI Post SAP PO edi files Post SAP PO order files and wait for order response file Execution of test cases: generate unique message Post/trigger event Select created business document Validate testcase business document with newly created Store test result Generate report CPI Apps Apps Cloud platform integrator SAP ECC Apps Gateway INT4 IFTT Web shop SOA manager ECC AIF FTP SAP PO Proxy Sales order SAP PO Canonical message Map B2B Add-on Map Order idoc Ordconf idoc Map Sales confirmation Map BAPI flatfile Map WS
12
Application interface test example Cloud Platform Integrator and SAP PO
13
Upcoming events Date Event 9 Oct 2017
Webinar the challenge of SAP application interface testing November 2017 Webinar SAP centric integration testing in a hybrid environment using SAP PO and SAP CPI. Pre-register 1 Dec 2017 SAP Inside Track – Paris Presentation of SAP Centric integration testing for Cloud Platform Integrator. Follow us for live updates December 2017 Webinar SAP application Interface development using the test driven INT4 Approach. Pre-register
14
©
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.