Showing results for 
Search instead for 
Did you mean: 

Editing mockdata in SAP Web IDE

Former Member
0 Kudos

Hi there,

I recently started using SAP Web IDE.

I created a sample fiori starter application for mockdata following the steps provided by this blog - .

Now, I would like to edit the mockdata provided by the metadata.xml file.

I followed this documentation - SAP Web IDE Developer Guide

However, I don't find the option "Edit Mock Data" as mentioned in the developer guide.

My Web IDE version is 1.5

Could anybody please guide me here?

Please find the attached image for more information.

Best Regards,


Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Prerana,

Could you please try to add <?xml version="1.0" encoding="utf-8"?> at the beginning of the metadata.xml file?

The metadata.xml should look somehow like this afterwards:

<?xml version="1.0" encoding="utf-8"?>

<edmx:Edmx Version="1.0"




        xmlns:m="" m:DataServiceVersion="2.0">


            xmlns="" Namespace="MySalesOrders">

            <EntityType Name="SalesOrder">


                    <PropertyRef Name="SalesOrderNumber" />


                <Property Name="SalesOrderNumber" Type="Edm.String" sap:label="Sales Order Number" Nullable="false" MaxLength="10" />

                <Property Name="TotalAmount" Type="Edm.Decimal" sap:label="Total Amount" Precision="16" Scale="3" sap:unit="Currency" MaxLength="10" />

                <Property Name="Currency" Type="Edm.String" sap:label="Currency" MaxLength="5" sap:semantics="currency-code" />

                <Property Name="CustomerID" Type="Edm.String" sap:label="Customer ID" MaxLength="10" />

                <Property Name="CustomerName" Type="Edm.String" sap:label="Customer Name" MaxLength="35" />

                <Property Name="NetPriceAmount" Type="Edm.Decimal" sap:label="Net Price Amount" Precision="16" Scale="3" sap:unit="Currency" />

                <Property Name="TaxAmount" Type="Edm.Decimal" sap:label="Tax Amount" Precision="16" Scale="3" sap:unit="Currency" />

                <Property Name="OrderDate" Type="Edm.String" sap:label="Order Date" />

                <Property Name="RequestedDate" Type="Edm.String" sap:label="Requested Date" />

                <Property Name="Status" Type="Edm.String" MaxLength="1" sap:label="Status" />

                <Property Name="SalesOrganization" Type="Edm.String" MaxLength="4" sap:label="Sales Organization" />

                <Property Name="SalesOrganizationName" Type="Edm.String" MaxLength="20" sap:label="SalesOrganizationName" sap:creatable="false" sap:updatable="false" sap:sortable="false" sap:filterable="false" />

                <Property Name="DistributionChannel" Type="Edm.String" MaxLength="4" sap:label="Distribution Channel" />

                <Property Name="Division" Type="Edm.String" MaxLength="2" sap:label="Division" />

                <Property Name="DistributionChannelName" Type="Edm.String" MaxLength="20" sap:label="DistributionChannelName" sap:creatable="false" sap:updatable="false" sap:sortable="false" sap:filterable="false" />

                <Property Name="DivisionName" Type="Edm.String" MaxLength="20" sap:label="DviisionName" sap:creatable="false" sap:updatable="false" sap:sortable="false" sap:filterable="false" />


            <EntityContainer Name="MySalesOrders_Entities" m:IsDefaultEntityContainer="false">

                <EntitySet Name="SalesOrders" EntityType="MySalesOrders.SalesOrder" sap:searchable="true" sap:requires-filter="true" />





Kind regards,


Former Member
0 Kudos

Hi Andreas,

Thanks a lot for your reply!

How silly of me on overlooking at this solution.

Have a great day!



Answers (0)