on 05-26-2008 7:26 AM
hello
Is there any function can output the message ID via message mapping?
Brand
Use this to acess the Message Id
http://help.sap.com/saphelp_nw04/helpdata/en/b3/9a2aeb24dc4ab6b1855c99157529e4/content.htm
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi brand,
1)and this code absolutely works fine...
<code>
java.util.Map map = container.getTransformationParameters();
String msgid = (String) map.get ( StreamTransformationConstants.MESSAGE_ID);
return msgid;
</code>
or
2) to retrieve your MessageID using BPM
1) Go to your BPM. Create a new Containervariable (simple type)
2) Insert a new Container Operation in your BPM.
3) In target: select your container variable (simple type) that u have created in step1.
Operation: Assign
Expression : In the expression editor, choose interface variable (radio button)> then choose context object (radio button)> then the 6th Value in the drop down combo is your MessageID.
Then to access this value in your message mapping directly.
Refer to: /people/michal.krawczyk2/blog/2005/03/04/globalcontainer--in-graphical-mapping-xi to access the contier variables in message mapping.
Note: reward points if solution found helpfull
Regards
Chandrakanth.k
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
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.