Part 11: Add an alternative key and use the number...
Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
In this video you will learn how to add an alternative key (primary key) to your custom BO. You will also learn how to use a re-use library for generating incremental numbers for the key.
Usually this is something you start with but I missed it in my first tutorials as I was fine with the always present UUID but for the following content we are going to need the alternative key and anyway it is best practise to have it as the UUID is even less "human" friendly then any other ID.
The video shows you in 4 minutes how to add the alternative key, create a logic that draws a number on the initial create and also how we update our existing records in our solution.