cancel
Showing results for 
Search instead for 
Did you mean: 

Users and dates are not being saved in my RAP application.

ronaldo_aparecido
Contributor
0 Kudos
227

This is my basic CDS view:

ronaldo_aparecido_0-1746603666206.png

This is my projection view:

ronaldo_aparecido_1-1746603787613.pngronaldo_aparecido_2-1746603828092.png

These are my defined behaviors:

ronaldo_aparecido_3-1746603943660.pngronaldo_aparecido_4-1746603967606.png

My question is why when I save a new created record the fields 'Criador' (created by), Data criação(date created), Modificador (Modifier) ​​and Data modificação (Date Modification) are not saved and appear blank afterwards:

ronaldo_aparecido_5-1746604383966.png

ronaldo_aparecido_6-1746604440549.pngronaldo_aparecido_7-1746604492745.png

 

 

Accepted Solutions (1)

Accepted Solutions (1)

ronaldo_aparecido
Contributor
0 Kudos

@MioYasutake  this is the behavior : 

ronaldo_aparecido_0-1746725522642.png

Do you have a sample of mapping between the CDS View and the persistent table for the date and user fields? Thanks.

MioYasutake
Active Contributor

@ronaldo_aparecido

Here is a snippet of sample mapping. 

  mapping for <persistent_table_name>
  {
    <cds_field1> = <table_filed1>;
    <cds_field2> = <table_filed2>;
  }

 

Answers (2)

Answers (2)

ronaldo_aparecido
Contributor
0 Kudos

@MioYasutake  

I tried this mapping but it didn't work :

ronaldo_aparecido_0-1746801423228.png

because when i try to create a new record the data is not saved:

ronaldo_aparecido_0-1746802597782.png

 

 

suzanne_alivand
Explorer
0 Kudos

Hi,
Make sure you did the mapping for all the fields common between your table and CDS view, could you share the message on (/IWFND/ERROR_LOG), maybe it shows the reason of why you are getting this error!

MioYasutake
Active Contributor
0 Kudos

@ronaldo_aparecido 

Please ensure that the behavior definition includes the mapping between the CDS View and the persistent table for the date and user fields.