Skip to Content
0
Former Member
Mar 03, 2009 at 03:11 AM

Re: Call cfunc

137 Views

Hello,

I have a statement like below in my program...

FORM exec_command USING cmd.

FORMAT COLOR COL_HEADING.

WRITE:/ 'Now executing:', cmd.

FORMAT COLOR OFF.

CALL 'SYSTEM' ID 'COMMAND' FIELD cmd

ID 'TAB' FIELD tabl-sys.

WRITE:/ 'Output from OS:'.

LOOP AT tabl. " <- OS-Output

WRITE: / tabl-line.

ENDLOOP.

COMMIT WORK.

REFRESH tabl.

ENDFORM.

i'm not understanding what exactly the call function do's here...

could any one help me in understanding it..

Regards,

Pavan