cancel
Showing results for 
Search instead for 
Did you mean: 

Port File: Outbound file trigger not executed

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Solved.

It's ncessary to activate check "Start Subsystem" in partner profile (we21)

By default , doesn't start subsystem.

former_member472138
Active Contributor
0 Kudos

Can you check the authorisations are fine?

Regards

Pothana

Former Member
0 Kudos

Hi,

Autorithations are right . I'm sure it's not a permission issue....

Thanks,

Carme

former_member611181
Participant
0 Kudos

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.