Hi Hriday,
foreign keys constraints can only be created directly on the runtime objects. The HANA repository does not support foreign keys yet.
As a workaround you can create the tables in the repository with .hdbtable of the CDS entities .hdbdd and then you can create foreign key constraints on the runtime objects with a stored procedure.
Regards,
Michael