SlideShare una empresa de Scribd logo
1 de 51
Figaf Integration Regression Tool™
April 2019
Lessons learned for CPI project
© Figaf 2019
• 15+ years as integration
developer with SAP
• SAP Mentor
• Father
Daniel Graversen
CPI lessons
API Management Lessons
CPI course
Tools for improving the process
Agenda
SAP CPI Lessons
The agility compared to PI makes it a lot
different.
In PI you need to know full process to see if
you should include BPM in the process
In CPI you can add extra steps to it in the
process easy
Lower estimates for processes
Flexibility
If code is duplicated then it make sense
to refactor.
Delete the code and configuration from
the old flow.
Process Direct Adapter allow good using
of functions.
Make common used functions to use in
your project and organisation.
Refactoring code to make it reusable
The Process Direct adapter can make multiple calls to it self.
With my Fibonacci example it was able to calculate F(20), but it was
affecting the CPU usage.
So support many levels of concurrent calls.
Careful about running them in parallel.
https://www.cpicourse.com/blog/25934-calculating-fibonacci-
numbers-with-cpi
Process Direct
You have option to set
● Message Id
● Correlation Id (need to be set in HTTP Header)
● Sender/Receiver (can contain extra
information)
● Application Id (ie order number)
For details see
https://www.cpicourse.com/blog/25929-how-to-
search-for-messages-in-sap-cpi
Monitoring finding messages
The monitor enable you to search for CorrelationId, ApplicationId and
Message ID.
Difficult to:
● monitor two or more flow
● Get an easy overview of messages
● Assign user roles
Monitor of messages
Version and roll back was added
Difficult to see what was changed, you have to remember it
Can do version comparison between landscapes
Deploy full packages or individual iflows
Documentation of flows
Change Tracking
Enable consum configuration on the landscape
Ensure User/Password artifact names are identical on landscape like
SuccessFactorUser and not SuccessFactorDev,
So only have to change minimal number of values when imported.
Externalized configuration
For schedules jobs that you
want to have the option to
process manually.
1) Timer where you calculate
last run time
2) HTTP/SOAP service that
allow to user to call with
single user
3) Generic process for handling
both processes
Schedules jobs
API management Lessons
Odata handling
Easy to get descriptions of Odata from SAP gateway
Metadata in the Gateway need to follow some principles otherwise
only HEAD method can be called.
There is also some caching that you need to take care of
Can include some extra javascript files. It does have some limitations
and you cannot use node.js files.
There is some build in Hashing algorithms, but no encryption.
Granted I’m no Javascript master so it helps to understand it better.
Javascript
Using Loggly is the easiest for setting up logging.
If you want to try something else it should be a webservice without
encryption
Consider what to log.
Logging
The place to add configuration to apply on runtime
Can also be used to save error messages if not using logging
KeyValue Maps
Same problems as CPI
● Just Zip files you transport
● No version history, so you have to keep backups
● Difficult to see what was changed
● It have a good API for export
Transports
Learn SAP CPI
If you don’t know SAP CPI then check out my course
www.cpicourse.com
Free introduction and a 97 EUR course
● Focus on the most important aspect of understanding CPI and how
to create real integration
● Get some of my script to understand what they are
● SuccessFactors querying of new employees
CPI course
No training system provided by SAP
You can only get access thru your company CPI system
CPI training system
Some limitations with the platform to make operations easier
Tool
Developing CPI is pretty straight forward.
Developing error handling becomes more difficult/time consuming
If you can add a framework around the process you can create an
integration in a shorter period.
Optimize developer productivity
Why an extra tool
● A tool that allow you to run and make integration better
● Automate may processes
● Support both CPI, API Management and PI/PO
Figaf IRT
An online viewer of SAP CPI data
Setup groups of view so users can view multiply iflows at one time
Allow business users to monitor their process
Can search for Sender, Receiver, Application Id, msg and correlation Id
No integration or actions with IRT
Message Monitor
Architecture
Figaf IRT
UI
Odata filter
SAP CPI tenant
DB
Odata service
No data saved in Figaf
Figaf just create an OData query send it to
CPI, using the Figaf CPI user
And send the response back to the user.
Users will only have access to
see the flows they own
Can configure multiple iflows in
one tile
List of different process to view
Easy overview of all data
Download messages and payloads of messages that have a status like
failure or Receiver = Log
Messages saved at Figaf IRT system
Integrated with rules can setup actions like
● Resent
● Send mail to a person
● Create a case on it
Alert monitoring
Architecture alerting
Figaf IRT
Scheduled Agent
Downloads messages
SAP CPI tenant
DB
Odata service
Figaf IRT schedules a job every 5 minute to
download all changes in one filter.
Messages are downloaded to the IRT
database.
Rules is applied on them.
● Saved in Figaf IRT database
● Have context from message
● Error information
● Have payloads
● Information about rule and processing
● Status of how it is processed
Alerts
A rule contains an Xpath to find if the message is relevant
● Have a subject and message/description that will be sent via email
or webhook
○ Can use Xpath to extract payload from message
● Specify email
● Specify webhook to sent to Jira
● Specify if reprocessing is allowed, requires small change to iflow
Rules
Figaf gives you an option to handle restart in a different way
Add script to your flow. This will save the original payload for
processing later.
Support:
● SOAP
● HTTP
● Process Direct
IRT handle that messages are not sent multiple times.
Restarting with Figaf IRT
● Script to save the input input
payload and headers in a
property
● A script to convert the attach
the payload to an MPL
attachment and enable IRT to
log it.
● An Iflow to take HTTP messages
and deliver them to
ProcessDirect
What is required
Resource monitor
© Figaf 2019
Trigger alerts if CPU load is above 80%
Trigger alerts if Latency is above 3000ms
Trigger alerts if you cannot call an iflow
Same alerts as with other resources
Monitor resource consumption
System load
The speed of integration
development include changes
management
IRT Transporting
Improve your SAP CPI life
© Figaf 2019
DevOps is a set of software development practices
that aim to shorten the systems development life
cycle while delivering features, fixes, and updates
frequently in close alignment with business
objectives
wikipedia
“DevOps”
Track what object is being changed
● Is it a part of the BPMN model
● Is it scripts or mappings
● Is it configuration which is changed
Understanding what is changed
Make a service request in the IRT tool,
that allow you to link the changes to the
reason.
User can assign changes in iFlows to it
Register changes with business reason
With the build in testing tool you are able to test the modification you
make does not affect anything unexpected.
You can document what test you have run and the result of them.
Test the changes
Configure an iflow once and then let IRT handle configuration in the
landscape once importing the change
Iflow configuration in the landscape
Be able to import changes into
target system
Figaf will import the object into
the target system
Then configuration will be
applied
Transport individual
Same transport method for API Mgt
Understand which areas are affected
Also have option to log failed messages and trigger alerts
API management
Signup Figaf IRT Cloud
figaf.com/IRTCloud
Getting started session
support@figaf.com
Packages and pricing
You can run IRT on your local/cloud server
We also have container deployment options
Test both CPI and PI/PO
Server solutions also possible
Roadmap
Missing message monitor
Documentation of Iflow
Load testing
SAP PI transport management with CTS+
What you do you see an relevant
Q and A
figaf.com/IRTCloud

