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

Frontend Command Run

Former Member
0 Likes
470

Hi,

I wanted to run command like " C:\ENCRYPT.EXE C:\TEST.TXT " from user command bar thorugh ABAP Code.

can you please guide me.

Thanks Sameer

3 REPLIES 3
Read only

Former Member
0 Likes
423

Hi,

Use cl_gui_frontend_services=>execute

Eg,


CALL METHOD cl_gui_frontend_services=>execute
EXPORTING
application = 'C:\ENCRYPT.EXE '.

Regards,

Vikranth

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
423

Hello Sameer,

Check the method EXECUTE of the class CL_GUI_FRONTEND_SERVICES.

BR,

Suhas

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
423

check with

CALL METHOD cl_gui_frontend_services=>execute