cancel
Showing results for 
Search instead for 
Did you mean: 

Jam external business records annotation mapping for preview screen

Former Member
0 Kudos

Dear community,

we are currently working on the integration of SAP ByD business records into SAP Jam and annotation files in general.

The 'UI.LineItem' annotation works as expected and shows the correct data, but 'UI.Identification' does not, even though it has the same exact properties and paths mapped.

Do you have any idea why the configured labels work fine, but there is no data shown for the 'UI.Identification'?

Thanks for your help in advance!

Best regards,

Christine

Accepted Solutions (0)

Answers (1)

Answers (1)

Adam_Stone
Active Contributor
0 Kudos

Hi Christine,

Without seeing the full annotation file, it would be hard to answer this question.  What I would suggest is to look at our documentation on what we expect in the OData annotation here:

http://help.sap.com/download/documentation/sapjam/developer/index.html#intguide/concepts/ODataAssump...

Thanks,
Adam

Former Member
0 Kudos

Dear Adam,

thank you for your answer!

We already looked at this documentation and we do not understand, why the "UI.Identification" line item does not work.
In Jam we can see the business record list with the data, but the preview and detailed screen of the business record is empty even though we are using the same properties in the "UI.LineItem" and in the "UI.Identification" definition.


Here is our annotation file:

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

<edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">

    <edmx:Reference Uri="https://my320276.sapbydesign.com/sap/public/ap/ui/mime/odata/sap_ui_vocabulary">

        <edmx:Include Alias="UI" Namespace="com.sap.vocabularies.UI.v1"/>

    </edmx:Reference>

    <edmx:Reference Uri="https://my320276.sapbydesign.com/sap/public/ap/ui/mime/odata/sap_communication_vocabulary">

        <edmx:Include Alias="Communication" Namespace="com.sap.vocabularies.Communication.v1"/>

    </edmx:Reference>

    <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/cs01/vocabularies/Org.OData.Measures.V1.xml">

        <edmx:Include Alias="Measures" Namespace="Org.OData.Measures.V1"/>

    </edmx:Reference>

    <edmx:Reference Uri="https://my320276.sapbydesign.com/sap/byd/odata/bpm_businesspartnerdata_analytics.svc/$metadata">

        <edmx:Include Alias="MyCRM" Namespace="bpm_businesspartnerdata_analytics"/>

    </edmx:Reference>

    <edmx:DataServices>

        <Schema Alias="CRMAnnotation" Namespace="com.sap.pa.CRMAnnotation" xmlns="http://docs.oasis-open.org/odata/ns/edm">

            <Annotations Target="MyCRM.RPZ1D5FFD707C113995AFC2C5QueryResult">

                <Annotation Term="UI.HeaderInfo">

                    <Record>

                        <PropertyValue Property="TypeName" String="Kunde" />

                        <PropertyValue Property="TypeNamePlural" String="Kunden" />

                        <PropertyValue Property="ImageUrl" String="/images/exobj/account/account_grey_48.png" />

                        <PropertyValue Property="Title">

                            <Record>

                                <PropertyValue Property="Value" Path="TBP_UUID" />

                            </Record>

                        </PropertyValue>

                    </Record>

                </Annotation>

                <Annotation Term="UI.Identification">

                    <Collection>

                        <Record Type="UI.DataField">

                            <PropertyValue Property="Label" String="Kundennummer" />

                            <PropertyValue Property="Value" Path="CBP_UUID" />

                        </Record>

                        <Record Type="UI.DataField">

                            <PropertyValue Property="Label" String="Name" />

                            <PropertyValue Property="Value" Path="TBP_UUID" />

                        </Record>

                        <Record Type="UI.DataField">

                            <PropertyValue Property="Label" String="Geschäftsadresse" />

                            <PropertyValue Property="Value" Path="CFRMTD_PSTL_ADDR" />

                        </Record>

                    </Collection>

                </Annotation>

                <Annotation Term="UI.LineItem">

                    <Collection>

                        <Record Type="UI.DataField">

                            <PropertyValue Property="Label" String="Name" />

                            <PropertyValue Property="Value" Path="TBP_UUID" />

                        </Record>

                        <Record Type="UI.DataField">

                            <PropertyValue Property="Label" String="Geschäftsadresse" />

                            <PropertyValue Property="Value" Path="CFRMTD_PSTL_ADDR" />

                        </Record>

                    </Collection>

                </Annotation>

            </Annotations>

        </Schema>

    </edmx:DataServices>

</edmx:Edmx>

Do you have an idea, how we can solve this?

Thanks and kind regards,

Christine

Adam_Stone
Active Contributor
0 Kudos

Hi Christine,

I'm not seeing anything that stands out that would be causing it.  The only thing I would suggest is seeing if the additional record you have for identification is causing it by removing it.

Thanks,
Adam