Adding a field to SAP RFC table using .NET Connector 3.0

SAPSap RfcSAP .NET

Note that it is not possible to append table’s column as fields are already defined. You can only enter a row to the table and populate fields to that row. Below code should work −

IRfcTable ITEMDATATable = BapiIncomingInvoiceGetDetail.GetTable("ITEMDATA");
ITEMDATATable.Append();
ITEMDATATable.SetValue("SKU_ATM",myItemData.SKU_AMT);
raja
Updated on 17-Feb-2020 10:30:55

Advertisements