Application Development 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: 

Call a unix command

Former Member
0 Kudos

Hi Community,

It's possible to create a program that a call does a unix command.

I would like created a synchronous scenario.

Then the program call a unix command and this is waiting up to when a unix command termined a runtime.

The command returned a data and the ABAP program will owe to take back the esecution.

I hope in you

Thank's everybody.

1 ACCEPTED SOLUTION

andreas_mann3
Active Contributor
0 Kudos

Hi Antonello,

i'd do it with different job steps (SM36)

1) Program1, which does a unix command:

syntax:

CALL 'SYSTEM' ID 'COMMAND' FIELD COMMAND

ID 'TAB' FIELD TABL-SYS

or have a look here: external commands

2) Program2 handle the output (e.g. a file) of program 1

regards Andreas

3 REPLIES 3

Former Member
0 Kudos

Former Member
0 Kudos

you can have a reference on following link:

andreas_mann3
Active Contributor
0 Kudos

Hi Antonello,

i'd do it with different job steps (SM36)

1) Program1, which does a unix command:

syntax:

CALL 'SYSTEM' ID 'COMMAND' FIELD COMMAND

ID 'TAB' FIELD TABL-SYS

or have a look here: external commands

2) Program2 handle the output (e.g. a file) of program 1

regards Andreas