Más contenido relacionado

La actualidad más candente

SAP HANA Migration Deck.pptx
SAP HANA Migration Deck.pptxSAP HANA Migration Deck.pptx
SAP HANA Migration Deck.pptx
SingbBablu
 
Take the Next Step to S/4HANA with "RISE with SAP"
Take the Next Step to S/4HANA with "RISE with SAP"Take the Next Step to S/4HANA with "RISE with SAP"
Take the Next Step to S/4HANA with "RISE with SAP"
panayaofficial
 

La actualidad más candente (20)

Sap Analytics Cloud
Sap Analytics CloudSap Analytics Cloud
Sap Analytics Cloud
 
Sap fiori tutorial
Sap fiori tutorialSap fiori tutorial
Sap fiori tutorial
 
SAP Fiori ppt
SAP Fiori pptSAP Fiori ppt
SAP Fiori ppt
 
SAP HANA Migration Deck.pptx
SAP HANA Migration Deck.pptxSAP HANA Migration Deck.pptx
SAP HANA Migration Deck.pptx
 
Upload images in to sap hana
Upload images in to sap hanaUpload images in to sap hana
Upload images in to sap hana
 
SAP Cloud Platform Integration Services – L1 Deck
SAP Cloud Platform Integration Services – L1 DeckSAP Cloud Platform Integration Services – L1 Deck
SAP Cloud Platform Integration Services – L1 Deck
 
