Skip to Content
avatar image
Former Member

CDS: error: Unexpected token "#EOF#" when creating a CDS artifact

Hi experts,

I'm using SAP HANA 2.0 SPS02. I've created a tenant database, WORKSHOP, with technical user, TECH_USER, for my openSAP exercises. It has the schema TECH_USER. In my code, I created an HDB module, COREDB, with schema TECH_USER. It got built without errors. But now I'm trying to create a CDS artifact in COREDB/db/src/data and I got these error messages:

HDI: 1310043 No artifact is defined

CDS: error: Unexpected token "#EOF#"

Appreciate your help.

Thanks and kind regards.

Add comment
10|10000 characters needed characters exceeded

  • Former Member

    I created default_access_role.hdbrole and admin.hdbrole. They're fine. Here are the error messages (pop-up window and the log entry) when I try to create CDS artifact, PurchaseOrder.

    cds-error.png (9.2 kB)
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 15, 2017 at 07:29 AM

    I fixed it. I added the .hdinamespace file in the src folder. The PurchaseOrder.hdbcds file was created.

    Add comment
    10|10000 characters needed characters exceeded