Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Getting output from an OS command from an ABAP program

Former Member
0 Likes
696

Hi Folks!

I have a requirement, is it possible to call an operating system command, and also get its output back to the ABAP program that has called it?

For example, from an ABAP program calling the "dir" command from Windows and getting back (as a string) the directory listing to the ABAP program?

Thanx in advance!

Juan.

4 REPLIES 4
Read only

Former Member
0 Likes
627

Yes, it's possible.

Rob

Read only

0 Likes
627

Hi Rob, thanx for the response!

Can you give me an example on how can this be achieved?

Thanx!

Juan.

Read only

0 Likes
627

This is a dangerous command. You can do just about anything at the system level.

But if you search the forums, you should find the answer.

Rob

Read only

Former Member
0 Likes
627

This is will help you

<< Moderator message - links removed >> Please do not post a list of links. This simply encourages laziness. The OP could have found these with a little work.

Edited by: Rob Burbank on Dec 13, 2010 9:19 AM