RISE PCE CAA Migration Options_wave4.pdf
RISE PCE CAA Migration Options_wave4.pdfRISE PCE CAA Migration Options_wave4.pdf
RISE PCE CAA Migration Options_wave4.pdf
 
SAP PI PO
SAP PI POSAP PI PO
SAP PI PO
 
SAP S/4HANA: Everything you need to know for a successul implementation
SAP S/4HANA: Everything you need to know for a successul implementationSAP S/4HANA: Everything you need to know for a successul implementation
SAP S/4HANA: Everything you need to know for a successul implementation
 
SAP S4HANA : Learn From Our Implementation Journey
SAP S4HANA : Learn From Our Implementation JourneySAP S4HANA : Learn From Our Implementation Journey
SAP S4HANA : Learn From Our Implementation Journey
 
Moving to SAP S/4HANA
Moving to SAP S/4HANAMoving to SAP S/4HANA
Moving to SAP S/4HANA
 
Take the Next Step to S/4HANA with "RISE with SAP"
Take the Next Step to S/4HANA with "RISE with SAP"Take the Next Step to S/4HANA with "RISE with SAP"
Take the Next Step to S/4HANA with "RISE with SAP"
 
Sap Process Integration
Sap Process Integration Sap Process Integration
Sap Process Integration
 
SAP PI/PO FAQ’s
SAP PI/PO FAQ’sSAP PI/PO FAQ’s
SAP PI/PO FAQ’s
 
Sap activate overview
Sap activate overviewSap activate overview
Sap activate overview
 
Getting started with SAP PI/PO an overview presentation
Getting started with SAP PI/PO an overview presentationGetting started with SAP PI/PO an overview presentation
Getting started with SAP PI/PO an overview presentation
 
Introduction Into SAP Fiori
Introduction Into SAP FioriIntroduction Into SAP Fiori
Introduction Into SAP Fiori
 
Expanding the capabilities of SAC with App Design
Expanding the capabilities of SAC with App DesignExpanding the capabilities of SAC with App Design
Expanding the capabilities of SAC with App Design
 
Sap s 4 hana client strategy
Sap s 4 hana client strategySap s 4 hana client strategy
Sap s 4 hana client strategy
 
How to do a SAP PI/PO Migration 2019
How to do a SAP PI/PO Migration 2019 How to do a SAP PI/PO Migration 2019
How to do a SAP PI/PO Migration 2019
 

Similar a Lessons learned during SAP CPI and API mgt projects

Similar a Lessons learned during SAP CPI and API mgt projects (20)

How automate your SAP PI/PO/CPI and API management processes
How automate your SAP PI/PO/CPI and API management processesHow automate your SAP PI/PO/CPI and API management processes
How automate your SAP PI/PO/CPI and API management processes
 
How figaf help your business with SAP PI/PO/CPI
How figaf help your business with SAP PI/PO/CPIHow figaf help your business with SAP PI/PO/CPI
How figaf help your business with SAP PI/PO/CPI
 
Why Test SAP PI/PO after any upgrade
Why Test SAP PI/PO after any upgradeWhy Test SAP PI/PO after any upgrade
Why Test SAP PI/PO after any upgrade
 
Testing SAP PI/PO systems Full version
Testing SAP PI/PO systems Full versionTesting SAP PI/PO systems Full version
Testing SAP PI/PO systems Full version
 
Testing SAP PI/PO Interfaces the easy way
Testing SAP PI/PO Interfaces the easy wayTesting SAP PI/PO Interfaces the easy way
Testing SAP PI/PO Interfaces the easy way
 
Key takeaways for SAP PI Integration 2018
Key takeaways for SAP PI Integration 2018Key takeaways for SAP PI Integration 2018
Key takeaways for SAP PI Integration 2018
 
Figaf irt testing webinar 201903
Figaf irt testing webinar 201903Figaf irt testing webinar 201903
Figaf irt testing webinar 201903
 
