0% found this document useful (0 votes)
296 views5 pages

Timer in SAP PI - PO

The document provides a guide on how to check for BPM capability in SAP PI/PO, detailing steps to verify BPM components in the Enterprise Services Repository (ESR) and confirming BPM activation through NWA. It also outlines workarounds for implementing a delay in message delivery to a receiver without BPM, suggesting options like using an intermediate file system or JMS queue for delayed messaging. The document advises against using Thread.sleep() in mappings due to potential performance issues.

Uploaded by

hoo aam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
296 views5 pages

Timer in SAP PI - PO

The document provides a guide on how to check for BPM capability in SAP PI/PO, detailing steps to verify BPM components in the Enterprise Services Repository (ESR) and confirming BPM activation through NWA. It also outlines workarounds for implementing a delay in message delivery to a receiver without BPM, suggesting options like using an intermediate file system or JMS queue for delayed messaging. The document advises against using Thread.sleep() in mappings due to potential performance issues.

Uploaded by

hoo aam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

7/16/25, 11:34 AM Timer in SAP PI/PO

✅ How to Check for BPM Capability in ESR


🔎 Step 1: Open ESR (Enterprise Services Repository)
1. Open the Enterprise Services Builder (ESR) from your SAP PI/PO system.

2. Expand the Software Component Version (SWCV) tree.

3. Look for any components related to:

Process Components

or structures named like:

Process Component Model

Process Integration Scenario

Abstract Interface related to processes

🔎 Step 2: Check for Process Integration Patterns


If you see options to define a Process Component or model Process Integration
Scenarios, and use "Process Component View" in modeling — it’s a strong sign BPM
is enabled.

https://chatgpt.com/c/6870df57-de08-8006-b2c5-45f7a2bab6f2 1/5
7/16/25, 11:34 AM Timer in SAP PI/PO

🔎 Step 3: Check if Operation Mappings or Message Interfaces are Marked for


Processes

Look for any artifacts that are labeled with:

Abstract Interface (used in BPM)

Interface Pattern: Stateless/Stateful

Process Orchestration specific indicators

🔥 If You Don’t See Any of This:


It likely means BPM is not active in your system or not licensed/deployed.

✅ 100% Confirmation Needs NWA


For definitive confirmation, still best to:

Check NWA as explained earlier ( com.sap.bpm.* components).

Or run this diagnostic URL (replace host:port ):

http://<host>:<port>/bpm/workflow

If that URL works and opens a workflow inbox, BPM is running.

https://chatgpt.com/c/6870df57-de08-8006-b2c5-45f7a2bab6f2 2/5
7/16/25, 11:34 AM Timer in SAP PI/PO

Want to share a screenshot of what you see in ESR? I can help confirm.

ok no bpm

Got it — no BPM available. So to implement a delay before one of your receivers gets the
message, here are your best options in a non-BPM SAP PI/PO setup:

✅ Goal Recap
You want:

1 sender

2 receivers

Delay message going to Receiver B by ~10 seconds.

🔁 Recommended Workaround: Split + Async Delay Flow


🧩 Architecture:

Sender

https://chatgpt.com/c/6870df57-de08-8006-b2c5-45f7a2bab6f2 3/5
7/16/25, 11:34 AM Timer in SAP PI/PO

ICO 1 → Receiver A (immediate)


→ Receiver B (via file/JMS + delay mechanism)

🛠️ Implementation Options for Receiver B


✅ Option 1: Intermediate File System + Scheduled Polling
1. Route message for Receiver B to a file receiver.

2. In a second file sender adapter, poll this file directory with a delay (e.g., polling
interval = 10 seconds).

3. Send the message to Receiver B.

✅ Simple
✅ No coding
⚠️ Slight delay control inaccuracy (polling interval-based)

✅ Option 2: JMS Queue + Delayed Trigger


1. Message for Receiver B goes to a JMS receiver channel.

2. Use a JMS sender channel configured with Scheduled Polling or trigger rules (e.g.,
with delay).

3. Then forward it to Receiver B.

https://chatgpt.com/c/6870df57-de08-8006-b2c5-45f7a2bab6f2 4/5
7/16/25, 11:34 AM Timer in SAP PI/PO

✅ More controlled than file


✅ Good for async messaging
⚠️ Needs JMS setup and configuration

🚫 Avoid: Thread.sleep() in Mapping or UDF

As discussed earlier, this will block threads and can harm system performance.

Only okay for temporary PoC with extremely low volume.

✅ Recommended: File-Based Delay (if you want easiest setup)


ICO 1:

Sender → Message Split (2 receivers)

Receiver A → direct

Receiver B → File Receiver Channel (e.g., /tmp/hold/ )

ICO 2:

File Sender Channel (from /tmp/hold/ , polling every 10s)


→ Receiver B

https://chatgpt.com/c/6870df57-de08-8006-b2c5-45f7a2bab6f2 5/5

You might also like