on 10-26-2006 8:08 AM
Hi,
How to Archive the File when the File Adaptor is Receiver?
My scenarios is IDOC TO FILE.
regards,
Ansar.
No standard way via the adapter but then you could write a script or create a batch file (and schedule it) to acheive the functionality.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
1.<i>you can try creating your own adapter module for
that and use it in the file adapter</i>
--- How to write Adapter module and where to write?
2. <i>Add Timestamp, Add Counter , etc .,You can use any of these options? Is this what you are looking at?</i>
-
I am looking for to take a backup of the file which was generated by XI through idoc to file scenario.Bcoz this file is will be read and deleted by another application(:: I need to store the file in another folder).
3. <i>write a script or create a batch file</i> ...
--- Can u plz give some more information...
4. <i>create anyother file adapter and place the archive folder path</i>
--- I created like that but not working (ie. Receiver determination I am unable to give 2 communication channels..)
thx,
Ansar.
Ansar,
For adapter modules, take a look at this,
Regards,
Bhavesh
<i>3. write a script or create a batch file ...
--- Can u plz give some more information...</i>
>>>>
A simple thought;
make a batch file (copy the following code in notepad and save it with ext. as .bat) and put it into your output folder where Xi writes the files.
echo ON
copy . <target directory ex. c:\test>
cd\
cd <targ. directory>
del *.bat
and schedule it say via a windows scheduler
Hi,
I think the problem is with the path. Try creating a batch file and you execute the batch file and check if it is working fine. Then try calling the batch file from the communicaion channel. Calling batch file should be like this you need to give the clear path
path\archive.bat.
One more thing login into XI box and try that same command from XI. See if it is working.
Regards,
Prakash
Hi,
You have options in the file creation mode like,
1. Add Timestamp
2. Add Counter , etc .
You can use any of these options? Is this what you are looking at?
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
there is not way to do it in standard
you can try creating your own adapter module for that
and use it in the file adapter
or set up a rule that will send two files
(one for destination system and one for archive system)
if this is suitable for your (with all the consequences)
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
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.