ABAP Code Examples

Display URL web address ABAP Code

*& TITLE: Display URL web address
*&-------------------------------*
*& Report  ZCALL_URL
*&-------------------------------*
*& Simple ABAP code to call and display any website URL with
*& your SAP GUI
*&-------------------------------*
REPORT  ZREP_CALLURL.

PARAMETERS: p_url type string DEFAULT 'http://www.se80.co.uk'.


********************
*START-OF-SELECTION.
START-OF-SELECTION.

*Call website URL and display contents within SAP dialog window
CALL METHOD CL_ABAP_BROWSER=>SHOW_URL
  EXPORTING
    URL          = p_url
    TITLE        = 'My Browser Window'
    SIZE         = CL_ABAP_BROWSER=>LARGE  "MEDIUM/LARGE/XLARGE
    MODAL        = ABAP_TRUE
    PRINTING     = ABAP_FALSE
    BUTTONS      = 'X'
    FORMAT       = CL_ABAP_BROWSER=>LANDSCAPE
    POSITION     = CL_ABAP_BROWSER=>TOPLEFT
*    CONTAINER    =
    CONTEXT_MENU = ABAP_FALSE.

Text pool values



See other example ABAP Reports/Programs..



comments powered by Disqus