SAP EP - How to redirect in case of a reqest for a non-existent portal pag

Hello,
I am not 100% sure if this is the right forum to ask my question but I will give it a try anyway.
I would like to customize the error handling of the SAP EP 6.0 in the following way. If a user tries to access a page of the portal that does not exist, the user should receive an error page describing the problem occured and should be redirected to the homepage after a short period of time.
In a portal environment with default configuration the user would immediately be redirected to the homepage. There is no error message displayed.
Does anyone know where to start digging? I think I need a better understanding of SAP EP error handling. I appreciate all answers, hints and suggestions.
Cheers
Martin
Message was edited by: Martin Kellermann
Message was edited by: Martin Kellermann

Hi guys,
I am sorry to start discussion on that topic again. But I definitely need some help. Due to Samuli's help I have been able to modify the error handling of the portal in the following way.
<b>Customization:</b>
User attempts to access a wrong url within the portal (e.g. http://<portal_server>:50000irjportalwrongurl). Instead of the standard "404 the requested resource is not available" error page I see my own error page. That's nice.
<b>What did I do:</b>
I added the following lines to the portal's web.xml (/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-infweb.xml):
<error-page>
  <error-code>404</error-code>
  <location>/customerrors/404.html</location>
</error-page>
Additionally, I created a the 404.html file and put it in folder (/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/customerrors/.
<b>What else?</b>
Well, I am using KM to make files accessible through the EP platform. If I access a KM file via the portal (http://<portal_server>:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/Public%20Documents/Testfile.txt)an extra window opens and shows me the content of the file. In case I enter a wrong url (e.g. http://<portal_server>:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/Public%20Documents/wrong_file_name.txt)I see the standard "404 The requested resource is not available" error page. But I want to see my customized error page.
<b>How to</b>
I think I have to modify the web.xml of the KM the same way I did for the portal. But I do not know where to find the KM web.xml? Please could someone advise me where to look?
I appreciate all kinds of help!
Martin

Similar Messages

  • HT5616 I have an apple id; but when I try to sign in to iCloud, I get the msg that the apple id is not an iCloud account.  However, apple was able to bill me for my non-existent iCloud account.  How does that happen?

    I have an apple id; but when I try to sign in to iCloud, I get the msg that the apple id is not an iCloud account.  However, apple was able to bill me for my non-existent iCloud account.  How does that happen?

    If you didn't create an iCloud account on an iOS device or Mac, you don't have one.  You can't create an account on a PC.  If you were charged for an iCloud storage upgrade without having an account, contact the Apple online store at the bottom of this page for a refund.

  • How do I restore my iPhone 4s when it asks to put in a password for a non existent iCloud account?

    how do I restore my iPhone 4s when it is asking me to sign into a non existant iCloud account?

    Do you have a second hand device and the Activation Lock has not been removed by the previous owner?
    Check the status of the Activation Lock on your computer by using this link: icloud.com/activationlock
    If the Activation Lock is still active and this is not one of your Apple ID's, if you are using more than one, contact the previous owner to have the Activation Lock removed:
    What if I purchase a device that is still linked to the previous owner's account?
    Contact the previous owner as soon as possible and ask them to erase the device and remove it from their account. Learn how to remove a device from a previous owner's account.
    copied from Find My iPhone Activation Lock

  • How to create the IView and Roles ,User for WebdynPro Application in Portal

    Hi,
           I have one simple webdynpro application. i want to create the user,Role and Iview for my webdynpro application in the Portal . after that i need to assign the roles to the user and i want to see the different output for each user depends upon the Role.
      Can anyone give me Tutorial page(PDF) or Guide me How to do?
             Thanks in Advance
    Regards
    Ramkumar

    Hello Ramkumar,
    following please find the link to available documentation in SAP Help Portal:
    http://help.sap.com/saphelp_nw70/helpdata/en/42/fa080514793ee6e10000000a1553f7/frameset.htm.
    Regards,
    SAP AG
    Gesine Raith

  • How to prepare a url in mail to link to a specific portal page in WLP7.0 ?

    Dear All,
    I have a web site implemented by WLP7.0. Now I need a function that user
    can go to
    a specific page by the mail that the web site sent to him.
    Could someone tell me how to implement it, how to handle the session and
    if this specific
    page need login how to handle it ??
    Any comment will be a great help to me.
    Robert

    Hi Ram,
    You can create an URL iview and below is the link that helps you in doing that
    http://help.sap.com/saphelp_nw70/helpdata/EN/4c/eee2bedf3b4082b14a933e5ee63472/frameset.htm
    reward points if helpful

  • How can I remove the header and footer for more space in my Pages docs?

    I could really use the extra space on my docs. How can I get rid of the header and footer?
    Thanks

    Hi Timothy
    Just to detail exactly where to find the options:
    +Inspector > Document > Document > Document Margins > Headers/Footers+
    +commnd option i+ shows and hides your Inspector palette/s.
    Peter

  • How do I get the numbers to appear for links on a web page

    This is an accessibility feature I once had and now can't remember how to do it.
    It allowed me to enter a number rather than clicking on a link

    *Mouseless Browsing: https://addons.mozilla.org/firefox/addon/mouseless-browsing/

  • How do I set up my InDesign file for a Perfet Bound 80 Page book when i have images overlapping a two page spread

    I am looking to create a photo book that is going to be perfect bound. How do I set up the pages in InDesign so that the images that span two pages line up correctly?

    Are you printing this yourself, on a network copier for example? If it's going to be printed on an offset press, it will have to be imposed by prepress techs, and it's their job to make sure that the pages are aligned correctly. There will be some part of a cross-spread image that will be lost in the spine, and their imposition method will take into account whether pages need to be moved outward from the spine by small amounts (called creep) to compensate for the wrap-around that is a part of bindery, but perfect binding isn't as bad as saddle stitch as far as that goes. Talk to your printer, but you will likely just need to compose the book in normal facing-page readers spreads and provide a multi-page PDF (not exported as spreads). They will impose the pages into printers spreads, and thank you for not doing that yourself. There will be aspects of their production that you won't or can't know about, and if you impose it, it will just make it harder for them if they have to undo what you have done incorrectly.

  • How do I set the options to check for newer versions of stored pages so I get a new refreshed version every time I visit a web page?

    I can do this in IE easily but can't find any place in Firefox for this setting. Every time Firefox starts and/or I visit previously viewed pages I want Firefox to refresh the page. It used to do this before I downloaded a new version of Firefox within the past couple months. (I wish I had not installed the new version, I really don't like it as well and I lost features I used.)

    See:
    *http://kb.mozillazine.org/browser.cache.check_doc_frequency
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold(user set).
    *Preferences can be reset to the default or changed via the right-click context menu.

  • How to stop firefox from blocking secure info from reaching non-secure web page? It's causing purchased products to not be delivered

    This is a new problem that is showing up not only in my software but many others. My software uses PayPal to process online purchases. PayPal is an secure site. When the customer returns to our site they land on a thank you page. The thank you page must receive the ipn message from PayPal to know what product download page to load for the customer so they receive the correct products, which they just purchased.
    FireFox is blocking this information from the secure site to our unsecure site and causing the customers not to receive download information.
    FireFox used to work well with our product delivery system but the latest update is causing all kinds of problems. To you have a fix for this inconvenience you browser is causing customers and companies who use a third party processing system?
    Best regards,
    Steve Yakim

    What is the exact error you are receiving? This will help us diagnose the issue in a better way.

  • What kind of a case should I get for my video iPod?

    Hi, I want to get a case to protcet my video iPod. I have a 30 GB iPod. I was wondering what type of case works well for protecting you iPod? Does anyone have any recommendations? How musch do iPod cases cost?
    Thanks for your help,
    lizabler
    Fifth Generation iPod 30 GB
      Windows XP  

    You'll probably get a lot of opinions with iPod cases. Sometimes they are good, sometimes people report that they actually scratch an iPod.
    Some iPod cases can be found at Apple's online store:
    http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wa/RSLID?find=ip od+case
    Be sure to click "Next" to go to the further pages to see all (or more of) the results for iPods cases.
    Also, you might want to search the Discussions for suggestions with specific iPods cases; this is a question that is asked very frequently, so you might find more answers by searching the Discussions:
    Apple - Support - Discussions - Search Results: ipod case
    Sorry I can't directly suggest any specific ones, but searching for various answers on here might really be helpful.
    -Kylene

  • How to activate Extended Rebate Processing in Customizing for billing?

    sap gurus:
    How to activate Extended Rebate Processing in Customizing for billing?

    SAP Knowledge Base Article
    1520390 - Activation of Enhanced Rebate Functionalities - IMG Customizing Transactions - SAP Menu
    Version 1 Validity: 19.10.2010 - active
    Language English
    Symptom
    Enhanced Rebate Functionality is not available and should be activated
    In the customizing IMG (Transaction SPRO) the node for Extended Rebate with the relevant customizing transactions are not visible
    The SAP Menu does not include the transactions for Extended Rebate
    Environment Enterprise Function EA-ISE must be available in the system (visible in transaction SFW5).
    Reproducing the Issue
    Call transaction SPRO
    Node Extended Rebate Processing is missing:
    IMG
    Sales and Distribution
       > Billing
            > Rebate Processing
                 > .................
    Resolution To activate the Extended Rebate Processing and make the node and customizing transactions visible proceed in the following way:
    Call transaction SFW5   
    In the folder ENTERPRISE_EXTENSIONS choose the function EA-ISE
    Activate this enterprise extension
    Thereafter the menu path in SPRO for Extended Rebate Processing will be visible:
    IMG
    Sales and Distribution
       > Billing
            > Rebate Processing
                > Extended Rebate Processing
                            * Settings for Agreement Types
                            * Set up Variable Key for Rebate Settlement
                            * Check Variable Key for Rebate Settlement
                            * Activate Extended Rebate Processing
                            * Simulate And Execute Reorganization of Statistical Data
    Furthermore the users will have the relevant transactions available in the SAP Menu:
    SAP menu
      > Logistics
         > Sales and Distribution
              > Billing
                   > Rebate 
                        > Extended Rebate Processing
                             * RBT_ENH_VB7 - Extended Rebate Settlement
                             * RBT_ENH_ACT - Update of Indirect Sales
                             * RBT_ENH_PLAN - Update of Indirect Planning Data
    For futher infomation on the extended rebate process please refer to the following links of SAP help portal:                     
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/5a/5b9b3c0f4da40ee10000000a11405a/frameset.htm
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/79/a5ee3c1f63a518e10000000a11405a/frameset.htm
    Keywords
    Extended rebate agreement, extended rebate processing, erweiterte Bonusabwicklung, Menü, Pfad nicht vorhanden, aktivieren, erweiterter Bonus, Bonusabsprache
    Header Data
    Released On
    21.10.2010 08:01:20
    Release Status
    Released to Customer
    Component
    SD-BIL-RB-ENH Enhanced Rebates
    Other Components
       SD-BIL-RB Rebate Processing
    Priority
    Normal
    Category
    How To
    Product    
    Product
    Product Version
    SAP ERP Central Component
    All versions
    SAP R/3 Enterprise 4.7
    All versions

  • How to remove 'Back to form' from portal page.

    How can I remove the 'Back to form' and tick from a portal page?

    I'm assuming you are creating a form from a procedure. Edit the form. The first page you see, scroll to the bottom. You'll see a text area where you can use the go('') statement. You'll redirect the submitted portlet to the page that displays your portlet. This skips the link.

  • :-)  How can we change the default file path for Bank file ( dmee ) ?

    Hi All,
    We encounter a problem.
    Electronic bank file ( created after a F110 run ) are created, in an automatic way to the DIR_TEMP directory. ( On the SAP server )
    How can we change the default file path for Bank files ( dmee ) ?
    We'd like to specify another path.
    Thx for your help.
    Erwan

    Hello,
    Make sure that you have created the directory in transaction code AL11 with the help of basis consultants.
    You can link your PC directory to the application server.
    You can maintain the path whether your file needs to get saved in OBPM4 against your DMEE structure example GB_BACS etc.
    If you do not maintain any path in OBPM4, then the file gets saved to temporary directory. If you give the directory path name in OBPM4, then the file gets saved to that directory with numbers 0001, 0002, 0003 etc till it reaches 9999 and reset from the beginning.
    If you give the path as well as file name as ABCD, then the file gets generated to that directory folder with ABCD0001, ABCD0002, ABCD0003 etc. till it reaches ABCD9999 and reset from the beginning.
    Hope this solves your problem.
    Regards,
    Ravi

  • In Internet Explorer, in the internet options, you can change the temporary internet files to check for newer versions of stored pages. Can this be done in Firefox? And How?

    I just want to know how I can change the settings to check for newer versions of stored pages in Firefox.

    There is a hidden preference that controls when Firefox checks for a newer version. # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''browser.cache.check_doc_frequency''', double-click on it to change its value
    For details on the possible values of his preference see http://kb.mozillazine.org/Browser.cache.check_doc_frequency

Maybe you are looking for