Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: WEBDYNPRO_RT - Message class of Web Dynpro runtime
Message number: 025
Message text: Commit canceled; request is not XSRF-checked
The active request could not be checked against XSRF attacks. The
application attempted anyway to execute a commit work to the database.
The Web Dynpro ABAP framework interrupts the commit work with an error
message.
When changes are made to the database, ensure that the request can be
checked against XSRF beforehand. With stateless applications this can be
done by using method POST-UPDATE for the Form UI element. This ensures
that relevant security features can be assigned for the request.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
WEBDYNPRO_RT025
- Commit canceled; request is not XSRF-checked ?The SAP error message:
WEBDYNPRO_RT025 Commit canceled; request is not XSRF-checked
Cause
This error occurs in SAP Web Dynpro applications when a commit operation is attempted but the HTTP request has not passed the XSRF (Cross-Site Request Forgery) token check. SAP Web Dynpro uses XSRF tokens to protect against CSRF attacks by ensuring that state-changing requests (like commits) come from a trusted source.
If the request does not contain a valid XSRF token or the token is missing/invalid, the framework cancels the commit to prevent potential security risks.
Explanation
Ensure XSRF Token is Requested and Sent Properly
X-CSRF-Token: Fetch
X-CSRF-Token: <token_value>
X-CSRF-Token: <token_value>
In Web Dynpro ABAP
Check for Custom Code or Extensions
SAP Notes and Patches
SAP Help on XSRF Protection:
SAP Help Portal - XSRF Protection
SAP Community Discussions:
Search for "WEBDYNPRO_RT025" or "XSRF token commit canceled" for community solutions and examples.
Web Dynpro ABAP Programming Model:
Ensure you follow the recommended patterns for commit and transaction handling.
Aspect | Description |
---|---|
Cause | Commit canceled because the HTTP request lacks a valid XSRF token (security check failed). |
Effect | Data changes are not saved; error message WEBDYNPRO_RT025 is raised. |
Solution | Ensure the client fetches and sends the XSRF token with commit requests; fix custom code. |
Prevention | Use standard Web Dynpro APIs and follow SAP security guidelines for XSRF protection. |
If you provide more details about your scenario (custom code, Web Dynpro version, how the commit is triggered), I can help with more specific guidance.
Get instant SAP help. Sign up for our Free Essentials Plan.
WEBDYNPRO_RT024
You do not have authorization for transaction &
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
WEBDYNPRO_RT023
ICF service node "&" is not active (see SAP Note 517484)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
WEBDYNPRO_RT026
Client (&) is not active; eCatt rendering not active
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
WEBDYNPRO_RT027
You are already registered for changes in the browser history
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.