Share |

SAP cl_gui_frontend_services=>execute method with abap program


Execute external command from your SAP system, the example abap code below calls a web address.


Call web address from within SAP
DATA: gd_webaddr TYPE string VALUE 'www.sapdev.co.uk'.

CALL METHOD cl_gui_frontend_services=>execute
  EXPORTING
    document = gd_webaddr
  EXCEPTIONS
    OTHERS   = 1.