Skip to Content
avatar image
Former Member

is it possible to call operating system command after file receive?

Hi expert,

I'm trying to call operating system command after file receive comm.channel receive a txt file.

operating system command uses txt file name as parameter.

Is it possible? How?

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Nov 12, 2009 at 10:07 AM

    Hi,

    Yes, it is possible if you are using NFS. Have a look at these blogs -

    1. /people/santhosh.kumarv/blog/2008/07/27/glimpse-at-os-command-yet-another-scenario

    2. /people/michal.krawczyk2/blog/2007/02/08/xipi-command-line-sample-functions

    3. http://wiki.sdn.sap.com/wiki/display/XI/MorewiththeFileAdapter

    Regards,

    Sunil Chandra

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 12, 2009 at 10:23 AM

    Hi,

    It should be possible, actually we have two options that are

    1.RUN OS command before message processing

    2.RUN OS command after message processing.

    So you can give the commands in the RUN OS command after message processing.

    Check this links for more info

    http://wiki.sdn.sap.com/wiki/display/XI/SAP%20XI%20File%20Adapter%20OS%20Command%20Line%20Feature

    http://help.sap.com/saphelp_nwpi71/helpdata/en/44/556cb799c93677e10000000a114a6b/content.htm

    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417200)ID1690747750DB11724434094963199241End?blog=/pub/wlg/10392

    Regards

    Ramesh

    Add comment
    10|10000 characters needed characters exceeded