on 10-09-2007 12:47 AM
Hi there,
I'm wondering if it's possible to condition the fieldname based on a payload "flag", like a simple "if flag = 1 then filename it's 'flat.txt', else filename it's 'nested.txt'." where flag is part of the payload and can be mapped to the target message...
I was looking for some adapter-specific attributes but it seems that this only applies for the SOAP message, not over the payload.
So i was thinking about java stack, like using global containers or something but i don't know how to access them using the ASMA bean or something like that, but i don't have any documentation how to do it, so if you can advise which will be the best way to achieve that, it will be great...
Points rewarded if useful...
Thanks folks.
You can do it by using adapter specific attributes as mentioned in blog
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
You can write a UDF as mentioned by this blog, passing the flag to this UDF
Inside UDF you can check flag value and accordingly set the filename in dynamic configuration
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use of ASMA would be enough. See this
/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
http://help.sap.com/saphelp_nw70/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.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.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.