on 04-01-2008 7:53 AM
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 help will be appreciated.
Thanks,
Sadhna.
Hi,
Run Operating System Command Before/After Message Processing
● Command Line
An operating system command specified here is executed before or after the message processing of a file that was found in a run. The default value is an empty character string (no command).
When the operating system command is called, the file name currently being processed can be specified with the following placeholders:
● %f (file name)
● %F(absolute file name including path)
● Timeout (secs)
This specifies the maximum runtime of the executing program in seconds. When this time interval is exceeded, the adapter continues processing. The executing program continues to run in the background.
● Terminate Program After Timeout
Set this indicator if the adapter is to terminate the executing program when the timeout is exceeded.
The adapter writes the output (STDOUT and STDERR) for the operating system command in the system trace.
Regards,
Phani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Phani Kumar,
Thanks for promt reply. I read this in library link, but i want commands which are used to process some file like open, copy, edit, etc. I dont know the exact syntax. Kindly forward me the complete walkthrough for this. Also tell me that is it possible to use more than one command and how?
Thanks,
Sadhna
Edited by: Sadhna Achhra on Apr 1, 2008 9:02 AM
Hi Sadhana.,
If u want to run more that one command ., the only option is try to create a batch file and call the batch file in the Run time Operating system command.,
cmd /k e:\usr\sap\trans\AGCO\Packslip\PS_Upload.bat
the batch file should be stored in XI server..
try with this and post with any queries..
regards
Kishore
Hi Sadhna,
OS commands are MS DOS commands if your using Windows as your OS,
Please specify which OS are you using, in case of windows, here it is:
http://www.easydos.com/dosindex.html
http://www.computerhope.com/msdos.htm
Thanks,
Varun
Hi,
Refer below link to see the list of commands with examples
http://www.simotime.com/ftp4cmd1.htm
Thanks
Swarup
Hi,
Look into this thread related to Run operating system commands.
also check out these links.
/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi
/people/michal.krawczyk2/blog/2007/02/08/xipi-command-line-sample-functions
/people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching
http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
Regards
Aashish Sinha
PS : reward points if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Sadhana
pls go thru
http://en.wikipedia.org/wiki/List_of_DOS_commands
http://www.uv.tietgen.dk/staff/mlha/PC/Soft/DOS/com/
regards
Rajgopal Sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check with this
http://help.sap.com/saphelp_nw04s/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
Regards
Seshagiri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.