cancel
Showing results for 
Search instead for 
Did you mean: 

Managed fields not filling in CAP CDS

Ahmedkhan29789
Participant
0 Kudos

Hello Experts,

I have created a CAPM project, I have used the manage to automatically insert the "createdAt","createdBy", "modifiedAt","modifiedBy" data its not filling automatically and giving null values on result

my CDS

my csv data

The result which i am getting

Accepted Solutions (0)

Answers (1)

Answers (1)

seVladimirs
Active Contributor

Those attributes are field automatically by generic server handlers, which means if you do a "POST" request to that service it will automatically fill those fields, more can be found here https://cap.cloud.sap/docs/guides/providing-services#generic-handlers-for-managed-data

But in your case, since you are uploading data using CSV those fields will be not automatically updated/inserted, and you would need to define them explicitly in the CSV itself.

Ahmedkhan29789
Participant

Thanks Vlad for the help.

Ahmedkhan29789
Participant
0 Kudos

Hi Vlad,

In continuation of this, I was trying to POST the data to my hana database table but getting error "Connection is being rejected. The service isn’t running on the server, or incorrect proxy settings in vscode, or a firewall is blocking requests. Details: RequestError: connect ECONNREFUSED 127.0.0.1:4004."

I mentioned it in another question on community, Can you also suggest some solution for this as well