Skip to Content

Relations between Entity Services in UI

Hi again,

today I've read the next guide, "88 Creating an Application Service (Service)". Now I still wonder how to create relations between two Entity Services in UI. Until now I thought I could do it by using an object editor. Is there a way to create such an UI element?

Thanks!

Martin

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 12, 2006 at 03:44 AM

    Hi Martin,

    The "Relation Tab" and "Object Editor" UI Patterns are used together to display the Entity relationships in the UI. This is discussed on page 24 of tutorial #88. The only difference is that the tutorial is showing how to do this with the Entity "TravelLocation" and it's relation to a complex attribute "Address". "Address" could have been configured as a separate Entity Service (instead of complex attribute) with a relationship to "TravelLocation". If it was modeled this way, the UI pattern configuration would have been similiar and used the ObjectEditor and Relation Tab.

    Regards,

    Austin.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2006 at 07:40 AM

    http://<host>:<port>/caf -> user interface configuration -> Configuration Browser -> Object Editor -> Select or create configuration -> Click "Preview" button on the configuration toolbar

    or

    http:// : /webdynpro/dispatcher/ sap.com/caf UIptn~objecteditor/ObjectEditor?app.configName=<configName>

    Aliaksei

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 12, 2006 at 08:23 AM

    Hi Austin,

    this is was I thought. The Entity Travel have several relations to other Entity Services. For example person, car and travellocation. If I select the service "sap.com/carpool/TravelService" I can only choose between the following head aspects:

    KEY_Travel

    KEY_operation_input

    Travel

    operation_input

    I miss the entries travel_keeper, travel_passenger, travel_car, travel_startlocation and travel_targetlocation.

    Could you explain me the wright way?

    Thank you very much!

    Martin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 12, 2006 at 12:10 PM

    It works! I create an relation tab (using an objectbrowser, an objectbrowserlist and an objecteditor). Then I select this relation tab component in my objecteditor and choose "keeper" as reference name. thank you!

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 12, 2006 at 12:25 PM

    thanks a lot!

    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.