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

Calling Non SAP programe from SAP program

Former Member
0 Likes
597

Hi Experts...

Can we cal Non SAP programs Like Windows EXE programs from ABAP programs ?

If yes Then How .....

Regards ...

..Ashish

1 ACCEPTED SOLUTION
Read only

anuj_srivastava
Active Participant
0 Likes
561

Hi Ashish ,

Ya we can call a non SAP program from SAP program.

For example we can call a EXE program from the SAP program using the RFC connection created in SM59.

In Sm 59 you can create a TCP/IP connection and give the path of the executable there.

3 REPLIES 3
Read only

anuj_srivastava
Active Participant
0 Likes
562

Hi Ashish ,

Ya we can call a non SAP program from SAP program.

For example we can call a EXE program from the SAP program using the RFC connection created in SM59.

In Sm 59 you can create a TCP/IP connection and give the path of the executable there.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
561

CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE

This will do ..

search for examples and read documentation

Read only

Former Member
0 Likes
561

You can directly call any exe program from SAP program by using ws_execute FM and output can be capture into internal table. This technic will be much useful to interface third party instrument. The exe program should be available in the presentation server where thrid party system is connected

Sudheer