[62322] in SAPr3-news

home help back first fref pref prev next nref lref last post

Re: startrfc

daemon@ATHENA.MIT.EDU (Christian Zalto)
Mon Jan 18 16:34:20 2010

To: sapr3-news@mit.edu
Date: Mon, 18 Jan 2010 22:33:11 +0100
From: "Christian Zalto" <zalto@t-online.de>
Message-ID: <hj2k2p$la$00$1@news.t-online.com>

"Gaurav" <gauravkec2005@gmail.com> wrote:
> Is there any other way to call a function module from
> dos prompt and get the output of function module
> back to dos prompt.

You could write a small VBscript script that makes use
of the SAP.Function automation classes and call it via
"cscript.exe". Output to DOS via "WScript.Echo".
There are samples out there for VBA and Excel
(search for CreateObject("SAP.Functions")) that can be
easily translated to VBscript.

-- 
Christian Zalto



home help back first fref pref prev next nref lref last post