on 12-10-2009 6:40 AM
hi,
i am using dynamic configuration to put some information in the message header.is it possible to retrieve the message using variable substitution and if it is possible then how it be done using variable substitution.
regards,
Meenakshi
Variable Substitution does not allow you to read all the messaeg header elements only some of them can be read/ access....for more info on how to read the message header elements refer: /people/jin.shin/blog/2007/04/27/sap-netweaver-xi-variable-substitution-with-adapter-specific-message-attributes-via-dynamicconfigurationbean
From the above blog:
When using Variable Substitution, only certain standard message header attributes can be used/accessed (e.g. sender_party,
sender_service, receiver_party, receiver_service, interface_name, interface_namespace, message_id)
Better use Dynamic Configuration to read the parameters.
I am wondering why you need to read the message header parameters when you are putting them using Dynamic Configuration.....cant you just get the details from the dynamic configuration UDF itself?
Regards,
Abhishek.
Edited by: abhishek salvi on Dec 10, 2009 1:18 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Meenakshi,
Using variable substitution you can access messages from payload only not from message header.
If you want to access message from message header..write a small UDF in mapping and transfer that value in a field of target structure. And then you can use variable substitution.
Thanks and regards,
Sandeep Jaiswal
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.