Skip to Content
0
Jan 22, 2023 at 10:48 PM

Default values to the object page

514 Views

Hello,

I have a managed scenario and using Odata V2 in restful ABAP.

I am trying to pass default value to a field in the object page while creating a new record using 'augment' in

my projection behavior definition with below code.

use create(augment);

This lets me put my code in a custom class and I was expecting this code would get triggered when we navigate from list report page to the object page. But instead this is getting triggered when I input all the details and click on create button.

wanted to check if this is not the right way to put the default values into the fields.

thanks in davance.