Skip to Content
0
May 16, 2023 at 07:22 PM

Primary Key update in RAP

883 Views Last edit May 16, 2023 at 07:23 PM 2 rev

Hello All,

We have a requirement, where the CDS have 3 primary keys, out of which 2 keys will be entered by the user, and the 3rd primary key should be auto populated based on the 2 keys, that were entered by the user.

Consider in the Fiori app, user enters value as A and B for the first two primary keys, on clicking save, the third primary key should be auto-populated as A-B.

Is this possible? While checking the SAP help documentation, I see the concepts of UUID, late numbering, Early numbering concepts, but unable to find a way to achieve the above functionality.

Thanks,
Naga