sap_execute()

Read(3231) Label: get, function object,

Description:

Get a function object according to the import parameter(s).

Syntax:

sap_execute(client,functionName[, paramName:ParamValue,.....])

Note:

This external library function (See External Library Guide) can display no parameter, or one or multiple parameters. The number of function parameters is determined by the number of import or export statements for implementing the sap function; the function parameter part will be omitted if there are no such statements.

Parameter:

client

SAP server connection handle

functionName

The to-be-called function

paramName

Function parameter name

paramValue

Function parameter value

Return value:

A function object

Example:

 

A

 

1

=sap_client@f("C:/sap/ABAP_AS_WITH_POOL.jcoDestination")

SAP server connection.

2

=sap_execute(A1, "Z_TEST1","ROOMID":"001")

Execute the specified function that has an import

parameter.