Navigation property, Association, Mapping in SEGW

Hi Experts,
I am working on one very new technology in SAP - SAP NetWeaver Gateway Service Builder. I have created some projects in SEGW. Here some other properties available in Data Model like navigation property, association and mapping. These three properties are very confusing to me. I dont have so much information on these three information.
Is there any definition for these three property? Kindly provide. When I can use these three properties? In which situation or circumstance, these three properties will come to the picture?
What are benefits if I use these three properties in my project?
Thanks in advance,
Regards,
Arindam Samanta.

Hi Arindam,
Here some other properties available in Data Model like navigation property, association and mapping. These three properties are very confusing to me. I dont have so much information on these three information.
Is there any definition for these three property? Kindly provide.
you can refer below SAP help on topics you are looking for
Navigation property - Navigation Properties - SAP NetWeaver Gateway Foundation (SAP_GWFND) - SAP Library
Association - Associations - SAP NetWeaver Gateway Foundation (SAP_GWFND) - SAP Library
Mapping - Mapping the Operations - SAP NetWeaver Gateway - SAP Library
also note that this question is more appropriate in SAP Gateway forum.
Regards,
Chandra

Similar Messages

  • About the DDIC association mapping in tcode:SEGW

    Hi experts,
    I am trying to build a simpel odata service in segw.
    I build the service step by step
    1)Created 2 entity type named "map" and "dlink" by importing from DDIC
       at the same time, entityset "maps" and "dlinks" are created
    2) Created 1 assocaiton from map to dlink.
    3) create the mapping for "maps" and "dlinks" in service implementation
    4) the problem is comming.when I try to mapping the assocation, I can't selecte any assocation.
    My question is :
    why I can't select the assocation created by me in previous step.
    and How to create a association which can be selected in the maaping
    Please see the attached screenshot for detail information, thanks!

    Hi Arindam,
    Here some other properties available in Data Model like navigation property, association and mapping. These three properties are very confusing to me. I dont have so much information on these three information.
    Is there any definition for these three property? Kindly provide.
    you can refer below SAP help on topics you are looking for
    Navigation property - Navigation Properties - SAP NetWeaver Gateway Foundation (SAP_GWFND) - SAP Library
    Association - Associations - SAP NetWeaver Gateway Foundation (SAP_GWFND) - SAP Library
    Mapping - Mapping the Operations - SAP NetWeaver Gateway - SAP Library
    also note that this question is more appropriate in SAP Gateway forum.
    Regards,
    Chandra

  • My gps is not working.  I cannot use turn-by-turn navigation in google maps.  I downloaded a GPS test app and it showed my phone is not locking on any satellites.  How can I correct this?

    My gps is not working.  I cannot use turn-by-turn navigation in google maps.  I downloaded a GPS test app and it showed my phone is not locking on any satellites.  How can I correct this?

    We certainly want to make sure you get the most out of the GPS, wplaxico! Was this tested primarily outdoors? When did this begin? Any other recent apps of updates installed when this started?
    Thank you,
    YaleK_VZW
    Follow us on Twitter @VZWSupport
    If my response answered your question please click the �Correct Answer� button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • Lightswitch HTML Client 2013 - Navigation property load works Intermittently on phone, but works all the time in desktop browsers

    Hi,
      I have this code which is adding a record and re-loading a navigation property "ldDailyLogDetails_FK".
    afterClosed:
    function   (viewScreen, navigationAction) {
                    if
      (navigationAction === msls.NavigateBackAction.commit) {
                          screen.ldDailyLogDetails_FK.load();
         It successfully adds a record and then redisplays this new record on all browsers, but on my phone it adds the record ok, but sometimes, it dosnt seem to refresh (or load) the page with the new record.  
          I also wonder if there is any place I might go to get some "phone vs desktop browser" information and advice?
          I have tried screen.ldDailyLogDetails_FK.refresh(); as well.
    david

    Hi David,
    From your description above, it seems that this issue happens occasionally. At the same time you can also use some tool to test your lightswitch application, such as:
    Fiddler, it will be helpful to troubleshoot.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Declaring Navigation Property in Entity Framework

    Hi,
    I developed a sample application in EF which has 3 tables 
    PersonDetails, BankDetails and FixedDepositDetails. Please find the table structure below
    create table PersonDetails
    (PersonId int Primary Key,
    PersonName varchar(30))
    create table BankDetails
    (BankId int Primary Key,
    BankName varchar(100),
    BankBranch varchar(100),
    BankLocation varchar(100))
    create table FixedDepositDetails
    Id int Primary Key,
    FixedDepositNo varchar(30) not null,
    Bank_Id int, -- references Bank Details
    Person_Id int, -- references Person Details
    DOD datetime,
    DOM datetime,
    DepositAmount decimal(9,2),
    MaturityAmount decimal(9,2),
    ROI decimal(3,2),
    Period varchar(20),
    Parent_Id int,
    Constraint fk_BankId Foreign Key(Bank_Id) references BankDetails(BankId),
    Constraint fk_PersonId Foreign Key(Person_Id) references PersonDetails(PersonId),
    Constraint fk_ParentId Foreign Key(Parent_Id) references FixedDepositDetails(Id)
    Now in the Entity framework I have specified as given below
    [Serializable]
    public class PersonDetails
    [Key]
    public int PersonId { get; set; }
    public String PersonName { get; set; }
    [Serializable]
    public class BankDetails
    [Key]
    public int BankId { get; set; }
    public String BankName { get; set; }
    public String BankBranch { get; set; }
    public String BankLocation { get; set; }
    [Serializable]
    public class FixedDepositDetails
    [Key]
    public int Id { get; set; }
    public String FixedDepositNo { get; set; }
    [ForeignKey("Bank_Id")]
    public int? Bank_Id { get; set; }
    public BankDetails BankDetails { get; set; }
    [ForeignKey("Person_Id")]
    public int? Person_Id { get; set; }
    public PersonDetails PersonDetails { get; set; }
    public DateTime DOD { get; set; }
    public DateTime DOM { get; set; }
    public decimal DepositAmount { get; set; }
    public decimal MaturityAmount { get; set; }
    public decimal ROI { get; set; }
    public String Period { get; set; }
    [ForeignKey("Parent_Id")]
    public int? Parent_Id { get; set; }
    public FixedDepositDetails FixedDepositDetail { get; set; }
    } public class BaseDBContext : DbContext
            public BaseDBContext(string ConnectionString)
                : base(ConnectionString)
            public DbSet<PersonDetails> PersonDetails { get; set; }
            public DbSet<BankDetails> BankDetails { get; set; }
            public DbSet<FixedDepositDetails> FixedDepositDetails { get; set; }
            protected override void OnModelCreating(System.Data.Entity.DbModelBuilder modelBuilder)
                modelBuilder.Entity<FixedDepositDetails>()
                    .HasRequired(x => x.BankDetails)
                    .WithMany()
                    .HasForeignKey(y => y.Bank_Id);
                modelBuilder.Entity<FixedDepositDetails>()
                   .HasRequired(x => x.PersonDetails)
                   .WithMany()
                   .HasForeignKey(y => y.Person_Id);
    But when I run the application I get an error as
    The navigation property 'Bank_Id' is not a declared property on type 'FixedDepositDetails'. Verify that it has not been explicitly excluded from the model and that it is a valid navigation property.
    If I am not wrong I think I have made some mistakes when creating the model. Can some some please let me know where I am doing the mistake? If some one is able to provide me with a solution Please explain me as what you are doing and why that solution needs
    to be done?
    Regards,
    Raghul

    I know this is an old thread, but when doing it either way you guys described, I get:
    "The foreign key component 'FixedDepositDetail' is not a valid navigation property on type 'PersonDetails'.
    Verify that it has not been explicitly excluded from the model and that it is a valid primitive property."
    I had my own one-to-many relationship, but for the sake of not involving new items, it mirrors this setup from above:
    public class PersonDetails
    { [Key]
    public int PersonId { get; set; }
    public String PersonName { get; set; } public virtual ICollection<FixedDepositDetails> FixedDepositDetail { get; set; }
    } public class FixedDepositDetails
    [Key]
    public int Id { get; set; } public int? Person_Id { get; set; } [ForeignKey("Person_Id")]
    public PersonDetails PersonDetails { get; set; } public FixedDepositDetails FixedDepositDetail { get; set; }
    Any ideas on how this setup should work, or is this what you guys have?

  • Creating (POST) an entity via a navigation property?

    Hi All,
    Let's say we have a model that has an Employees entityset, and for a given employee, you can navigate to a CurrentCarParkingSpot entity (it's an example not reality).
    e.g. Employees('00123456')/CurrentCarParkingSpot would pull up the current CarParkingSpot against the Employee.
    Now if the employee didn't have a CarParkingSpot, and I want to create a new CarParkingSpot for this employee, you would think I could POST a standard CarParkingSpot payload to Employees('00123456')/CurrentCarParkingSpot and it should create a new CarParkingSpot against employee (assuming I get the employee key in the GW code). However, when I try this, the framework doesn't even call my code, and it's almost like Gateway does not support creation via a navigation property. PUT works, just not POST.
    Note - If I post the same payload directly to /CarParkingSpots, it works fine.
    e.g. The payload looks like:
    <?xml version="1.0" encoding="utf-8"?>
    <entry xml:base="http://server.local/sap/opu/odata/sap/ZEXAMPLE/" 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">
      <id>http://server.local/sap/opu/odata/sap/ZEXAMPLE/CarParkingSpot</id>
      <title type="text">CarParkingSpot</title>
      <category term="ZEXAMPLE.CarParkingSpot" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
      <content type="application/xml">
       <m:properties>
       </m:properties>
      </content>
    </entry>
    So the key question: Is creation (POST) via Navigation Properties supported in GW, and if it is, do you need to alter the payload at all (note - I've tried changing the id and text above to align with navigation property)?
    FYI - I've been testing via Gateway Client, and getting successful creation by using "Use as request" from an existing specific Employees('another id')/CurrentCarParkingSpot and removing all id's in the POST payload.
    Thanks,
    Matt

    Hi Matt,
    This is a limitation of GW, not OData. If you peruse some non-SAP OData resources you will find mention of posting to navigations.
    The OData 4.0 spec states:
    To create an entity in a collection, the client sends a POST request to that collection's URL. The POST body MUST contain a single valid entity representation.
    An entity may also be created as the result of an Upsert operation.
    If the target URL for the collection is a navigation link, the new entity is automatically linked to the entity containing the navigation link.
    The GW framework requires you to POST to a canonical URI, i.e. unnavigated direct address.
    In my view navigated POST should be supported by GW otherwise it imposes unrealistic design issues, e.g. you now have to include the key of a parent into a child entity to satisfy your requirement.
    There are other reasons why it's desirable to POST to the navigation endpoint.
    1 - As the navigation points get longer, the need to add more key properties to the endpoint arises:
    e.g. for myservice/entityset1(1)/entityset2(2)/siblings(3)/classifications, the classifications entity needs three properties that probably aren't anything like the canonical URI.
    This will, at code level mean there are going to be divergences in the access methods that don't need to be present.
    2 - The canonical URI may not be addressable. In the above example, classifications is not likely to be something that has any context outside of a navigated path,so a canonical URI for posting one cannot be established.
    I don't know why SAP haven't allowed this as the runtime components certainly have the potential to expose the navigation context if the POST request was allowed in.
    In the interim, it might be possible design a model that would allow pseudo-navigation posting by using a batched request, so I may have a look into this.
    Regards
    Ron.

  • Cost of Navigation Use Nokia Maps

    Hi there,
    I am a proud owner of a Nokia 5800 and I am trying to understand the way navigation works. Ik have a question about using Nokia Maps. The question is about the costs.
    I can find 4 options of positioning:
    - Assisted GPS
    - Integrated GPS
    - Bluetooth GPS
    - based on network
    I don't use Bluetooth GPS. I have checked Integrated GPS. Because I do not have a data subscription I would like my navigation to be completely free. I know that Assisted GPS does uses data. What I am not able to find on the internet is whether the option "based on network" is free of charges or not.
    Can anybody help me out?
    Thanks a lot in advance for the answer!
    Michel
    Solved!
    Go to Solution.

    dtypejaguar wrote:
    Hi Michel, this is the response I recently received to my 'cost' enquiry - navigating on Ovi maps is  free of charge. However, once you start to search for a place, computing for your exact location this will be the time that you will be charged by your network provider because of data transfer, i.e. whether you use the OVI on the computer or use your mobile out and about  it ain't for free!  Bundchen
    You were given false information.
    Points Of Interest and Places can be looked up 100% free. Rather, it's some basic settings in each phone that need to be disabled to be used 100% free of network costs.
    See this topic for more information:
    /t5/Maps-Navigation-and-GPS/Is-Ovi-Maps-Navigation-really-free/m-p/779533
    The GPS chips in phones are usually very insensitive, so they have to use these silly tricks to make them work better. Disabling these 'silly tricks' will definitely stop them but a bluetooth GPS unit for your phone doesn't need these tricks (and neither do dedicated GPS units) because they have great sensitivity and just communicate with the GPS satellites as they should, quickly and reliably.
    That being said, switching to Satellite or Terrain map views in the software will request internet access, as will other features. Ignoring these things and just using the software as a regular GPS unit will allow you to use the maps and navigation and address and points-of-interest look-up without any costs whatsoever. So even if you are pre-paid, you won't get a cent taken from you.
    The major problem is the poor GPS in phones being reliant on these extra features that use the network.

  • Navigation with Nokia Maps crash (N95 8Gb)

    Hi All.
    Does anyone have this problem, when the Nokia Maps start Navigation and is calculation route, Crash !
    Thanks,

    Here's my brand new, maps crashing issue; For some bizzare reason, I thought I'd try to use a-gps. I've always had pretty good luck with the thing syncing but it could be better.
    I recently came to Germany and got a MOBI (vodafone) sim card and I set vodafone live as my provider. It didn't seem to be any faster so I went into setting, (in maps) and tried to turn it off.
    The problem is; I can't. When I go into Maps settings and click on Network, it shuts off Maps or reboots the phone. Now, whenever I turn on maps, it logs onto vodafone and burns off all of my credit in about 5 minutes...and I can't turn it off and I can't use maps without using all of my expensive credit.
    It's really **bleep** me off. This is the first software issue I've had with this thing and I have no idea how to solve it. I've gone into Tools>General>Positioning methods and only have Integrated gps checked but it's still logging on.
    It's a real pain. If I could remember my lock code, I'd reset everything to default.
    Any idea...?
    Thanks

  • How to view satellite image during navigation with google maps iphone 5

    I am a new iPhone convert. I switched from the HTC EVO that used Google Navigation. Google Navigation in Android allows the user to see the image of the map during actual navigation to be the satellite view instead of the standard map view. I downloaded the Google Navigation App to my iPhone 5 but I can't get the map to switch to satellite view. I can only get the satellite view up for the overview map. Once navigation starts, the screen pops back over to the standard map view. How do I view the satellite image during navigation? Please help....

    I don't believe that is an option in Google Maps for iOS.

  • TS1702 No voice navigation option on maps on iPad mini

    No voice navigation on my iPad mini maps app. Can I get this?

    The iWatch s/w is one small app. No big deal.
    I have no problems with voice navigation on iOS 8.2.
    I believe that your problem may be that you have the WiFi only iPad which gets its location from nearby WiFi routers that it sees and which are in Apple's router location database. If it does not see routers it does not know where it is. This would prevent voice navigation from working.

  • N900 and Voice Navigation / New OVI Maps

    s much as I love my N900 it is so frustrating to walk into a T-Mobile store here in the US and find that the simple Nokia Nuron has much newer version of Ovi Maps. While Nokia is busy launching voice navigation for the N97's and such, the N900 is left waiting in the wings. Does anyone have any news regarding when Nokia will again turn their gaze back to what is supposed to be their flagship device?

    Not only does Nokia not support Ovi Map downloads on the N900...it also does not support Native Video calls and sending of photos/Video via MMS...sent a note to their support careline..and the reply below was what I received...:-(( This is NOKIA's FLAGSHIP product with 2  cameras and they do not support Video Calls....why launch a product with 2 cameras which does not do Video calls...Hope someone from NOKIA is reading this tread..don't launch products when it is NOT ready .... extreemely dissappointed...might have to consider other brands of phone for my next phone purchase.
    SR# 1-10895987606
    Dear Mr. Chung,
    Thank you for emailing Nokia Careline.
    In response to your inquiry, by design Nokia N900 does not support video call feature. Nevertheless your feedback is valued for further consideration.
    You may like to visit our website at www.nokia.com.my for more information and support for your Nokia device. If you have further enquiries, please write to us again or contact Nokia Careline at 1300 881600. We operate between the hours of 8.00am and 8.00pm, seven days a week.
    Kind regards,
    Kay Cee B.
    Nokia Careline

  • EF 4.1 navigation property not loaded through ODAC adapter

    Does anyone know if this is a known issue about EF through ODAC?
    I have a parent child relationship entity.
    If I find out 1 parent only, I can explore its child through lazy loading.
    But
    if I search a list of parents, their children are not loaded except the first one.

    The code where you open the context ,do a query, and navigate to a property that doesn't bring back any values.

  • Command Navigation Item + Filter mapping issue

    Readers,
    I have 2 questions here
    1) How is navigation item different from commandLink ?
    2)I am having a navigation item in my Main Page. the code of which is
    <f:facet name="globalLinks">
                <af:group id="g1">
                  <af:spacer width="10" height="10" id="s1"/>
                  <af:navigationPane id="np1" hint="bar"
                                     inlineStyle="vertical-align:sub;">
                    <af:commandNavigationItem text="Home" id="cni2"
                                              icon="/com/xxx/images/home.gif"
                                              destination="/faces/MainPage"
                                              targetFrame="_self"/>
                    <af:commandNavigationItem text="Logout" id="cni1"
                                              icon="/com/xxx/images/glbl_logout.gif"
                                              actionListener="#{backingBeanScope.MainPageBean.doLogout}"/>
                  </af:navigationPane>
                </af:group>
              </f:facet>I have configured a filter to intercept all URL of type "/*" and redirect it tologin page if the session attribute is null
    the issue happening here is on click of the Home link, it takes me to the login page in spite of configuring the commandNavigationItem for home link (see the above code). When i click on logout though i am redirected to login page i get the NPE.
    Code for Filter is
                    if (session.getAttribute("userLoginId") != null) {
                        user = (String)session.getAttribute("userLoginId");
                    if ((user == null) || (user.equals(""))) {
                        String finalRedirectURL =  "/Portal/faces/LoginPage";
                        hres.sendRedirect(finalRedirectURL);
                        FacesContext context = FacesContext.getCurrentInstance();
                        context.responseComplete();  //*on logout i get NPE here*
                    }Please advice..
    thnks
    Jdev 11.1.1.5

    Question one still unanswered also a bit of question 2.
    Now the issue is getting the following error on logout, clicking on home page now doesn't redirect me to login page.
    java.lang.IllegalStateException: Cannot forward a response that is already committed
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:122)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44
    Any ideas ?
    Edited by: in the line of fire on Nov 1, 2011 1:18 PM

  • N97 - tracking while navigating with Ovi Maps

    I would like to be able to save my journeys, to view them in, say, Google Earth, and possibly also to have live tracking available for selected others to view, while I follow a route planned by Ovi Maps.
    I have seen various possible applications and am just wondering if any will work reliably on a generic UK N97 under these circumstances.
    Any advice would be appreciated.

    Check Sporttracker.
    www.sporttrackingstechnologies.com... which gives a download link via OVI.

  • Mouse Navigable Property Problem

    Just Working in form (10g). Been testing my form as I develop. For some reason all my items are suddenly not enterable by mouse and the Mouse enterable property is not available on the property pallette anymore.
    i must have changed some setting accidentally. I am not sure what it is
    Help

    Thanks , not to worry. it's working fine now. restarted OC4J

Maybe you are looking for