on 2024 Jan 12 3:40 AM
Hi experts, I hope all is going well!
Happy new year for all!
I've created SAP RAP with validation and determinations, and everything is working well, however, when I create app in BAS from template and set true for "Multi Edit" and try to update many items, it's working properly and when I try to return error from my validations, it's still updating database but when I do only for one from object page, it's working properly.
I tried to find a note but nothing.
Debugging mode I've found this interface IF_RAP_FAILURE_REPORTER~ADD_FAILED that set the error, but I noticed it only works in strict mode
I tried some stuffs such as, change strict mode from behaviour definition ( entity and projection ) and nothing, I'm trying to find one point to pass true instead false.
OBS:
- local service,
- S/4H 2022 FPS FPS01
Any clue??
Cheers,
Luiz Eduardo
Request clarification before answering.
Hi experts,
I sorted that,
I've traced the service and noticed in header there was a parameter called "Prefere" and value "handling=strict", actually I don't know why when we edit multiple items it doesn't set it in header parameter, well, I just set it before save and worked well.
Parameter:
"Prefer": "handling=strict"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
30 | |
22 | |
16 | |
8 | |
7 | |
7 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.