Problema al pasar parametros a rfc vb.net
Buenos dias estimados,
Requiero de su ayuda para poder resolver un problema en que llevo ya varios dias sin dar con la solucion. Estoy conectandome a sap desde vb.net, y al momento en que le paso los parametros al rfc, me entrega el siguiente mensaje : {SAP.Middleware.Connector.RfcInvalidParameterException: Element DATE_INICIO of container metadata RFC_FECHAS unknown" & vbCrLf & " en SAP.Middleware.Connector.RfcContainerMetadata` Este es el codigo Try Dim rfcDest As RfcDestination = RfcDestinationManager.GetDestination("SAP") Dim repo As RfcRepository = rfcDest.Repository Dim func As IRfcFunction = repo.CreateFunction("RFC_FECHAS") func.SetValue("DATE_INICIO", fechainicio) '<-- func.SetValue("DATE_FIN", fechafin) func.SetValue("TIME_INICIO", horainicio) func.SetValue("TIME_FIN", horafin) func.Invoke(rfcDest) ..... Cuando llega al primer set value, entrega el mensaje, agregue varios tipos de fecha, fecha vacia, entrega el mismo mensaje. La fecha es string No alcanzo a llegar a Inovke este codigo lo habia realizando anteriormente en c# no tuve problemas, en vb.net es donde estoy entrampado. Gracias por su ayuda |
Husos Horarios son GMT. La hora en este momento es 14:44:03. |
www.mundosap.com 2006 - Spain
software crm, crm on demand, software call center, crm act, crm solutions, crm gratis, crm web