17.08.2013 Views

Data Interfaces

Data Interfaces

Data Interfaces

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Calling an R/3 Function (1)<br />

With an R/3 function module as<br />

"dynamic" method of the server object<br />

RESULT = RFCServer.R3FunctionName(<br />

EXCEPTIONSTR,<br />

PARAM1:= LocParam1,<br />

PARAM2:= LocParam2,<br />

PARAM3:= LocParam3)<br />

l Import and export parameters assigned<br />

as "specified arguments"<br />

l OLE client application MUST support<br />

conventions for specified arguments<br />

l Syntax for VB for application code<br />

© SAP AG<br />

Function collection<br />

Imports coll.<br />

Application<br />

Server collection<br />

Server<br />

Function<br />

Parameter<br />

Exports coll.<br />

When observing the conventions governing specified arguments for calling a function module (dynamic<br />

function object of the server), the exception string must be the first parameter in the command line.<br />

The Automation server automatically creates a function object as well as import and export objects.<br />

The import parameters for the function call are assigned automatically from the local parameters defined<br />

in the command line.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!