Problem solve Get help with specific problems with your technologies, process and projects.

Accessing Internet through OOP

This an example of accessing internet through Object Oriented Programming in 4.6.

This an example of accessing internet through Object Oriented Programming in 4.6. The user should be authorized...

to access the Internet.


REPORT ZMSS_CL2 . DATA: OK_CODE(20). DATA: CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER, HTML_VIEW TYPE REF TO CL_GUI_HTML_VIEWER. START-OF-SELECTION. SET SCREEN 100. CREATE OBJECT CONTAINER EXPORTING CONTAINER_NAME = 'CUSTOM_CTR'. CREATE OBJECT HTML_VIEW EXPORTING PARENT = CONTAINER. *&---------------------------------------------------------------------* *& Module STATUS_0100 OUTPUT *&---------------------------------------------------------------------* * text *----------------------------------------------------------------------* MODULE STATUS_0100 OUTPUT. SET PF-STATUS 'MENU'. * SET TITLEBAR 'xxx'. ENDMODULE. " STATUS_0100 OUTPUT *&---------------------------------------------------------------------* *& Module USER_COMMAND_0100 INPUT *&---------------------------------------------------------------------* * text *----------------------------------------------------------------------* MODULE USER_COMMAND_0100 INPUT. CASE OK_CODE. WHEN 'BACK'. LEAVE TO SCREEN 0. WHEN 'URL'. CALL METHOD HTML_VIEW->SHOW_URL EXPORTING URL = 'www.searchSAP.com'. when 'REFRESH'. CALL METHOD HTML_VIEW->DO_REFRESH. ENDCASE. ENDMODULE. " USER_COMMAND_0100 INPUT

This was last published in January 2003

Dig Deeper on SAP Basis administration and NetWeaver administration

PRO+

Content

Find more PRO+ content and other member only offers, here.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close