cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP RAP - failed response parameter - available causes

clemrngt
Participant
0 Kudos
262

Hello all,

Today, in FAILED response parameter of a validation in RAP, we can put some causes in %fail :

not_found
locked
unauthorized
disabled
readonly
dependency
conflict
unspecific

Can we have more causes ? For example 422-unprocessable ?  I can see it's commented in the enum

clemrngt_1-1745842526877.png

 

clemrngt_0-1745842421842.png

If no, do we know why we don't have more causes ?

 

 

EXAMPLE :

I put the enum field "conflict" on failed response parameter :

clemrngt_1-1745911477025.png

With this, the HTTP code in the response is 409 - Conflict

clemrngt_0-1745911449431.png

 

I would like to do the same but with 422

 

thx !

Accepted Solutions (0)

Answers (0)