2025 May 25 12:54 PM - edited 2025 May 25 5:21 PM
Hello Experts,
While working on a simple RAP program as part of the "Building Apps with the ABAP RESTful Application Programming Model" course, I encountered something that I’m having trouble understanding.
Why the below piece of code is required before raising the actual error?
APPEND VALUE #( %tky = travel-%tky
%state_area = 'VALIDATE_CUSTOMER'
) TO reported-travel.Any guidance or insights would be greatly appreciated!
ABAP RESTful Application Programming Model , SAP Fiori for SAP S/4HANA
Request clarification before answering.
@Abhinandan_Dutt
The section "Invalidating State Messages" of the RAP document explains why that piece of code is required. In a nutshell, it is for invalidating (clearing) previous state messages. Without it, duplicate error messages will appear on the UI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.