on 08-15-2007 2:53 PM
Hello
I have a scenario that gets a xml file from mail adapter and sends to a file adapter.
I only use ID on my scenario, as described on blog (/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository).
How can I rename the directory of the destination file WITHOUT using any mapping on IR (because I DONT use IR) ?
I want the destination directory to be as /tmp/(today'syear)/(month)/
I already read the SAP documentation about File Adapter but I wasn't able get a solution.
Thanks
Hi victor,
Use Command line option available in receiver communication channel.
U can create one executable file based on the OS u r using. Inside that file u can write whtever u want like detination directory and adding timestamp etc..
I think this will solve ur problem.
Thanx,
Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If that is the case then you need to change the file name in FILE RECEIVER CC by implementing the Module .
the following links may be help you.
http://help.sap.com/saphelp_nw04/helpdata/en/17/50d440e14f8431e10000000a1550b0/frameset.htm
/people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules
https://websmp108.sap-ag.de/~sapdownload/011000358700003237612005E/HowToCreateAdapterModules.pdf
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/03612cdecc6e76e10000000a422035/content.htm
https://weblogs.sdn.sap.com/pub/wlg/3823 [original link is broken] [original link is broken] [original link is broken]
/people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter
/people/william.li/blog/2006/08/28/teched-2006-epi350--developing-and-testing-adapter-modules-in-sap-netweaver-exchange-infrastructure
Warm Regards,
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vitor,
I won't think so without Dynamic Configuration its possible!! We can't get Current year and date directly in comm.channel if you go for variable substitution. Also If you want to use Dynamic Configuration then u must use Message mapping.
See which is feasible for u , and let us know so that we can suggest further.
Best regards,
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The only thing you have to do is to change the directory name in the FILE RECEIVER CC.
Regards,
Jakub
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
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.