cancel
Showing results for 
Search instead for 
Did you mean: 

Persistence doubt

Former Member
0 Kudos

Hi,

How many stages messages will be persisted when message is processed in PI?

will the message get persisted in each component? AE,IE,BPE.

say message flow happens in dual stack like below

AE-->IE-->BPE-->AE

is there any way to turn on or turn off persistence settings? Please suggest.

Accepted Solutions (1)

Accepted Solutions (1)

nabendu_sen
Active Contributor
0 Kudos

Check all the parts:

"Looking at archiving and deletion in PI the following XI specific runtime items have to be considered: 

  • XML messages and history entries in the ABAP Integration Engine
  • XML messages in the Java Adapter Framework
  • Workitems in the Business Process Engine (BPE)
  • Performance data collected in the Integration Engine"

You will have clear idea.

Also: Changing the Persistence of messages in javaStack in PI - BPX Community Project - SCN Wiki

To understand Message Flow in PI:

Regards,

Nabendu.

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks Nabendu and Eng. it is really helpful.

for AAE, will be it one time or two times of persistence?

( i assume it will be 2 times, sender adapter and receiver adapter)

engswee
Active Contributor
0 Kudos

Hi Ram

For AAE using ICO scenarios, it will just be 1 time based on default setting. It's not dependent on sender or receiver channel. It depends on the message staging and logging setting (whether global or scenario specific). Refer to the link Nabendu mentioned above.

Rgds

Eng Swee

Former Member
0 Kudos

Thanks. one time is component perspective? AE

As per below link, messages will be stored in each step. does it mean for asyn message, it will have 5 copies(versions) of message in the DB?

how to refer here, persistence is 1 or 5? throw some light

Saving Message Versions in the AAE (Local Message Processing) - Advanced Adapter Engine - SAP Librar...

Processing Step

Description

Message preparation (parameter BI)

After sender adapter processing, the message is handed over to the messaging system and prepared for further processing.

Inbound XML validation (parameter VI)

The inbound message is validated against a schema.

Receiver and interface determination (parameter MS)

The receivers of the messages and the inbound interfaces are evaluated based on the configuration settings in the corresponding integrated configuration in Integration Directory.

Mapping (parameter AM)

The mapping is performed based on the configuration settings in the corresponding integrated configuration in Integration Directory.

Outbound XML validation (parameter VO)

The outbound message is validated against a schema.

engswee
Active Contributor
0 Kudos

Hi Ram

Default is one. Unless you change either the global setting of the specific setting in the ICO. So if you set something other than None, it will persist more than 1 time (unless you use the "on error" types which will only persist additional if there are errors).

I recommend that you read the following blog, it should help you understand more.

Rgds

Eng Swee

engswee
Active Contributor
0 Kudos

Hi Ram

Yes, the message will be persisted at each component - AE, IE and BPE.

For classical scenario (dual stack) it will be twice for AE and 3 times (based on default IE setting) for IE.

See Q1 of the following note.

http://service.sap.com/sap/support/notes/1760915

For AE and IE, these are the minimum and I don't think you can reduce it. You can however increase it for IE if you set the RUNTIME->LOGGING parameter in SXMB_ADM.

For BPE, persistence is even more and depends on the complexity of the ccBPM model. As a minimum, there will be 4 copies of the message - refer "Resource Consumption" section of the following site.

Checklist: Making Correct Use of Integration Processes - Checklists for Integration Processes - SAP ...

Rgds

Eng Swee