Skip to main content

I have a smartobject that connects to SAP. The value returned by the BAPI has a System.Byte[] property. I tried to bind the connect service to my smartobject and I noticed that the Property type does not have Byte[]. Only Text, Autonumber, AutoGUID, Date Time, etc.


Thus causing the error: Invalid cast from 'System.String' to 'System.Byte[]'.


I've tried to use the different types available but did not succeed. Is there any way I can create a custom type?


If no, do you have any suggestion / workaround for such cases?


Thanks in advance.

Be the first to reply!

Reply