
SAP ICF allows a service to define its own error response. This is useful when the default page exposes more technical information than an application needs to show.
What to check
Open SICF in the development system and locate the exact service. Double-click it and open the Error Pages tab. Inspect the available error categories, such as logon, application and inaccessible-service errors. Select the supported response configuration for the category you need. Keep messages generic and avoid displaying system IDs, paths, stack traces or user details.

Validation and precautions
Test unauthenticated and authorized requests separately. Check the actual HTTP status and response body; a branded page must not mask a genuine authentication or server failure. Errors generated by a reverse proxy or Web Dispatcher may require separate configuration. Transport or reproduce the approved configuration using the supported procedure.
Reference
SAP Note: 3774729
SAP Help: Documentation
