cancel
Showing results for 
Search instead for 
Did you mean: 

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

amneis
Participant
0 Kudos

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.

amneis
Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

amneis
Participant
0 Kudos

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