cancel
Showing results for 
Search instead for 
Did you mean: 

Unix command execution with parameters

naimkhans_babi
Active Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (0)