Sitemap

Amicuk Programming Answers

Operating  System commands in FTP adapter

2015-10-11   Views:0

Advertisement

Hi I have a requirement to use "Operating System Command" option in the Sender/Receiver side File Adapter. And in help.sap.com they have brief notes on this. http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.

Hi
I have a requirement to use "Operating System Command" option in the Sender/Receiver side File Adapter.
And in help.sap.com they have brief notes on this.
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
When I tried to execute some valid DOS commands like MKDIR,RENAME etc it didn't work at all.
But process has been sucessfully completed without any error!!!
System : XI 3.0 SP 11
Can anyone has any inputs on this ? Pls share me some ideas with example. Is there is any limitations on this feature?
Note: When I tried to give invalid commands hfjkhfkasdjfh,asdjdhas etc, still it is not giving any error!!. Still my File Adapter as well as entire process is successfully completed.

The replay answer
Advertisement
Hi,
A couple of cautionary notes.
The OS command is executed after the file has been processed, e.g. read successfully by a sender adapter or created successfully by a receiver adapter.
The file name processed can be accessed using %f in the OS command.
The OS command must include the full directory path, or XI will assume the current directory which may not be where your command resides.
Regards,
Bill

Go to See the other 5 answers

Operating  System commands in FTP adapter

Category:DefaultRelease time:2015-10-11Views:130

Hi I have a requirement to use "Operating System Command" option in the Sender/Receiver side File Adapter. And in help.sap.com they have brief notes on this. http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.[More]

What is Operating System commands in Adapter Configuration??

Category:DefaultRelease time:-0001-11-30Views:130

Hi Frnds, When we will use Operating system commands Option in Adapter Configuration?? Regards, RajHi, Go through this blogs.. /people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching /people/sameer.shadab/blog/2005/09/21/[More]

Run Operating Systems command.

Category:DefaultRelease time:2015-10-11Views:130

Hi Experts, Please provide information on Run Operating Systems commands for File adapter. I have gone through t he below mentioned link already: [http://help.sap.com/saphelp_nw04s/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm] Also , pl[More]

Run Operating System Commands

Category:DefaultRelease time:2015-10-11Views:130

Hi, There is an urgent requirement, i want to know about Run Operating System Commands in file adapter. What are all possible commands for windows operating system? and how it works? Kindly send me your suggestions and links at the earliest. Your hel[More]

Unzip file using operating system command in file/ftp receiver adapter

Category:DefaultRelease time:2015-10-11Views:130

Hi, I'm wonderdering how to unzip a zip-file in the receiver file/ftp adapter. I know it is possible to do it using the 'Operating system command' feature, but somehow the command I use seems to be ignored! (I'm using SP14, unix). The command I enter[More]

Operating system command in file receiver adapter

Category:DefaultRelease time:2015-10-11Views:130

Hi, How to use the Run Operating system command after message processing option in the parameters tab of the file receiver adapter. I am working on a scenario wherein a batch file needs to be invoked after the file is written on the file system. So h[More]

File Adapter 7.11 - set operating system command line dynamically

Category:DefaultRelease time:2015-10-11Views:130

Hi, is there any way to set the "Operating System Command Line" in the file adapter as ASMA / dynamic attribute? I need to set  a command line exec depending on some XSL mapping values. thx holgerhi, >>>is there any way to set the "[More]

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

Category:DefaultRelease time:2015-10-11Views:130

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 th[More]

Operating System Command After File Processing in Sender File Adapter

Category:DefaultRelease time:2015-10-11Views:130

Hello guys, actually we have different interfaces, and the client to take all the files from only one directory, for example D:/DPI. Unitl now we had one adapter for every file with the content conversion, so we didn't have problems with that. Now we[More]

File adapter operating system command exit code

Category:DefaultRelease time:2015-10-11Views:130

Hello, If you call an operating system command in the file adapter, how is the exit code of the command handled? The documentation says nothing about this. If I call 'true', I expect the file adapter to succeed. If I call 'false', I expect the file a[More]

OS commands in FTP adapter

Category:DefaultRelease time:2015-10-11Views:130

Hi Experts, we are trying to use the OS command in the sender FTP adapter to compress the huge text files(approx 2 GB) before we pick the file to avoid the server issues. for which we are using the OS command, ssh -n -l user targetserver "cd /tagetdi[More]

Hot
Hi! Can someone please help troubleshoot my problem? My Macbook Pro lately has been connecting on and off to wifi. When plugged into an ethernet the internet works fine, however when using wifi I have moments when the connection is really slow or not [More]
Hi Is look up table and field is used for validation purpose. I mean suppose there are some division name under look up table for example  A,B,C,D. Now when we are going to put the division name  in corresponding look up division field. Then there we [More]
On my Exchange 2013 ECP, I went to Servers->Databases, then double click to open one of the databases listed, I then clicked Limits, under "Keep deleted items for (days):", I set it to 30 days. But the deleted items in Outlook or OWA did not [More]
A few days ago my calendar stopped displaying events in the Month view (where I originally entered them). I can see them in the List view, although I cannot edit them. They are also not visible in the Day view. Moreover at the top of the screen where [More]
Hi, I was playing a game, but i want to delete it and reinstall to start all over again from the start. I did al the things on this site discussions (hiding, removing etc.), but to no avail. In the store to download the app there's allways the 'cloud [More]
I am using this officejet pro 8000 to print up some newsletters.  When printing a two sided copy (duplex printing) something happens which changes my border setting.  Printing the exact same document, but electing one-sided copy renders a perfect bor [More]
Dear Friends, I am running my forms on Application Server 10g. How do I launch reports from my Forms on the 10g application server? My friend told to use web.show_document(http://serverip:port/reports/rwservlets/getjobid - what should it be after tha [More]
I have a Macbook Air and an external superdrive. On the mac keyboard doesn't have an eject button.. how to eject a bad cd? Thanks in advance!On the late 2010, there is an eject button. You might have a newer model. Either way: (1) Minimize any open p [More]
I got Proteus X with the X-board 61. I've been trying to use it with Cubase. First it took me a while to figure out that Proteus X has to be used with a sequencer using VST you can't just select it as a midi device. Am I wrong here? I really can't be [More]
Our OBIEE 11.1.1.7.1 cluster environment (2 nodes) has been setup on the repository to time out the queries if they run for more than 5 minutes. The requirement is if the query takes longer than 5 mins the query to the database should be cancelled on [More]