Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

9 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 14, 2016 at 09:16 AM

    Hi Jeanne Loreto,

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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 09, 2017 at 08:24 AM

    can you attach the file used?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 02, 2017 at 10:10 AM
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.