Create Deep Entity in SAP UI5 - oData Model

Hi,
I am doing a CRUD project and want to perform a deep entity creation. I've an entity Student and another is Enrollment. A Student can have multiple Enrollments. For this, I've created Association b/w these 2 entities.
Now from SAP UI5, i want to call create operation in which while creating Student record, i also want Enrollment records to be inserted into DB.
I am trying to use the following code to create the required Data object.
oNewEntry.StudentID = "000";        // Will be generated
oNewEntry.StudentName = "Xyz";
oNewEntry.Course = "ABC";
oNewEntry.Age = parseInt(25);
oEnrollment = {};
oEnrollment.StudentID = "000";
oEnrollment.CertificateID = "SAPUI5";
oEnrollment.EnrollDate = new Date(2014,03,30,00,01,00);
oEnrollment.CreateDate = new Date(2014,03,30,00,01,00);
oEnrollment.Status = "X";
oNewEntry.Enrollment = oEnrollment;
oModel.create("/StudentSet",
  oNewEntry,
  null,
  function()
   alert("Student record created successfully!");
  function()
   alert("Student record creation failed!");
I am trying the above code, but it always throw the following error.
The following error text was processed in system GW1 : Specified value is not a valid value for the type of an XML document                                                                                                                                                                                           The error occurred on the application server XXXXXX. The termination type was: RABAX_STATE.
Am i doing any mistake while creating oNewEntry object ? As I am able to create entity StudentSet & EnrollmentSet  individually but not as Deep Entity in one go.
Please Help.

you can refer this thread discussion Deep insert using Model.create()? which talks about parent-child entity relationship.
also please mention navigation name as mentioned in the thread.
Regards,
Chandra

Similar Messages

  • How to create xml entity in sap

    hi,
      kindly tell me process of creating xml entity in sap.
    regrad's
    vineet

    Hi Vineet ,
    You can use function module "SDIXML_DATA_TO_DOM" to convert the data in internal table to XML form. This function module is used to create the structure for XML document.
    After this you use FM "SDIXML_DOM_TO_XML".
    Hope this helps you!!!!
    Regards,
    Nikhil

  • Create Deep Entity  - Error "No valid source context supplied".

    <?xml version="1.0" encoding="utf-8" ?>
    - <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> 
    <code>CX_XSLT_RUNTIME_ERROR/EE1D984A671BED4AAD4D1BD10D509C75</code>  
    <message xml:lang="en">No valid source context supplied</message>  
    - <innererror> 
    <transactionid>7795A2E3D43AF1FCB4BA42F2E933967A</transactionid>  
    <errordetails />  
    </innererror>
    </error>
       Inner error message : " Deserialization of XML failed via transformation ''
    _______________________________________XML FILE _________________________________________________
    <?xml version="1.0" encoding="UTF-8"?>
    <atom:entry
    xmlns:atom="http://www.w3.org/2005/Atom"
    xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
    xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
    <atom:content type="application/xml">
    <m:properties>
    <d:ParentQuestGuid>42F2E933967A1EE3A6C5C06CE7D414BA</d:ParentQuestGuid>
    <d:ExternalID>CORRECATE_V08</d:ExternalID>
    <d:Planstartdate>2014-01-31T00:00:00</d:Planstartdate>
    <d:FinalDate>2014-02-28T00:00:00</d:FinalDate>
    <d:Actualfinishtime>PT00H00M00S</d:Actualfinishtime>
    </m:properties>
    </atom:content>
    <atom:link
    rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/zpartners"
    type="application/atom+xml;type=feed"
    title="Z_V02_AUDIT_SRV.zcorrecact_2_partner">
    <m:inline>
    <atom:feed>
    <atom:entry>
    <atom:content type="application/xml">
    <m:properties>
    <d:REF_GUID m:null="true" />
    <d:PARENT_GUID m:null="true" />
    <d:EXTERNAL_ID m:null="true" />
    <d:Role_Sortnr>1</d:Role_Sortnr>
    <d:Role>52</d:Role>
    <d:Partner_Role>BUP003</d:Partner_Role>
    <d:PARTNER_GUID m:null="true" />
    <d:Responsible_Name>102</d:Responsible_Name>
    <d:SYUNAME m:null="true" />
    <d:ROLE_TEXT m:null="true" />
    <d:RESPONSIBLE_TEXT m:null="true" />
    <d:LANGU_ISO m:null="true" />
    </m:properties>
    </atom:content>
    </atom:entry>
    </atom:feed>
    </m:inline>
    </atom:link>
    </atom:entry>
    ___________ Tried using the following solutions yet unsuccessful ___________
      1) Cleared the cache
      /IWBEP/CACHE_CLEANUP
      /IWFND/CACHE_CLEANUP
      2) Checked all the Date fields for "Nullable", both at header and item entitys.
    _________ not clear about my xml format _________________
      1) please check the xml format.  i read other blogs and feel it is correct.
       Regards,
      Nitin Koushik
    [email protected]

    Hi Nitin,
    there seems to be an issue with the xml in the request body.
    As an approach, you could try to send two separate requests, in order to check if the creation of the parent entity works and then use the specified link and check if the creation of the child entity works with the given xml. This could help to clarify which part of the xml is actually rejected
    I've copied below the xml of a deep insert that works for me.
    It is the request body of a POST request sent to the BusinessPartnerCollection of the service ZGWSAMPLE_SRV that can be found here:
    https://sapes1.sapdevcenter.com/sap/opu/odata/sap/ZGWSAMPLE_SRV?sap-ds-debug=true
    Hope it helps a bit.
    Regards,
    Carlos
    <?xml version="1.0" encoding="utf-8"?>
    <entry xml:base="http:/.../sap/opu/odata/sap/ZGWSAMPLE_SRV/"
    xmlns="http://www.w3.org/2005/Atom"
    xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"
    xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">
    <category term="ZGWSAMPLE_SRV.BusinessPartner"
    scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
    <link href="BusinessPartnerCollection('0100000002')/Contacts"
    rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Contacts"
    type="application/atom+xml;type=feed"
    title="Contacts">
       <m:inline>
        <feed xml:base="http://.../sap/opu/odata/sap/ZGWSAMPLE_SRV/">
         <entry>
          <category term="ZGWSAMPLE_SRV.Contact"
             scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
          <content type="application/xml">
           <m:properties>
            <d:BusinessPartnerID>0100000002</d:BusinessPartnerID>
            <d:Title/>
            <d:FirstName>Maria Julia</d:FirstName>
            <d:MiddleName/>
            <d:LastName>Brown</d:LastName>
            <d:Nickname>Mary</d:Nickname>
            <d:Initials/>
            <d:***>F</d:***>
            <d:PhoneNumber>3023352668</d:PhoneNumber>
            <d:FaxNumber/>
            <d:EmailAddress>[email protected]</d:EmailAddress>
            <d:Language>E</d:Language>
            <d:PostalCode>19899</d:PostalCode>
            <d:City>Wilmington, Delaware</d:City>
            <d:Street>1 2345 King Street</d:Street>
            <d:Building>1</d:Building>
            <d:Country>US</d:Country>
            <d:AddressType>02</d:AddressType>
           </m:properties>
          </content>
         </entry>
        </feed>
       </m:inline>
      </link>
      <content type="application/xml">
       <m:properties>
        <d:AddressType>02</d:AddressType>
        <d:Country>US</d:Country>
        <d:Street>1 2345 King Street</d:Street>
        <d:PostalCode>19899</d:PostalCode>
        <d:City>Wilmington, Delaware</d:City>
        <d:CurrencyCode>USD</d:CurrencyCode>
        <d:LegalForm>Ltd.</d:LegalForm>
        <d:CompanyName>DelBont Industries3</d:CompanyName>
        <d:BusinessPartnerID>0100000002</d:BusinessPartnerID>
        <d:BpRole>01</d:BpRole>
        <d:EmailAddress>[email protected]</d:EmailAddress>
       </m:properties>
      </content>
    </entry>

  • Runtime error DYNPRO_NOT_FOUND when creating business entity in SAP RE-FX

    Hello,
    I have a problem...
    In SAP RE-FX (Real Estate) when I try to do the most basic thing like creating a business entity (transaction REBDBE), I get a runtime error 'DYNPRO_NOT_FOUND'.
      Program                                SAPLBUSS
      Include                                  LBUSSO00
      Row                                     1.543
      Module type                          (MODULE PBO)
      Module Name                         PBO_START_SUBSCREEN
    Does anybody know how I can fix this?
    Thanks in advance!

    Hi
    look OSS Note [162119|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3136323131313926] note youe need to have market place login
    1621119 - Dump DYNPRO_NOT_FOUND in SAPLBUSS in module PBO_START_SUBSCREEN
    Regards,
    koolspy.

  • Error while invoking "create" on odata model

    Hello,
    I have an OData model  (added to the view) to which I would like to add a new entry:
    var data = {
    ID : 1234,
    SCENARIO_INSTANCE_ID : "235800598404399104",
    FULL_NAME : "Joachim",
    EMAIL : "[email protected]",
    TELEPHONE : "+555 11 222",
    CELLPHONE : "555 111 111",
    ADDRESS : "Holywood"
    this.getView().getModel().create(path, data, null, function() {
    alert("Create successful");
    }, function() {
    alert("Create failed");
    But I always get the following error:
    2013-08-09 10:20:57 The following problem occurred: HTTP request failed501,Not Implemented,<?xml version="1.0" encoding="utf-8" standalone="yes"?><error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><code/><message xml:lang="en-US">Feature not supported.</message></error> - 
    The service itself is generated on HANA.
    SAPUI5 Version: 1.12.2 (build at 201305281333, last change 7340864478bf826028376497c3d94bea4688e432)
    Any ideas why this happens?
    Thanks in advance and best regards,
    Joachim

    Hello Krishna,
    thanks for supporting us to analyse the problem. Here are some addtional information:
    I created the oData service by creating a .xsodata file in the services folder of my XS Application. Furthermore I tested the oData service create method by directly sending an HTTP POST request to the service URL. This worked fine - an addtional data entry was created in the database table.
    This is described in this blog on SAP HANA Academy: http://www.saphana.com/docs/DOC-3775
    From my point of view, everything works fine with the oData service. Do you have any other idea how to identify the root cause?
    In addition: how can I make the call back funcitons more verbose?
    Thanks & Regards
    Nico

  • Creating a search help with SAP UI5 and js?

    Hello com,
    I am trying to create a search help, collecting data from a table.
    Is there something similar to the typical ABAP search help in SAP UI 5?
    ABAP:
    PARAMETERS: lv_alias TYPE dsh_alias MATCHCODE OBJECT dashboard_alias_f4,
    I found this in the Demo Kit:
    // create a simple SearchField
    var oSearch = new sap.ui.commons.SearchField("providerSearch", {
            searchProvider: new sap.ui.core.search.OpenSearchProvider({
                    suggestType: "json",
                    suggestUrl: "/demokit/suggest?q={searchTerms}",
                    icon: jQuery.sap.getModulePath("sap.ui.core", '/') + "mimes/logo/txtonly_16x16.ico"
            search: function(oEvent){
                    alert("Search triggered: " + oEvent.getParameter("query"));
    //attach it to some element in the page
    oSearch.placeAt("sample4");
    But how can i connect it with the specifiy data table?
    Thanks,
    Domenik

    Hi,
    you need to create OData service which will retrieve (search) the required information and then need to create UI5 application to consume it.
    you can refer this blog How to Implement Value Help (F4) with SAP UI5 which covers both parts.
    if you are having SP08 version of SAP Gateway then creating search help is very simple. refer my blog Creating OData service based on Search Help
    Regards,
    Chandra

  • Unable to create a new view for SAP UI5 in NWDS

    Hi UI5 Profis,
    I'm just getting started with SAP UI5 and wanted to create and run my first application using the UI5 Tools wirh NWDS. After having installed NWDS and the UI5 Tools
    I create new SAP ui5 project, but the wizard always run into error, when I want to create new view.
    Did someone already have the same issue?
    Thanks in advance,
    BR,
    Berenger

    Hi Berenger,
    Which is your NWDS version?
    It seems there is a bug on view creation with 1.8.8 version:
    1814417 - Patched version 1.8.8 of UI Development Toolkit for HTML5
    http://service.sap.com/sap/support/notes/1814417
    Kind regards

  • How to create interactive map in SAP Visual Business using SAP UI5 SDK

    Hi,
    Please tell me,
    How to create interactive map in SAP Visual Business using SAP UI5 SDK.
    Is it possible to create interactive map using VB Control in SAP UI5 SDK..?
    if possible please any one let me know.

    Hi folks, one question:
    We have our development close moved and now it is earlier than originally planned. 
    That means that we maybe can't finish our convenient API and you have to wait till we will release it - early 2015 is planned.
    But there is another option:
    Currently we have a API based on json. The developer has to create json and  to transfer it to the Visual Business control.
    This interface is more used as a low level API and we are developing on top the more convenient one. So all the features are the same.
    It will stay stable & compatible in the future and you can build on it.
    Do you want to use this interface?  
    Then I will publish the documentation.
    Let me know.
    Thanks

  • SAP UI5 is useful to create a website ?

    Hi,
    I am planning to learn SAP UI5. I have some doubts in this,
    1. Is SAP UI5 is used to create websites ? If yes, we need to use SAP is the backend support (database) for that ?
              I mean, we can use HTML to create any kind of websites, SAP UI5 is also works like that?
    2. What are the required softwares we need to run SAPUI5 ? Let me know where I can get that softwares?
    3. What is River RDE? How/Where we need to use this in SAPUI5 ?
    Give me any other suggestions to improve my knowledge on this ....
    Thanks in advance.
    Regards,
    Pavan A.
    Message was edited by: Pavan A

    Hello,
    Have a look into this link, it may helps you.
    Get to Know the UI Development Toolkit for HTML5 (aka SAPUI5)
    Regards,
    Murali Krishna.

  • Howto map to an odata model function import returning an entity, not an entity set?

    Hi,
    how do I map to an odate model function import returning an entity (not an entity set) in a XML view? I tried property mapping {/method/property}, which does not make a network request and sets the value to null and I tried aggregation mapping {/method}, which makes a network request with $skip=0&$top=100&$inlinecount=allpages which is of course rejected by the odata source.
    Thanks,
    Wolfgang

    Hello Dr. Wolfgang,
    you can use
      var oParams = {};
      oParams.Field1 = 'ABC';
      oParams.Field2= 'XYZ';
      oParams.Field3= '123';
      oModel.callFunction('MyFuncImport', 'GET', oParams, null, function(oResponse){
            alert("Call to Func Imp successful");
        },function(){
            alert("Call to Func Imp failed");});
    also refer SAPUI5 SDK - Demo Kit
    Regards,
    Chandra

  • Fiori - Create oData Model and Creating Customized App

    Dear All Gurus,
    This may be too easy question for you all but as a layman need your expert advise on this.
    Requirment
    Create a customized app/oData Model for  'Z' table in ERP server (CRUD operation)
    I was able te to  get an Understanding about oData Model - CRUD operation for ZTables referring below Link. (Thanks for Chandrasekar Mahajan for the Blog)
    Let’s code CRUDQ and Function Import operations in OData service!
    But howabout Ztable in ERP ? Can we use RFC for this and how to integrate this for Ztable?
    Thank you...
    Tags edited by: Michael Appleby

    Hi Masayuki,
    Thank you for your reply and I was able to get an understading with the document you have shared...
    My requirement was to to access 'Z'table in ERP system through Gateway Server (Read/Update/Delete...).
    How do we create an oData model for this ?
    Thank you Sir...

  • Set filter criteria on page 1 for page 2 OData model - "best practice"?

    Hello, I have a problem with an app - where I want to filter data on a second page, based on settings from the first page. I use an OData model.
    The collections on both pages are not related in terms of "navigation" properties, that is my problem and I can not change the data source...
    So I am looking for ideas/best practices to solve this because sometimes my filtering doesn't work... the following problem occurred: Request aborted
    I have a page with a sap.m List with items="{/tabWorkPlace}" and and a local JSON model where I store relevant data during the app lifecycle.
    handleListSelect - first page
    var context = evt.getParameter("listItem").getBindingContext();
    var dataModel = sap.ui.getCore().getModel("dataModel");
    var workplace = context.getProperty("WORKPLACE_ID");
    dataModel.setProperty("/WORKPLACE_ID", workplace);
    this.nav.to("SubMaster", context);
    The general App.controller.js handles the nav.to function:
    var app = this.getView().app;
    var page = app.getPage(pageId);
    if(pageId == "secondPage") {
         page.getController().filterData();
    And the controller of the second page:
    filterData: function() {
    var oModel = sap.ui.getCore().getModel("odata");
    var dataModel = sap.ui.getCore().getModel("dataModel");
    var workplace = dataModel.getProperty("/WORKPLACE_ID");
    var items = this.getView().byId("list");
    var oFilter=new sap.ui.model.Filter("WORKPLACE_ID",sap.ui.model.FilterOperator.EQ,workplace);
    items.getBinding("items").filter(oFilter);
    I don't write this code into the onInit() or beforeRendering() function, because they are called only once and I am navigating back and forth between the two pages, because the pages are created only once and "just" the data is changed.
    The desired page looks like this - with an other collection bound to it:
    <List
      id="list"
      select="handleListSelect"
      items="{/tabWorkstep_Status}"
    >
    But when I call it - then the request gets aborted:
    The following problem occurred: Request aborted
    But despite the fact the Request is aborted, the list on the second page is filtered!
    The filter criteria for the model works when I type it into the browser with URL. Maybe this fails because the data binding for the list didn't took place at this phase?
    I have this pattern (filter criteria on one page and result on the second page) more times - (and I think a better data model would be better with navigation properties would be better, but I cannot change it)
    But at another constellation the filtering doesn't work - same error... the following problem occurred: Request aborted
    I also don't want to change the pattern (page 1 to page 2) into popup lists or this fancy new filtering possibilities because it is not suitable for my use case.
    Is there maybe a more elegant solution - because sometimes filtering works, sometimes don't..., do I have an error in my solution (general approach)?
    Many thanks for any input!
    BR,
    Denise

    Hello, yeah you are right, but it works without the odata> stuff because of this in App.controller.js:
    var uri = "http://localhost:32006/JsonOdataService.svc";
    var oModelMS = new sap.ui.model.odata.ODataModel(uri);
    sap.ui.getCore().setModel(oModelMS, "odata");
    oView.setModel(oModelMS);
    So my question is - how to navigate from one page to another - and on the other page first bind a collection to a select and then when selecting bind certain elements (a textfield) to the selected filtered entity.
    The stuff with context and binding won't work, because the two Collections don't have a navigation/association property between them...
    So for example:
    page1
    select a list item with property color: red and year 1985. Press one of the buttons and pass this criteria to another page.
    page 2:
    show a dropdown box with all car names which fullfill this criteria, and when one car is selected, then display the data for THIS car in several text fields.
    This is not a master->detail navigation example, because on page 1 i select certain criterias, and then with buttons I navigate to several pages with those criterias.
    But since the OData model has no relationships it is really hard to do it manually... With a dummy mock.json like in DJ Adams Fiori like SAPUI5 apps it is no problem... But with OData and no things related to each other it is hard...

  • Create a entity using a session bean in web dynpro

    Hi.
    I want to create an entity bean object trough an EJB session bean in web dynpro, e.g using a form in a WD application filled in by a user.
    I understand how to display a list of entity beans through a session bean and a table, but I don't understand how to create (or edit or remove) such information.
    My session beans look like this:
    @Stateless
    public class MyObjectBean implements MyObjectLocal {
         @PersistenceContext(name = "MyObject", unitName="ProjectPU")
         public EntityManager em;
         public void create(MyObject myObject) {
              em.persist(myObject);
         public void edit(MyObject myObject) {
              em.merge(myObject);
         public void remove(MyObject myObject) {
              em.remove(em.merge(myObject));
         public MyObject find(Integer id) {
              return em.find(MyObject.class, id);
         @SuppressWarnings("unchecked")
         public List<MyObject> findAll() {
              return em.createNamedQuery("MyObject.findAll").getResultList();
    So the model class would be called Request_MyObjectLocal_create.
    I attempted to use [this|http://help.sap.com/saphelp_nwce10/helpdata/en/45/dd45e4bc295595e10000000a1553f7/frameset.htm] help file but I find the answer (step 17) quite unclear.
    Help is greatly appreciated!
    Vincent.

    I've just found the solution from Steve Muench weblog, always useful by the way!
    You can find the solution at this link http://radio.weblogs.com/0118231/stories/2004/05/07/handcodingDynamicDiscoveryOfEjbdeployedAppmodule.html
    In summary, we need to use the class com.evermind.server.rmi.RMIInitialContextFactory, which supports dynamic lookup, and implement the lookup ourselves.
    The code I've written to lookup the service is listed below:
    public static ApplicationModule getAppModuleManutencao() {
    try {
    Context ctx = getContext();
    ManutencaoFacadeHome home = (ManutencaoFacadeHome) ctx.lookup(EJB_MANUTENCAO_BEAN_NAME);
    ApplicationModule am = ApplicationModuleProxy.create(home, null);
    return am;
    } catch (NamingException nex) {     
    nex.printStackTrace();
    return null;
    private static InitialContext getContext() {   
    try {     
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "admin");
    env.put(Context.SECURITY_CREDENTIALS, "welcome");
    env.put(Context.PROVIDER_URL, "opmn:ormi://dsv008:OC4J_dvt20/mct");
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    return new InitialContext(env);
    }catch (NamingException e) {     
    e.printStackTrace();
    return null;
    I hope this helps someone!!!
    Cheers!

  • Table creation in sap ui5

    Hi,
    I am new at SAP UI5 and i am trying to create a table.
    I used the code given on the sap ui5 demokit but when i am running the application the table is not displaying.
    can anyone help me with this.
    Thanks in advance.
    var aData = [
              {lastName: "Dente", name: "Al", gender : "male"},
              {lastName: "Friese", name: "Andy", gender : "female"},
              {lastName: "Mann", name: "Anita", gender : "female"}
      //table creation
      var oTable = new sap.ui.table.Table({
      title: "Guest House list",
      visibleRowCount: 3,
      firstVisibleRow: 2,
      selectionMode: sap.ui.table.SelectionMode.Single,
      //column creation
      oTable.addColumn(new sap.ui.table.Column({
      label: new sap.ui.commons.Label({text: "Last Name"}),
      template: new sap.ui.commons.TextView().bindProperty("text", "lastName"),
      sortProperty: "lastName",
      filterProperty: "lastName",
      width: "200px"
      oTable.addColumn(new sap.ui.table.Column({
      label: new sap.ui.commons.Label({text: "First Name"}),
      template: new sap.ui.commons.TextField().bindProperty("value", "name"),
      sortProperty: "name",
      filterProperty: "name",
      width: "100px"
      oTable.addColumn(new sap.ui.table.Column({
      label: new sap.ui.commons.Label({text: "Gender"}),
      template: new sap.ui.commons.ComboBox({items: [
      new sap.ui.core.ListItem({text: "female"}),
      new sap.ui.core.ListItem({text: "male"})
      ]}).bindProperty("value","gender"),
      sortProperty: "gender",
      filterProperty: "gender"
      //data collection
      var oModel = new sap.ui.model.json.JSONModel();
      oModel.setData({modelData: aData});
      oTable.setModel(oModel);
      oTable.bindRows("/modelData");
      //Initially sort the table
      oTable.sort(oTable.getColumns()[0]);
      oTable.placeAt("table");

    Hi Anshul
    it should be
    press: function() {
       oTable.setVisible(true); // or false
    am I right?
    -D

  • Hierarchies in SAP MDG data model

    Hello Gurus,
    Could any one please let me know how to create hierarchies in SAP MDG Data models..I have gone though the SAP Help document and but couldn't understand it..If any one has worked on this , please let me know.
    Regards,
    Raghu.

    Hi Jose,
    I'll start with simple hierarchy demo containing HIERARCHY NAME, GROUP and OBJECT.[HIERARCHY NAME is the top node, GROUP is the middle node and OBJECT is the end node]
    1.In data model, you have to create all the as 3 entity types.
    2.In the middle node,i.e. GROUP here, choose the hierarchy option as version dependent or Non-version dependent as per your requirement.
    3.In the middlle node,i.e. GROUP here, build hierarchy by assigning
    Entity Type for hierarchies ->Entity Type of Node , Use
    Here the top node,i.e. HIERARCHY NAME ,will be assigned use as Hierarchy names
    You can find related documentation by using F1 help on specific field.
    4.Your hierarchy model is now ready.
    Regards,
    Vkanc9

Maybe you are looking for

  • Creating Database Standard Form Analytic Workspaces

    Just been looking through the new 9.2.0.4.1 documentation and came across the following. Thought it might be useful. The 9.2.0.4.1 release of Oracle OLAP introduces a new concept known as �Database Standard Form� Analytic Workspaces. This is a way of

  • Multiple Batches in Bulk Bins

    Hi my requiremwn is using either transaction LT01 (SAPML03T) or LT10 (RLS10034), it must be possible to create a TO placing the same material number but different batches and/or different SLED's into the same bulk bin. This should only be executed if

  • CONFIGURATION PROPERTIES VIEW ON OWB

    Hi people, we want to know if there is some view or table on OWB Repository where we can see the values of the Configuration Properties dialog for each mapping. Otherwise we have to open OWB client, expand the mappings tree and open the Dialog for ea

  • Premier elements 12 crashes on opening and closing

    Premiere elements 12 crashes on opening and closing.   New Lenovo laptop with I7 processor and 8Gb RAM.

  • Preview duplication not copying "some" data

    I have clients complete PDF's on line with myself and then mail them for checking and review. When I recieve them back I then review on-line with them and make revisions where necessary using Preview. I have just noticed that when I duplicate a PDF s