on 06-05-2014 10:04 AM
Dear Experts,
Scenario : WebsphereMQ --> (JMS)SAP PI 7.4(IDOC) --> SAP ERP &&&
SAP ERP IDOC Ack --> (IDOC)SAP PI 7.4(JMS) --> WebsphereMQ
As per the flow, i am required to read MessageID from Websphere through SAP PI and send it back through acknowledgement. Would like to know how to read MessageID in SAP PI ? Is JMS adapter supporting ? Can you advise me.
Deva
Hi Deva
Ask the web sphere team to include the JMS message id in the message header. Then in the sender JMS adapter select the following option
Then the JMS message id will be present in the PI message header. You can write a simple UDF to read that value from the PI message header in the same way we read file name.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deva
You can get MessageID in UDF
String MSGID;
MSGID=(String)(container.getTransformationParameters()).get(StreamTransformationConstants.MESSAGE_ID);
return MSGID;
regards, Mikhail
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.