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

Call a unix command

Former Member
0 Likes
738

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
Read only

andreas_mann3
Active Contributor
0 Likes
584

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
Read only

Former Member
0 Likes
584
Read only

Former Member
0 Likes
584

you can have a reference on following link:

Read only

andreas_mann3
Active Contributor
0 Likes
585

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