on 07-10-2008 7:27 AM
Hello All,
Following is the scenario.I have a source file and two target receivers.I need to access the Parent Message ID.I am using following code in an UDF.
*************************
String headerField;
java.util.Map map;
// get runtime constant map
map = container.getTransformationParameters();
// get value of header field by using variable key
headerField = (String) map.get("MessageId");
return headerField;
**********************************
But it is returning the message id for the second receivers.
Any suggestions would be of gr8 help
You are using two different mappings? and did you used this UDF in Second Mapping Programe?
Thanks
Farooq.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check the description of MessageId.
MESSAGE_ID
The message ID. It can change during communication. Response messages get a new message ID.
If new messages result from a message (the message is copied at multiple receivers), the new messages get new message IDs.
Reffer this link : http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.