on 10-13-2008 10:57 AM
Hii
I want to process the filename (eg:sample.xml) from the payload of the message.
<Message>
<Method/>
<Source>sample.xml</Source>
<Target/>
</Message>
And use the filename in other scenario.
Regards,
Varun
Hi Varun
Use variable substitution
File name : %FileName%
Enable variable substitution in Receiver File adapter.
Variable name = FileName
Reference = payload:Message,1,Method,1,Source,1
For more info refer
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey,
refer to the Note:819761.
regards,
Milan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If your getting the file name in the payload then you can use variable substitution.
suppose if ur getting as "sample.xml" then remove the ".xml" in the mapping, then you will have only sample in the payload then with Variable substitution we can get the target file name.
Please find the links for further reference.
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
Regards,
Phani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use variable substitution
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 |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
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.