on 06-01-2016 10:54 AM
Hi experts,
There is a change in the message id when I send the message from SAP to another end. Please con someone explain me why this happens? Thanks in advance
Hi Dhivya!
I guess message ID can be changed in case of multiple receivers or in case of message split (1:N mapping).
In such cases PI creates messages with new ID's assigned to it.
In case of multiple receivers you can use DynamicConfigurationBean in Sender channel to store original message ID in the adapter-specific message header which is copied to every new message header.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please look for RefMessgeID or ConversationID. One of that parameters should contain your original message id.
If we talk about receiver channels, it can process messages from different senders using different integration scenarios. In one case channel gets original message with or without transformations, in other - copy of original message. It depends on routing conditions.
Regards, Evgeniy.
To support complex communication procedures as simple request/response mechanisms, the sender is provided with the optional ConversationID tag for each message. All messages with the same ConversationID belong to the same communication procedure or integration process.
RefToMessageID is the MessageID of a previous message that is referenced by the current message. In the case of a synchronous response, RefToMessageID must be set to the message ID of the referenced message.
These tags can be found in XI Message Header.
Parts of an XI Message - SAP NetWeaver Exchange Infrastructure - SAP Library
Regards, Evgeniy.
Hi Raghu,
I need to send the message to another system, there it arrives with a different message id so if we need to search for it using the message id it is not possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dhivya,
In the SAP system landscape, SAP PI and SAP ECC the message-id doesn't change (Parts of an XI Message - SAP NetWeaver Process Integration - SAP Library), right now i have checked several own examples and it works in this way.What is your scenario? and in which kind of system are you checking the message-id?
Regards.
Hello Dhivya,
Message ID will change for each message,This is a normal behaviour as it is a unique identifier for messages.
What do you mean by message ID is changing?for the same message or different one?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.