on 07-23-2013 11:58 PM
I have a File to File Scenario, but now i want to control the execution of the Communication channel Sender from this scenario with another interface, is there's a trick to execute this File scenario when the user execute another proxy Interface?
my actual Scenario File to file (without ESB objects)
my new Scenario Proxy -> pi - > ( FILE to FILE) or Proxy - > ( FILE to FILE)
Here is one easy and feasible approach. You might want to try this..
You can control the communication channels using script externally. This way you can start the sender file adapter whenever is desired.
But if you want to trigger this programatically do the following steps
a) create script that start your file adapter..
b) Call the script via your abap program... Execute your abap program as you want....
use this blog
write command in unix script like example
wget http(s)://nspad271.pal.sap.corp:50000/AdapterFramework/ChannelAdminServlet?party=&service=BLService&channel=*&action=start
Take help from unix team to write the script...
Call this script from your abap program which is feasible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Erick,
Some guesses: You are trying to trigger the file scenario through the proxy scenario.
So when the proxy is executed, you want to trigger another interface.
You can try like below:
Suppose your file is created in location \interface\PI\out
You configure the sender adapter in your second scenario to pick the file from the above location with a trigger file. Go through Q4 in the link below:
http://wiki.sdn.sap.com/wiki/display/XI/Sender+File+Adapter+Frequently+Asked+Questions
You can create the trigger file on this location through the proxy interface.
Hope it helps!
Ambrish
PS: Why not ask the user to start and stop the Sender channel "xyz"when he wants to trigger the interface
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Erick,
As per my understanding it can be achieved by:
In your proxy to file scenario create two output files.
one will be regular output file as the scenario requires and other one as the trigger file in different location.(1-n mapping concept) you can find multiple documents for this.
http://scn.sap.com/thread/3253882
Then you can use the trigger file to start or initiate the next process(file to file scenario).
thanks and regards,
Praveen T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Erick,
you mean your scenario is like
Proxy -> pi - > FILE --> PI-->FILE/Proxy - >PI--> FILE -->PI-->FILE ?
Correct me if get it wrong.
Regards
Hari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for responding
i have a file to file scenario working without ESB objects working, using a receiver determination to make a split message of the receiver File Adapter and the proxy adapter (responding the name of the file moving)
my requirement is ....the user needs to control the execution of this files after he press a button from Sap using abap proxy....and cancel the automatically Communication channel from the File to file scenario.
Thanks again HariKumar.
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.