Skip to Content

File Receiver Adapter:Run Operating System COmmand after message Processig:

Dear All,

I have gone through this link

[http://help.sap.com/saphelp_nw2004s/helpdata/EN/e3/94007075cae04f930cc4c034e411e1/content.htm]

But i have a problem.

In the scenario which we have, File name is DYNAMICALLY GENERATED by a UDF

I want to call the file at run time after message processing via Command Line and execute some os commands.

But since the file name is Dynamic....How will i call the file at run time in Command Line:

SYNTAX: %f(FileName)

How will i specify the file name in the above syntax as the file name is Dynamic and not constatnt.

Please Advice.

Senthilprakash.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Dec 18, 2008 at 07:15 AM

    You don't have to write the filename. You just have to use %f.

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 18, 2008 at 07:18 AM

    Hi

    You can use %f or %F (absolute path) to specify the file name, %f or %F will be substituted with the actual file name which is supplied to the receiver communication channel during run time

    Regards

    Add comment
    10|10000 characters needed characters exceeded

    • Dear All,

      Yes just now i got the answer from this thread[os-command-line-script-need-help;

      Actually i have another doubt now 😔

      In REVEIVER FILE ADAPTER:

      when we give Run Operating system Command After Message processing

      does the OS command get executed after the output file is placed in the Receiver folder/server or before its placed in the receiver folder?

      Regards,

      Senthilprakash.