SAP Knowledge Base Article - Preview

3688276 - SAP Cloud Application Programming Model (CAP) : EntityType and EntitySet names are the same

Symptom

  • CAP generated OData metadata shows EntityType name and and EntitySet name are the same.
  • Metadata example:

    <EntityType Name="PGPaymentCategories">
                    <Key>
                    </Key>
                </EntityType>

    <EntityContainer Name="EntityContainer" m:IsDefaultEntityContainer="true">
                    <EntitySet Name="PGPaymentCategories" EntityType="ARTEC.PCGW.service.PGPaymentCategories"/>
                </EntityContainer>


Read more...

Environment

  • SAP CAP – Compiler and CDS language

Product

SAP BTP application performance management service all versions

Keywords

SAP CAP, OData metadata, custom entity type name, @odata.entitySet.name, @odata.entityType.name, CDS annotations, entity set, entity type, CAP Node.js, metadata generation, OData V2 output, CAP migration, XSA to CAP migration, BC-XS-TLS-MIG , KBA , BC-XS-CDX-COR , SAP CAP– Compiler and CDS language , BC-XS-CDX-NJS , SAP CAP – node.js runtime , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.