on 07-20-2011 11:02 AM
Hi,
We want send some idoc's to a file port and execute a unix script after write it.
In the same directory we have a unix script ( prueba.sh). There is no issue in this script, so we are tested it manually.
We have configured one file port in WE21 with:.
Outbound file TAB:- Physical directory : /idocs/
Function module: EDI_PATH_CREATE_MESTYP_DOCNUM
Outbound Trigget TAB: Automatic Start Possible check box checked.
RFC destination : SERVER_EXEC.
Directory : /idocs/
Command file : prova.sh
Also we have configured and succesfully tested SERVER_EXEC connection:
TCP/IP connections:- SERVER_EXEC configured with parameters: Application server , Program: rfcexec.
Finally file are created but script is not executed.
Why? What is wrong?
Thanks in advance.
Carme.
Solved.
It's ncessary to activate check "Start Subsystem" in partner profile (we21)
By default , doesn't start subsystem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you check the authorisations are fine?
Regards
Pothana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check with operating system admin, like how these files will be picked up automatically.
For windows .bat files with built service will take care of that.
For unix mostly we need to use Cron.
Cron is a daemon, which means that it only needs to be started once and it will take care of executing jobs automatically.
User | Count |
---|---|
80 | |
24 | |
11 | |
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.