How To Use Function 'GUI_RUN'
*-----------------------------------------------------------------------
*
* Company XXX Company Limited
*
* ProgrameName: ZZW_FUT_GUI_RUN
*
* Author: Lilo.Zhu
*
* Date: 08/15/2007
*
* Description: Study SAP In Program How To Use Function 'GUI_RUN'
*
*-----------------------------------------------------------------------
REPORT ZZW_FUT_GUI_RUN .
Tables: SSCRFIELDS.
Data: I_WebAddress(100).
Selection-Screen Begin Of Block B1 With Frame Title Text-001.
Selection-Screen PushButton /30(30) Text-002 User-Command F4CLICK.
selection-Screen uline /30(30).
Selection-Screen PushButton /30(30) Text-003 User-Command F4CLICK1.
Selection-Screen End Of Block B1.
At Selection-Screen.
IF SSCRFIELDS-Ucomm EQ 'F4CLICK'.
I_WebAddress = 'hkmibl1/asat'.
ElseIF SSCRFIELDS-Ucomm EQ 'F4CLICK1'.
I_WebAddress = '10.10.10.153'.
EndIF.
Call Function 'GUI_RUN'
Exporting
Command = 'IEXPLORE.EXE'
parameter = I_WebAddress.
* CD =
* IMPORTING
* RETURNCODE =
浙公网安备 33010602011771号