Splunk AppDynamics

How to monitor SAP PI/PO transactions

Oscar_Martinez
New Member

Hi team.

We  are implementing appDynamics in order to monitor end to end transactions in SAP PI/PO (Process Integration/Process Orchestration NW 7.5).

The scenario is: Source System->SAP PI/PO->target system.

We would like to know which classes and methods have to be set in order to extract messages and processing times for specific interfaces, where an interface is an end to end configuration in SAP PI/PO because there can be several of them (more than 500 for our case).

SAP PI/PO has a lot of out-of-the-box classes wich are internally invoked at  runtime and we are not clear how if this requerement can be done with appDynamics.

Thank you in advance.
Oscar

0 Karma
1 Solution

Silvia_Moreno
Engager

Hola Oscar! I'm the SAP Practice Lead at AppDynamics, which means I help implement SAP monitoring at many customers. Let me share with you my PO transaction rule:

We create a transaction detection rule of the type Servlet, but we split it by the POJO class and method. In most implementations we can extract the interface name from the Action parameter, but we might need to trim it.

Type: Servlet

HTTP Request Match Criteria: URI is not empty

Split Transactions using payload:

  • Split mechanism: POJO Method Call
  • Class name: com.sap.aii.af.app.modules.CallAdapterWithMessageBean
  • Method name: process_sender
  • Number of arguments: 3
  • Argument Index: 2
  • Getter chain: getAction().toString() (trim if necessary)

This will give you Business transactions split by the interface (action parameter). If you would like more good practices, reach out to your appd representative and ask for some consultant hours 🙂
Cheers,

Silvia Moreno

View solution in original post

Silvia_Moreno
Engager

Hola Oscar! I'm the SAP Practice Lead at AppDynamics, which means I help implement SAP monitoring at many customers. Let me share with you my PO transaction rule:

We create a transaction detection rule of the type Servlet, but we split it by the POJO class and method. In most implementations we can extract the interface name from the Action parameter, but we might need to trim it.

Type: Servlet

HTTP Request Match Criteria: URI is not empty

Split Transactions using payload:

  • Split mechanism: POJO Method Call
  • Class name: com.sap.aii.af.app.modules.CallAdapterWithMessageBean
  • Method name: process_sender
  • Number of arguments: 3
  • Argument Index: 2
  • Getter chain: getAction().toString() (trim if necessary)

This will give you Business transactions split by the interface (action parameter). If you would like more good practices, reach out to your appd representative and ask for some consultant hours 🙂
Cheers,

Silvia Moreno

Oscar_Martinez
New Member

Hi @Silvia.Moreno 
Thank you for that information. It is the direction where we are going.
1. To collect data for specific interfaces. We have more than 500 interfaces but we want to collect data for an specific business process and only 5-10 interfaces are involved so the other ones are not relevant at this moment.
2. For those specific interfaces to get the XML payload in order to extract some fields to correlate the message with other ones outside of SAP PI/PO.

I have not seen documentation for those use cases so let me check the way to ask for consultation as you mentioned. 

Oscar!


0 Karma

Silvia_Moreno
Engager

Hi @Oscar.Martinez,

The rule I provided will indeed split the transactions by the 500 interfaces. To keep only the important ones you have 2 options:
- Add a filter in the Servlet rule to collect only the 5-10 - might be hard to create such rule
- Manually exclude the ones that are not interesting in the Business Transaction list, keeping only the important ones.
2. You should already see PI/PO data collectors in the snapshots > Data collectors. They are retrieved automatically.

Best regards,

Silvia Moreno

Oscar_Martinez
New Member

Hi Ryan.
Thanks for your reply. I have seen those documents but there is not details about how to collect particular data in SAP PI/PO.
There is configuration for a general monitoring but our case is to collect and extract specific messages (XML payloads and processing times) in PI/PO for specific business procesess.

Best regards!

0 Karma

iamryan
Community Manager
Community Manager

Hi @Oscar.Martinez,

Thanks for asking your question on the Community. I wanted to share a few AppD Docs pages if you have not seem them yet.

I hope this info helps, let me know.

0 Karma
Get Updates on the Splunk Community!

Announcing the Expansion of the Splunk Academic Alliance Program

The Splunk Community is more than just an online forum — it’s a network of passionate users, administrators, ...

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...