cancel
Showing results for 
Search instead for 
Did you mean: 

default values for action parameters from function in the behavior of RAP in Odata v4

amo_ry
Participant
932

I made an action with parameters 

amo_ry_0-1714754439862.png

and i want to put default values in this parameter , so i created a function GetDefaultsForGET_SERIAL

amo_ry_1-1714754503752.png

i am trying to default it in the action like this : 

amo_ry_2-1714754603055.png

but it is not supported in my release . 

so i am trying to add it in the annotation file : 

it works with ODATA V2 with these annotations : 

amo_ry_3-1714754721350.png

but i am trying in ODATA V4 but not working: 

amo_ry_4-1714754788866.png

can any one help ? 

 

Accepted Solutions (0)

Answers (1)

Answers (1)

AnmolBhatHD
Explorer
0 Kudos

Hi @amo_ry ,

 

I also ended up with same situation, did you get any result for this problem?

May be @Andre_Fischer  could help.

Andre - Do you know if there is another annotation for Odata V4 for setting up default values.

We do not have option to use default function as this is only available on Public Cloud.

Regards,

Anmol

 

saurabh__khare
Participant
0 Kudos
Did you find a solution for this? Why can't SAP provide an easier way of down porting these new features to lower releases? 😐