Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Can we execute ".exe" file in desktop through ABAP programming?

Hi all,

My requirement is like this.

There is one .exe/.bat file in the presentation server (Desktop).

I need to start executing the .exe file through SAP. Is there any way where we can write a code to do that in ABAP.

Thanks,

Balaji

replied

Hi,

Use the code below and substitute the path of the application in the function call.

CALL FUNCTION 'GUI_RUN'
  EXPORTING
    command          = 'c:\folder1\app.exe'.

Regards

Karthik D

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question