sap_table()

Read(2760) Label: table-valued parameter, list,

Description:

Return a list according to the import table-valued parameter.

Syntax:

sap_table(excutefunction, tableName)

Note:

This external library function (See External Library Guide) returns a list according to the import table-valued parameter.

Parameter:

excutefunction

The execute function handle

tableName

Table name

Return value:

Table-valued list

Example:

 

A

 

1

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

SAP server connection.

2

=sap_execute(A1, "Z_TEST1")

Execute the sap_function that hasn’t parameters

3

=sap_table(A2, "IT_ROOM")

Return a table-valued list.