Following help page describes the process of adding customized error page only for 503 response code:
Although the process is described in details some of actions may be tricky. There is also no information about the approach for response codes other than 503.
KBA , CEC-HCS-CCAZ-WEB , Web Layer - Apache , How To
About this pageThis is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).
Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.