Question:
Dear All,
How to browse different sits from SAP .
My requirement is i am displaying one report from that if users clicks , the related web site should be open in new window or in the same window. may be with in sap screen or using internet explorer...
I think there are some standard transactions for this...pls tell me how to configure this in sap and how can we call IE or web page in sap screen.
Thanks,
Rupa..
Answer:
Hi Rupa,
I have Not much worked on such requirement but you can take a look at the control examples
from SE38 -> Menu -> Environment -> Control Examples -> CONTROLS -> HTML Controls.
Hope this little informations helps.
Cheers
VJ
_________________
Dare to Share
Answer:
Hi Rupa,
I hereby attach a sample program downloaded from one of the sites ( unfortunately I lost track of it ). I hope this makes your life little bit easier !
REPORT ZURL NO STANDARD PAGE HEADING.
DATA: BEGIN OF URL_TABLE OCCURS 10,
L(25),
END OF URL_TABLE.
URL_TABLE-L = 'http://www.lycos.com'.APPEND URL_TABLE.
URL_TABLE-L = 'http://www.hotbot.com'.APPEND URL_TABLE.
URL_TABLE-L = 'http://www.sap.com'.APPEND URL_TABLE.
LOOP AT URL_TABLE.
SKIP. FORMAT INTENSIFIED OFF.
WRITE: / 'Single click on '.
FORMAT HOTSPOT ON.
FORMAT INTENSIFIED ON.
WRITE: URL_TABLE.
HIDE URL_TABLE.
FORMAT HOTSPOT OFF.
FORMAT INTENSIFIED OFF.
WRITE: 'to go to', URL_TABLE.
ENDLOOP.
CLEAR URL_TABLE.
AT LINE-SELECTION.
IF NOT URL_TABLE IS INITIAL.
CALL FUNCTION 'CALL_BROWSER'
EXPORTING
URL = URL_TABLE-L
EXCEPTIONS
FRONTEND_NOT_SUPPORTED = 1 .
****** OR ****************
* Both Function Calls are OK
*CALL FUNCTION 'WS_EXECUTE'
*EXPORTING
*program = 'C:Program FilesInternet ExplorerIEXPLORE.EXE'
*commandline = URL_TABLE
*INFORM = ''
*EXCEPTIONS
*PROG_NOT_FOUND = 1.
IF SY-SUBRC <> 0.
WRITE:/ 'Cannot find program to open Internet'.
ENDIF.
ENDIF.
Regards
Raju Chitale