title: SAP connector 3.0 .NET set value on table structure
body: <p>I'm trying to get data from SAP via SAP Connector 3.0 on a MVC3 application.</p>
  
  <p>There is no problems with the connection.</p>
  
  <p>My problem is when I try to set values on a structure from a table it says</p>
  
  <blockquote>
    <p>"TABLE [STRUCTURE ZHRS_ABSENCES]: cannot set value (array storing element values is null)"</p>
  </blockquote>
  
  <p>My code is the following:</p>
  
  <pre><code>//create function    
  IRfcFunction function = conex.Repository
                          .CreateFunction("Z_HR_PORTAL_GET_EMPLOYEE_DATA");
  
  //get table from function
  IRfcTable absenceHoli = function.GetTable("P_ABSENCES");
  
  //setting value to structure
  absenceHoli.SetValue(0, "0000483"); //this is where the error occurs
  </code></pre>