Skip to Content
avatar image
Former Member

SAP Web IDE - oData connection - mock data

Hi All,

On creating a data connection for Mock Data in New oData service, I keep getting the error, " Unhandled Error: Cannot read property '_sap:creatable' of undefined.

I've tried saving the file, instead of using Workspace as source, still same issue. I'm default Chrome user, but tried it on firefox and still same issue.

Any help appreciated. Thank you.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

9 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 30, 2016 at 01:05 PM

    Hi,

    seems to be an error in the Web IDE? I had the same Issue.

    The error occurs only when you have only one <EntitySet> in the <EntityContainer>.

    I just copied my <EntitySet> and it worked...

    <EntityContainer Name="sflightModel" m:IsDefaultEntityContainer="true">
      <EntitySet Name="flightSet" EntityType="sflight.flight"></EntitySet>
      <EntitySet Name="flightSet2" EntityType="sflight.flight"></EntitySet>
    </EntityContainer>
    
    

    Regards,

    Isaac

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 26, 2017 at 11:51 AM

    Hi everyone,

    After I reported this bug internally I was told that this issue is fixed and will be available mid March.

    Regards,
    Michal.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 14, 2016 at 09:16 AM

    Hi Jeanne Loreto,

    Are you trying this as per the SAP HCP Tutorial Navigator?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 15, 2016 at 03:31 AM

    Hi Pankaja,

    I did not use the SAP HCP Tutorial Navigator. I just did a simple one

    1. created new project based on template, made sure oData plugins are enabled.

    2. created oData model file ( edited edmx )

    3. created mock data

    4. creating oData service, selected the workspace and get the error above.

    Thanks.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 09, 2017 at 08:24 AM

    can you attach the file used?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 10, 2017 at 11:01 PM
    <edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" xmlns:sap="http://www.sap.com/Protocols/SAPData">
    	<edmx:DataServices xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" m:DataServiceVersion="2.0">
    		<Schema xmlns="http://schemas.microsoft.com/ado/2008/09/edm" Namespace="Demo1">
    			<EntityType Name="Customer">
    				<Key>
    					<PropertyRef Name="CustomerId"/>
    				</Key>
    				<Property Name="CustomerId" Nullable="false" Type="Edm.String"/>
    				<Property Name="Name" Type="Edm.String"/>
    				<Property Name="SalesOrg" Type="Edm.String"/>
    			</EntityType>
    			<EntityContainer Name="default" m:IsDefaultEntityContainer="true">
    				<EntitySet EntityType="Demo1.Customer" Name="Customers"/>
    				<EntitySet EntityType="Demo1.Customer" Name="Dummy"/>
    			</EntityContainer>
    		</Schema>
    	</edmx:DataServices>
    </edmx:Edmx>
    
    Add comment
    10|10000 characters needed characters exceeded

  • Jan 24, 2017 at 11:43 AM

    Hi,

    This looks like a bug, I have reported it internally, hopefully a fix will be available soon.

    Michal.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 26, 2017 at 07:06 PM

    hi guys,

    am also following same type of error...

    here is my xml file

    http://schemas.microsoft.com/ado/2007/06/edmx" Version="1.0">

    "); vertical-align: bottom; height: 10px;"> http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" m:DataServiceVersion="2.0"> "); vertical-align: bottom; height: 10px;"> http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m=" http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"xmlns="http://schemas.microsoft.com/ado/2008/09/edm" Namespace="public.iotmmsxs.iotservice"> "); vertical-align: bottom; height: 10px;"> "); vertical-align: bottom; height: 10px;"> "); vertical-align: bottom; height: 10px;">

    </edmx:Edmx>

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 02, 2017 at 10:10 AM
    Add comment
    10|10000 characters needed characters exceeded