on 08-24-2006 10:30 AM
HI All
I´m trying to develop a file to file scenario. My problem is that i have to execute an script at the very begining in order to generate the file that XI has to process. This Script is in a diferent server than XI. Any idea?
Many thanks in advance.
Noelia
Hi,
if you want to do it from XI you can
create a simple java proxy that will just execute the script
and you can invoke this proxy with anything
(from WWW if you want or from abap scheduled abap report etc)
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One option~~
Use a dummy file interface which will pick upa file in TETS mode every polling interval and during the message mapping stage, you can use some java API to trigger the shell script to move the files into the XI folder so that you actual scenarios can pick the file.
AM not sure how feasible this solution would be in your case though.
Regards,
Bhavesh
Hi,
Yes you are right Michal, ofcourse you are always.
There is also a workaround by using operating system commands. Write a batch file to execute that script and invoke the batch program in the file adapter. Make sure you are using the full path while calling the batch file and inside the batch file as well.
Thanks,
Prakash
hi,.
https://websmp210.sap-ag.de/nw04
--> Sap Netweaver 2004 > How to Guides.> How to Guide on java Proxy.
you need a market place id for this though.
Regards,
Bhavesh
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.