1

I am using an IRfcFunction in order to get certain values from SAP to my .net application. These details are in a IRfcTable structure. I would like to know how to move these contents that are in the IRfcTable to SQL Server table.

Thank you.

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
Kasanova
  • 593
  • 4
  • 12
  • 27

1 Answers1

2

You can iterate on rows returned in IRfcTable table, get the values of each row and insert it manually into your SQL Server table.

for (var i = 0; i < rfcTable.RowCount; ++i)
{
    var fieldValue = rfcTable[i].GetString("FIELD_NAME");
    // get other fields values
    // inert into SQL Server table according to your application logic
}
Ahmed Atia
  • 17,848
  • 25
  • 91
  • 133