cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Run Operating system after Message Processing in file adapter.

Former Member
0 Kudos

Hi All,

We are placing a file at FTP folder with name as "order_prd.txt" and we are executing one operating file (RCVPRD.cmd) which has some function to run to upload the data into some database.Once it is done the content from "order_prd.txt" has to change to "order_prd.Prev" and delete the original file.

The problem here is my File adapter is reading the operating file but it is not doing the fucntions which we mentioned in the cmd file. I saw in one of the SAP note that it cannot run the cmd file which you keep at FTP server and they suggested us to keep that in our XI server.But this doesn't serve my purpose.

Is there any way I can achieve read the operating file which I kept at FTP server and run the functions in it.?

Thanks

Seema.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member238007
Contributor
0 Kudos

Hi,

u can use a batch file which can schedule at OS level if it is an FTP server.. or else we can schedule it by using an ABAP scheduler to the local directory of XI server where in we can process from there..

this is an alternate for processing the runtime operating system comand while accessing from FTP server..

regards

Kishore

Former Member
0 Kudos

Dear Reddy,

You can use Operating system command only in NFS .In FTP it doesnt support OS.

Former Member
0 Kudos

Hi,

Please confirm on the OS that you have where your FTP/NFS exist, can be used only on a Unix or Linux system

OS commands -

Ref:

Run Operating System Command Before/After Message Processing -

http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm

Also to catch errors -

Thanks

Swarup