Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alias for field name is not working in srv layer of CDS file for service declaration #103

Open
hmchnd opened this issue Feb 22, 2021 · 1 comment

Comments

@hmchnd
Copy link

hmchnd commented Feb 22, 2021

I tried using alias for some fields of my entity but it does not showing record with alias name and showing incorrect column name of table issue.

  1. Alias name decribed as below.
    entity LprPlantVh as select werks as plant , name1 as description from workcenters.LprPlantVh;

  2. activity performed in SRV folder of SAP CAP in service.cds file.

@gregorwolf
Copy link
Contributor

I would suggest you post your question in the CAP Q&A and provide the example based on the Bookshop. That way others can simply follow and try. Also use the code formatting capabilities to make it better readable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants