‎2017 Aug 18 11:21 AM
Hello community,
I want to add an empty RAWSTRING field in a CDS view.

The datatype /gkv/cm91_bs_xlsx_datastream is RAWSTRING. But here I get an error message, that the casting of RAWSTRING is not possible. Is there any way to extend a CDS view with a field of the type RAWSTRING?
Background: This CDS view is the base of the mapping of a service implementation of a Gateway Service. It is necessary to extend the property of the entity of this Gateway Service with a datastream field to export an Excel file datastream with this service. In all other cases the base is a BOPF object and here it is so far no problem to do this steps.
Thanks for tips and hints.
Best regard
Stefan
‎2017 Aug 25 1:57 PM
Hello community,
it seems that is not possible to do that, so I wrapped the CDS view in a structure and extended these structure with a rawstring field. These structure I use in my service and it works very good.
Best regards
Stefan
‎2017 Aug 25 1:57 PM
Hello community,
it seems that is not possible to do that, so I wrapped the CDS view in a structure and extended these structure with a rawstring field. These structure I use in my service and it works very good.
Best regards
Stefan
‎2017 Aug 25 2:08 PM