How to go about your SAP Integration 2019, SAP PI, and cloud
How to go about your SAP Integration 2019, SAP PI, and cloudHow to go about your SAP Integration 2019, SAP PI, and cloud
How to go about your SAP Integration 2019, SAP PI, and cloud
 
Simplify your SAP CPI development with Figaf
Simplify your SAP CPI development with FigafSimplify your SAP CPI development with Figaf
Simplify your SAP CPI development with Figaf
 
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
 
Why your SAP PI/PO system should be updated
Why your SAP PI/PO system should be updatedWhy your SAP PI/PO system should be updated
Why your SAP PI/PO system should be updated
 
MuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
MuleSoft Surat Meetup#39 - Pragmatic API Led ConnectivityMuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
MuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
 
IBM Cloud University 2017-IDPA009-IBM BPM Upgrade and Migration Made Easy
IBM Cloud University 2017-IDPA009-IBM BPM Upgrade and Migration Made EasyIBM Cloud University 2017-IDPA009-IBM BPM Upgrade and Migration Made Easy
IBM Cloud University 2017-IDPA009-IBM BPM Upgrade and Migration Made Easy
 
Figaf IRT for SAP CPI
Figaf IRT for SAP CPIFigaf IRT for SAP CPI
Figaf IRT for SAP CPI
 
3158 - Cloud Infrastructure & It Optimization - Application Performance Manag...
3158 - Cloud Infrastructure & It Optimization - Application Performance Manag...3158 - Cloud Infrastructure & It Optimization - Application Performance Manag...
3158 - Cloud Infrastructure & It Optimization - Application Performance Manag...
 
API Governance and GitOps in Hybrid Integration Platform (MuleSoft)
API Governance and GitOps in Hybrid Integration Platform (MuleSoft)API Governance and GitOps in Hybrid Integration Platform (MuleSoft)
API Governance and GitOps in Hybrid Integration Platform (MuleSoft)
 
Abap for sd consultatnt
Abap for sd consultatntAbap for sd consultatnt
Abap for sd consultatnt
 
Bte
BteBte
Bte
 
Bte
BteBte
Bte
 
Figaf pi auto migration 20191024 webinar
Figaf pi auto migration 20191024 webinarFigaf pi auto migration 20191024 webinar
Figaf pi auto migration 20191024 webinar
 

Más de Daniel Graversen

Más de Daniel Graversen (16)

Automate SAP PI/PO Migration
Automate SAP PI/PO Migration Automate SAP PI/PO Migration
Automate SAP PI/PO Migration
 
How to build a businesscase for testing SAP PI/PO
How to build a businesscase for testing SAP PI/POHow to build a businesscase for testing SAP PI/PO
How to build a businesscase for testing SAP PI/PO
 
Sap open connectors #sitcph
Sap open connectors #sitcphSap open connectors #sitcph
Sap open connectors #sitcph
 
How to speed up your SAP PI/CPI development
How to speed up your SAP PI/CPI developmentHow to speed up your SAP PI/CPI development
How to speed up your SAP PI/CPI development
 
The current state of SAP Integration, SAPPHIRENOW 2018
The current state of SAP Integration, SAPPHIRENOW 2018The current state of SAP Integration, SAPPHIRENOW 2018
The current state of SAP Integration, SAPPHIRENOW 2018
 
IFG for SAP Integration, webinar on Automated Testing
IFG for SAP Integration, webinar on Automated TestingIFG for SAP Integration, webinar on Automated Testing
IFG for SAP Integration, webinar on Automated Testing
 
Anadarko Testing SAP PI/PO
Anadarko Testing SAP PI/POAnadarko Testing SAP PI/PO
Anadarko Testing SAP PI/PO
 
Figaf SOT SAP PI/PO support tool
Figaf SOT SAP PI/PO support toolFigaf SOT SAP PI/PO support tool
Figaf SOT SAP PI/PO support tool
 
Whitepaper: How to perform better test on SAP PI/PO
Whitepaper: How to perform better test on SAP PI/POWhitepaper: How to perform better test on SAP PI/PO
Whitepaper: How to perform better test on SAP PI/PO
 
SAP Integration for non developers Teched 2017
SAP Integration for non developers Teched 2017 SAP Integration for non developers Teched 2017
SAP Integration for non developers Teched 2017
 
