on 04-12-2011 11:02 AM
Hi Friends!
Can I execute a unix command with file ?
Like I want to create an account in Unix. for that I have to pass some parameters like account name. account id, directory, shell, what I am doing I am passing all this information to ABAP Proxy and it goes to file adapter and then it goes to unix server directory and then I trigger the command to create an account . We are happy with this.. but client is not happy with this file scenario... will it be possible for me use just abap proxy and at received determination i pass all the parameters with command and exevute it without using File. ?
if yes then How we can send parametes to unix and trigger a command.
Please reply me. your any help will be appreciated alot.
Regards
Naeem
You can call a shell script from Abap Side, and pass all parameters in calling phase.
Take a look:
http://searchsap.techtarget.com/tip/Calling-Unix-Shell-Scripts-From-ABAP
Otherwise, you can call a shell script in sender or receiver comunication channel in Xi/Pi, and pass parameters when you call the shell script.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.