cancel
Showing results for 
Search instead for 
Did you mean: 

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

Senthilprakash1
Participant
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

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

Regards,

Prateek

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Senthilprakash1
Participant
0 Kudos

Dear All,

Yes just now i got the answer from this thread[;

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.