SAP Teched for Integration takeaway 2017
SAP Teched for Integration takeaway 2017SAP Teched for Integration takeaway 2017
SAP Teched for Integration takeaway 2017
 
C4C integration with SAP PI/PO
C4C integration with SAP PI/POC4C integration with SAP PI/PO
C4C integration with SAP PI/PO
 
7 steps to migrate from SAP PI to PO/PRO
7 steps to migrate from SAP PI to PO/PRO7 steps to migrate from SAP PI to PO/PRO
7 steps to migrate from SAP PI to PO/PRO
 
Buildinig a business case for test SAP PI/PO interfaces
Buildinig a business case for test SAP PI/PO interfacesBuildinig a business case for test SAP PI/PO interfaces
Buildinig a business case for test SAP PI/PO interfaces
 
SAP Teched 2016 best practive BPMN development
SAP Teched 2016 best practive BPMN developmentSAP Teched 2016 best practive BPMN development
SAP Teched 2016 best practive BPMN development
 
SAP B2B Add-on vs Seeburger
SAP B2B Add-on vs SeeburgerSAP B2B Add-on vs Seeburger
SAP B2B Add-on vs Seeburger
 

Último

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 

Último (20)

call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 

Lessons learned during SAP CPI and API mgt projects

  • 1. Figaf Integration Regression Tool™ April 2019 Lessons learned for CPI project © Figaf 2019
  • 2. • 15+ years as integration developer with SAP • SAP Mentor • Father Daniel Graversen
  • 3. CPI lessons API Management Lessons CPI course Tools for improving the process Agenda
  • 5. The agility compared to PI makes it a lot different. In PI you need to know full process to see if you should include BPM in the process In CPI you can add extra steps to it in the process easy Lower estimates for processes Flexibility
  • 6. If code is duplicated then it make sense to refactor. Delete the code and configuration from the old flow. Process Direct Adapter allow good using of functions. Make common used functions to use in your project and organisation. Refactoring code to make it reusable
  • 7. The Process Direct adapter can make multiple calls to it self. With my Fibonacci example it was able to calculate F(20), but it was affecting the CPU usage. So support many levels of concurrent calls. Careful about running them in parallel. https://www.cpicourse.com/blog/25934-calculating-fibonacci- numbers-with-cpi Process Direct
  • 8. You have option to set ● Message Id ● Correlation Id (need to be set in HTTP Header) ● Sender/Receiver (can contain extra information) ● Application Id (ie order number) For details see https://www.cpicourse.com/blog/25929-how-to- search-for-messages-in-sap-cpi Monitoring finding messages
  • 9. The monitor enable you to search for CorrelationId, ApplicationId and Message ID. Difficult to: ● monitor two or more flow ● Get an easy overview of messages ● Assign user roles Monitor of messages
  • 10. Version and roll back was added Difficult to see what was changed, you have to remember it Can do version comparison between landscapes Deploy full packages or individual iflows Documentation of flows Change Tracking
  • 11. Enable consum configuration on the landscape Ensure User/Password artifact names are identical on landscape like SuccessFactorUser and not SuccessFactorDev, So only have to change minimal number of values when imported. Externalized configuration
  • 12. For schedules jobs that you want to have the option to process manually. 1) Timer where you calculate last run time 2) HTTP/SOAP service that allow to user to call with single user 3) Generic process for handling both processes Schedules jobs
  • 14. Odata handling Easy to get descriptions of Odata from SAP gateway Metadata in the Gateway need to follow some principles otherwise only HEAD method can be called. There is also some caching that you need to take care of
  • 15. Can include some extra javascript files. It does have some limitations and you cannot use node.js files. There is some build in Hashing algorithms, but no encryption. Granted I’m no Javascript master so it helps to understand it better. Javascript
  • 16. Using Loggly is the easiest for setting up logging. If you want to try something else it should be a webservice without encryption Consider what to log. Logging
  • 17. The place to add configuration to apply on runtime Can also be used to save error messages if not using logging KeyValue Maps
  • 18. Same problems as CPI ● Just Zip files you transport ● No version history, so you have to keep backups ● Difficult to see what was changed ● It have a good API for export Transports
  • 20. If you don’t know SAP CPI then check out my course www.cpicourse.com Free introduction and a 97 EUR course ● Focus on the most important aspect of understanding CPI and how to create real integration ● Get some of my script to understand what they are ● SuccessFactors querying of new employees CPI course
  • 21. No training system provided by SAP You can only get access thru your company CPI system CPI training system
  • 22. Some limitations with the platform to make operations easier Tool
  • 23. Developing CPI is pretty straight forward. Developing error handling becomes more difficult/time consuming If you can add a framework around the process you can create an integration in a shorter period. Optimize developer productivity Why an extra tool
  • 24. ● A tool that allow you to run and make integration better ● Automate may processes ● Support both CPI, API Management and PI/PO Figaf IRT
  • 25. An online viewer of SAP CPI data Setup groups of view so users can view multiply iflows at one time Allow business users to monitor their process Can search for Sender, Receiver, Application Id, msg and correlation Id No integration or actions with IRT Message Monitor
  • 26. Architecture Figaf IRT UI Odata filter SAP CPI tenant DB Odata service No data saved in Figaf Figaf just create an OData query send it to CPI, using the Figaf CPI user And send the response back to the user.
  • 27. Users will only have access to see the flows they own Can configure multiple iflows in one tile List of different process to view
  • 28. Easy overview of all data
  • 29. Download messages and payloads of messages that have a status like failure or Receiver = Log Messages saved at Figaf IRT system Integrated with rules can setup actions like ● Resent ● Send mail to a person ● Create a case on it Alert monitoring
  • 30. Architecture alerting Figaf IRT Scheduled Agent Downloads messages SAP CPI tenant DB Odata service Figaf IRT schedules a job every 5 minute to download all changes in one filter. Messages are downloaded to the IRT database. Rules is applied on them.
  • 31. ● Saved in Figaf IRT database ● Have context from message ● Error information ● Have payloads ● Information about rule and processing ● Status of how it is processed Alerts
  • 32. A rule contains an Xpath to find if the message is relevant ● Have a subject and message/description that will be sent via email or webhook ○ Can use Xpath to extract payload from message ● Specify email ● Specify webhook to sent to Jira ● Specify if reprocessing is allowed, requires small change to iflow Rules
  • 33. Figaf gives you an option to handle restart in a different way Add script to your flow. This will save the original payload for processing later. Support: ● SOAP ● HTTP ● Process Direct IRT handle that messages are not sent multiple times. Restarting with Figaf IRT
  • 34. ● Script to save the input input payload and headers in a property ● A script to convert the attach the payload to an MPL attachment and enable IRT to log it. ● An Iflow to take HTTP messages and deliver them to ProcessDirect What is required
  • 36. Trigger alerts if CPU load is above 80% Trigger alerts if Latency is above 3000ms Trigger alerts if you cannot call an iflow Same alerts as with other resources Monitor resource consumption
  • 38. The speed of integration development include changes management
  • 39. IRT Transporting Improve your SAP CPI life © Figaf 2019
  • 40. DevOps is a set of software development practices that aim to shorten the systems development life cycle while delivering features, fixes, and updates frequently in close alignment with business objectives wikipedia “DevOps”
  • 41. Track what object is being changed ● Is it a part of the BPMN model ● Is it scripts or mappings ● Is it configuration which is changed Understanding what is changed
  • 42. Make a service request in the IRT tool, that allow you to link the changes to the reason. User can assign changes in iFlows to it Register changes with business reason
  • 43. With the build in testing tool you are able to test the modification you make does not affect anything unexpected. You can document what test you have run and the result of them. Test the changes
  • 44. Configure an iflow once and then let IRT handle configuration in the landscape once importing the change Iflow configuration in the landscape
  • 45. Be able to import changes into target system Figaf will import the object into the target system Then configuration will be applied Transport individual
  • 46. Same transport method for API Mgt Understand which areas are affected Also have option to log failed messages and trigger alerts API management
  • 47. Signup Figaf IRT Cloud figaf.com/IRTCloud Getting started session support@figaf.com
  • 49. You can run IRT on your local/cloud server We also have container deployment options Test both CPI and PI/PO Server solutions also possible
  • 50. Roadmap Missing message monitor Documentation of Iflow Load testing SAP PI transport management with CTS+ What you do you see an relevant