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.

Working with Tables: Entry (2)<br />

Creating a table object for entry in a function call<br />

Using a function that was explicitly added to the collection<br />

Set RFCFunction = RFCServer.Functions.Add(“R3FunctionName )<br />

Set TablesColl = RFCFunction.Tables<br />

Set TableObj = TablesColl.Item(“R3TableName )<br />

For x = 1 to NumRows<br />

TableRow= TableObj.AppendRow<br />

TableObj.Cell(x, R3TableField1 )= ...”<br />

TableObj.Cell(x, R3TableField2 )= ..”<br />

Next x<br />

...<br />

RFCFunction.Call<br />

© SAP AG

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

Saved successfully!

Ooh no, something went wrong!