My first blog post – Please let me know if I can improve this somehow!

You may have noticed that in standard OWL list panes they include the name fields which link to the other Thing Types/BO Data for easy navigation as below. We had a requirement to link to standard SAP contact screen for a custom BO OWL that we defined.

StandardExample.png

I couldn’t find any documentation on how to do this so I had to reverse engineer the standard screen.

I will use the example of Contact Name linking to Contact Thing Type!

These are the steps to follow:

  1. Open up UI designer and navigate to your data model tab. Create two fields. ContactName and ContactNameIdentifier
    /wp-content/uploads/2015/04/contactnameandidentifier_674723.png
  2. ContactName will become our link field. Make sure this field is bound to the UUID of the contact so that the navigation works correctly. I now bind it to my association to the business partner.
    ContactNameUUID.png
  3. We now need to bind the ContactNameIdentifier field. This field is just a placeholder for the Contact Name/description. In my example I will bind to the ‘BusinessPartnerFormattedName’

    /wp-content/uploads/2015/04/contactnameidentifier_674729.png

  4. Open up the designer and add a column to your list pane (if applicable). Bind your new column to your ContactName (UUID field).
    /wp-content/uploads/2015/04/contactnamebind_674730.png
  5. You must now change two more important settings.
    First change the DisplayType under Appearance to ‘Link’.
    /wp-content/uploads/2015/04/displaytypelink_674731.png
  6. Secondly you must change the ‘PresentationMode’ under CCTS Information to DescriptionOnly.
    PresentationModeDescriptionOnly.png
  7. Go back to your DataModel Tab. Select your ‘ContactName’ field.
    Select the ‘Identifier Description Datafield’ and bind this to your ‘ContactNameIdentifier’ field that you set up in step 3. This will bring through the contact name as per the requirement.
    IdentifierDesc.png
  8. Now we need to associate to the contact thing type so our link takes us to the right place. While you still have ‘ContactName’ selected, look at the bottom of the screen and you will see Thing Type Information. Change the Mode to static and select COD_CONTACT_TT (Standard SAP).
    /wp-content/uploads/2015/04/thingtype_674734.png
    You have the option here to use SAP standard or you could even link to your own custom thing types inside your solution:
    /wp-content/uploads/2015/04/otherthingtypes_674735.png
  9. Save and activate the screen. Time to test our work!

    /wp-content/uploads/2015/04/contactresult_678777.png

  10. If you see contact name similar to the above screenshot, click the link and make sure you can navigate correctly to your associated thing type!
    /wp-content/uploads/2015/04/contactopened_678778.png
To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

  1. Amith Manoharan Chithambaram

    Hi Brad,

    Any field on the UI model can be made a link with the below steps.

    1. Choose & add the field (UUID or ID) which is the key to the object which we want to navigate

    2. Set the target thing type in the properties for that field in datamodel

    3. Add this field to property Associated Thing Container of the Link in UI model

    (0) 
    1. Brad Gorlicki Post author

      Hi Amith

      Yes you are correct.

      The part that was not clear was how to make a description/name field act the same as outlined in the steps above.

      Cheers

      Brad

      (0) 

Leave a Reply