Skip to Content

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

Open URL from a report

Hi, I need to make a connection to URL from a report. Is it posible? thanks.

Tags:
Former Member
replied

Hi Josè,

i thing there is more than one way to do this.

For example in a report you can call

call function 'WS_EXECUTE'
 EXPORTING
*   DOCUMENT                 = ' '
*   CD                       = ' '
   COMMANDLINE              = 'http://www.google.com'
*   INFORM                   = ' '
   PROGRAM                  = 'iexplore.exe'
*   STAT                     = ' '
*   WINID                    = ' '
*   OSMAC_SCRIPT             = ' '
*   OSMAC_CREATOR            = ' '
*   WIN16_EXT                = ' '
*   EXEC_RC                  = ' '
* IMPORTING
*   RBUFF                    =
* EXCEPTIONS
*   FRONTEND_ERROR           = 1
*   NO_BATCH                 = 2
*   PROG_NOT_FOUND           = 3
*   ILLEGAL_OPTION           = 4
*   GUI_REFUSE_EXECUTE       = 5
*   OTHERS                   = 6
          .
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.

Regards, Manuel

PS: uhm...but i think that the solution from Ravi is better

Message was edited by: Manuel Bassani

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question