on 11-30-2007 3:46 AM
Hi All,
My scenario is :
1. SAP (sender ) sends file name to BPM(e.g myfile1.txt)
2.BPM sends the same file name (e.g myfile1.txt) to a HTTP reciever.
3.Http receiver then responses with a file(around 30mb size of file)
4.Then the file can be send to a file system
I need to save the file in the file system with the same file name (e.g:myfile1.txt) which is requested in http request(e.g myfile1.txt). How can configure file adapter to achive this?
Regards,
Praveen
hi praveen,
for getting the same file name u need to set adapter specific message attributes.
for setting at file adapter refer my article:
for http adapter refer:
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
[reward if helpful]
regards,
latika.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen,
BY using the option of Variable subtitution in Receiver File Adapter CC, you can achieve this with the refrence of your paylaod and message.If the file name holding in the payload you can give the refrence of your structure which field is exactly holding the file name value.
refer the following weblogs , how to use the Variable subtitution
/people/sameer.shadab/blog/2005/09/23/an-interesting-usage-of-variable-substitution-in-xi
/people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12
Hope it will give an idea to get the same filename which is coming from HTTP response.
Cheers
Veera
>>>Reward points, if it is needful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
My scenario is :
1. SAP (sender ) sends file name to BPM(e.g myfile1.txt)
2.BPM sends the same file name (e.g myfile1.txt) to a HTTP reciever.
3.Http receiver then responses with a file(around 30mb size of file)
4.Then the file can be send to a file system
I need to save the file in the file system with the same file name (e.g:myfile1.txt) which is requested in http request(e.g myfile1.txt). How can I configure the receiver file adapter to achive this? Here there is no transformation step (hence no interface determination ,hence no message mapping between the http response to file interface) to define the dynamic file name.Bcoz no mapping possible between the sync and async messages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Praveen,
Check this blog whether it could be a help.
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
regards
Ramesh P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.