SAP cl_gui_frontend_services=>execute method with abap program

Execute external command from your SAP system using the cl_gui_frontend_services=>execute method, the example abap code below calls a web address.


Call web address from within SAP
DATA: gd_webaddr TYPE string VALUE 'www.SAP Development'.
CALL METHOD cl_gui_frontend_services=>execute
  EXPORTING
    document = gd_webaddr
  EXCEPTIONS
    OTHERS   = 1.

Related Articles

SAP ABAP OO Class cl_gui_frontend_services
GUI_DOWNLOAD method of cl_gui_frontend_services to download data to SAP within ABAP report
GUI_UPLOAD method of cl_gui_frontend_services to upload data to SAP within ABAP report