Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

Change data type of RowID attribute "ID" possible?

$
0
0

Dear all,

 

we redefined an easy query in our BW 7.31 system. The SEGW-process will integrate the attribute "ID" as key into the entities attributes. The data type is Edm.String without a definite length.

 

That is normally no problem. Now we want to be able to take advantage of the offline features of our SMP. However SMP has the restriction, that the key field has a maximum of 512 bytes. Therefore an unrestricted Edm.String leads to the following error in the SMP:

  • Caused by: com.sap.odata.offline.util.MODataException: [-100061] Property "ID" cannot be supported because it has a max length value that is too large for a key or referential constraint property

 

Is there a way to change the data type attributes of the generated "ID" attribute during service generation?

 

Thanks in advance!

 

Best regards, Daniel


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>