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
I have noticed bug in Calendar app after update to iOS 8.3 on my iPhone 5C. When I have open Calendar and I am in the month view in the left corner is name of the month. When I move down through next months after few months the name of the month disa [More]
I have a usb port to download  called, CareLink for Medtronic, that will not work with windows 8. What can I do ? I really need this for my husband to use with his insulin pump. The company is waiting on approval from FDA to get approved for windows [More]
Oracle BI Publisher Custom Report throws a strange error. Error log below. Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are : American_America.US7ASCII stat_low = 6 stat_ [More]
Hi, i am new to BI Webi report just doing some practice exercise from E fashion Universe. Need your help in creating a WEBI report which should show Sales Revenue broken down to half-year level. For example: We have Year, when we drill Year 2004, it [More]
For some strange reason, when I tried to add some more functions to my code, the program became really laggy and things such as the shadows started to have horrible quality. Aside from that, the screen does not clear the old lines from the screen, so [More]
Hi! With ref. to an earlier post from Sept. 11, 2009, I am facing the following problem: In my procedure I have this statement as a cursor: SELECT a.carrier_code, a.flight_no, a.from_city, a.origin, a.dept_time, a.to_city, a.destination, a.arr_time, [More]
I have the same problem that SD_Christina posted 2010: "I import my photos and videos taken on my iPhone using "Image Capture", then I sort them using Adobe Bridge CS5. When I take a video (.mov file), the exif data shows the "Date Cre [More]
hi, i have material number and i want to find class of this material number. which table(s) can i use?Hi, You can find out in an indirect way... Go MM03 for your material... IN Classification tab...the system will ask you to choose the material class [More]
naïveté is rendered naïveté power - the spiritual principles is rendered power â€" the spiritual principles There are other instances of this. We are concerned especially with the inability of the browser to render accents properlyMake sure that yo [More]
Hi; I have in input a Excel File (3 colunms) to create automatically the sites collections (CS) and thier sites (SITES) : INUPUT : DECC    CS       SITES dec1    paris     site1 dec1    paris     site2 dec1    paris     site3 dec1    nice      site1 [More]