Last post Mar 05, 2008 04:49 AM by rakesh.shrivastava
Mar 05, 2008 04:49 AM|rakesh.shrivastava|LINK
while fetching data from SAP server i m getting error message as "Object reference is not set to an instance of an object".
The code is as follow
The problem is that we have to send request to server by 3 parameter
fpreq.begda = dtfrom.Year + "-" + dtfrom.Month +
"-" + dtfrom.Day;
fpreq.endda = dtto.Year + "-" + dtto.Month +
"-" + dtto.Day;
fpreq.pernr = txtempid.Text;
fpres = fpservice.MI_ForgotPunch(fpreq);
in this line fpres showing null value when i m debugging.
what is actually problem i m not getting.
thanks and Regards