How To Run Commnad In Server Side.
*-----------------------------------------------------------------------
*
* Company XXX Company Limited
*
* ProgrameName: ZZW_RUN_COMMAND
*
* Author: Wei_Zhu
*
* Date: 08/22/2007
*
* Description: Practice ABAP How Run SAP Server side Command.
*
*-----------------------------------------------------------------------
REPORT ZZW_RUN_COMMAND .
Data: Itab(255) Occurs 10 With Header line.
Selection-Screen Begin Of Block B1 With Frame Title Text-001.
Parameters: P_Comm(10) Type C.
Selection-Screen End Of Block B1.
Initialization.
Start-Of-Selection.
Call 'SYSTEM'
ID 'COMMAND' field p_comm
ID 'TAB' Field Itab-*sys*.
Loop At Itab.
Write Itab.
EndLoop.