Can we show custom error message if the user fail to log in MII system.

Hi,
Is it possible to show a custom error message when a log in is failed because of access restrictions?
I am using xMII version 11.5
Thanks
Regards,
Neha Maheshwari

Since you are on 11.5, it is possible to make edits to some of the system jsp pages, etc. but it would NOT be my recommendation to do so.  Since the NetWeaver versions for MII 12.0 and beyond use UME for the login instead of the LHSecurity engine, this would be a very short term change.
What specific changes would you like to make, the login page messages, query result messages, applet messages?

Similar Messages

  • How to show custom error message in WebADI Excel template?

    Hi,
    I've  created a custom Web ADI integrator and associated it with a 'Procedure' based custom interface.
    WebADI Interface API Returns is set to  "Error Message".
    I'm using  raise_application_error(-20001, "Actual Error Message") for invalid rows,but custom error message from PL/SQL  is not populated on the excel template.
    Instead it is showing "SQL exception occurred during PL/SQL upload".
    Am I missing anything? How to show custom error message from Pl/SQL procedure to WebADI Excel template?
    TIA
    Narasimha

    The custom API errors are visible in the BNE log but not on the Excel.
    BNE Log=>
    12/10/13 2:52 PM Web ADI Upload Job 13008 ERROR          BnePLSQLUpload.doUpload: Exception while uploading to PL/SQL API.  Error Code: 20001, Message: ORA-20001: -Please enter CONTAINER_ID -  Enter PO_NO -
    ORA-06512: at "APPS.XXPO_COSTFACTS_WEBADI_PKG", line 264
    ORA-06512: at line 1
    12/10/13 2:52 PM Web ADI Upload Job 13008 ERROR          BnePLSQLUpload.doUpload: Stack trace: java.sql.SQLException: ORA-20001: -Please enter CONTAINER_ID -  Enter PO_NO -
    ORA-06512: at "APPS.XXPO_COSTFACTS_WEBADI_PKG", line 264
    ORA-06512: at line 1
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
      at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
      at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
      at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:202)
      at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1005)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1307)
      at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3449)
      at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3550)
      at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4710)
      at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
      at oracle.apps.bne.integrator.upload.BnePLSQLUpload.doUpload(BnePLSQLUpload.java:284)
      at oracle.apps.bne.integrator.upload.BneSAXUploader.processDeepestLevel(BneSAXUploader.java:2346)
      at oracle.apps.bne.integrator.upload.BneSAXUploader.startElement(BneSAXUploader.java:1182)
      at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:181)
      at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
      at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
      at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
      at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:234)
      at oracle.apps.bne.integrator.upload.BneUploader.processUpload(BneUploader.java:301)
      at oracle.apps.bne.integrator.upload.BneAbstractUploader.processUpload(BneAbstractUploader.java:114)
      at oracle.apps.bne.integrator.upload.async.BneAsyncUploadThread.run(BneAsyncUploadThread.java:140)
    12/10/13 2:52 PM AJPRequestHandler-HTTPThreadGroup-5 WARNING        BneOracleWebAppsContext.getTimeZone CLIENT_TIMEZONE_ID has not been set
    12/10/13 2:52 PM AJPRequestHandler-HTTPThreadGroup-5 ERROR          BneOracleWebAppsContext.getExtraJDBCConnection recieved the same connection as the base connection.  There may be transaction problems.
    How to show the same error in the excel template?
    Here is the package:
    CREATE OR REPLACE PACKAGE BODY APPS.XXPO_COSTFACTS_WEBADI_PKG
    AS
       PROCEDURE upload_data (
                              P_CONTAINER_ID IN VARCHAR2
                            , P_SAIL_DATE IN DATE
                            , P_PO_NO IN VARCHAR2                     
                             ) IS
        --declare
        lv_err_msg      VARCHAR2(240);
        lf_err_flag     NUMBER := 0;
        ln_temp         NUMBER;
        BEGIN
        --------------------- checking for mandatory parameters---------------------------
          IF (P_CONTAINER_ID IS NULL) THEN
             lf_err_flag := 1;
             lv_err_msg := lv_err_msg||'-'||'Please enter CONTAINER_ID - ';
          END IF;
          -------------Validation for Sail Date Format----------------------
          IF (P_SAIL_DATE IS NULL) THEN
             lf_err_flag := 1;
             lv_err_msg := lv_err_msg || ' ' || 'Enter Sail Date - ';
          ELSE
             BEGIN
                SELECT 1
                  INTO ln_temp
                  FROM DUAL
                 WHERE P_SAIL_DATE =  TO_DATE (TO_CHAR (P_SAIL_DATE, 'DD-MON-YYYY'), 'DD-MM-YYYY');
             EXCEPTION
                WHEN NO_DATA_FOUND THEN
                   lf_err_flag := 1;
                   lv_err_msg := lv_err_msg || ' Enter Sail date in DD-MON-YYYY Format';
                WHEN OTHERS THEN
                   lf_err_flag := 1;
                   lv_err_msg := lv_err_msg || ' Enter Sail date in DD-MON-YYYY Format'|| SQLERRM;
             END;
          END IF;
          -------------Validation for PO_Number----------------------
          IF (P_PO_NO IS NULL) THEN
             lf_err_flag := 1;
             lv_err_msg := lv_err_msg || ' ' || 'Enter PO_NO - ';
          ELSE
             BEGIN
                SELECT count(1)
                  INTO ln_temp
                  FROM PO_HEADERS
                 WHERE Attribute4 =  P_PO_NO;
             EXCEPTION
                WHEN NO_DATA_FOUND THEN
                   lf_err_flag := 1;
                   lv_err_msg := lv_err_msg || ' No Oracle PO for Biceps PO#'||P_PO_NO;
                WHEN OTHERS THEN
                   lf_err_flag := 1;
                   lv_err_msg := lv_err_msg || ' Error getting the Oracle PO for Bicpes PO#'||P_PO_NO||' Error-' || SQLERRM;
             END;
          END IF;
         -----------------------Insert Record----------------------------
         IF lv_err_msg is NULL THEN
         BEGIN
             INSERT
              INTO XXP2P_HW_COST_FACTORS_STG
                     CONTAINER_ID
                    ,SAIL_DATE
                    ,PO_NO
                    , ERROR_FLAG
                    , ERROR_MSG
                   ,CREATED_BY
                    ,CREATION_DATE
                    ,LAST_UPDATED_BY
                    ,LAST_UPDATE_DATE
                    ,LAST_UPDATE_LOGIN              
                VALUES
                     P_CONTAINER_ID
                    ,P_SAIL_DATE
                    ,P_PO_NO              
                    ,lf_err_flag
                    ,lv_err_msg
                  ,FND_GLOBAL.USER_ID
                    , trunc (sysdate)
                    ,FND_GLOBAL.USER_ID
                    , trunc (sysdate)
                    ,FND_GLOBAL.LOGIN_ID              
                  --  commit;
                  DBMS_OUTPUT.put_line
                    '-' || 'After ap_invoices_interface'
            EXCEPTION
            WHEN OTHERS THEN
              ROLLBACK;
              lf_err_flag := 1;
              lv_err_msg  := lv_err_msg || ' ' || 'error loading CONTAINER_ID-' || P_CONTAINER_ID || SQLERRM;
              raise_application_error(-20001, lv_err_msg);
            END;
        ELSE
              raise_application_error(-20001, lv_err_msg);
        END IF;
      END upload_data;                        
    END XXPO_COSTFACTS_WEBADI_PKG;

  • Print a custom Error message in the XML bursting program's log file...

    Hi,
    I having this requirement, where i need to print a custom error message in the xml bursting program's log file.
    Actually i am having a report where i create invoices and then those invoices are emailed to the respective customers, now say if a customer has three contacts and there is only two valid email id's so what happens is bursting will be successful for two contacts whereas the third contact dosen't get any emails. when this happens i need to log a message in the bursting programs log file stating a custom message.
    Two things i want to know..
    1- Whether is it possible to write into the xml bursting programs log file
    2- If yes, then how..
    note: it ll be greatly appreciated if the answer is elaborated.
    thanks,
    Ragul

    Hi,
    I having this requirement, where i need to print a custom error message in the xml bursting program's log file.
    Actually i am having a report where i create invoices and then those invoices are emailed to the respective customers, now say if a customer has three contacts and there is only two valid email id's so what happens is bursting will be successful for two contacts whereas the third contact dosen't get any emails. when this happens i need to log a message in the bursting programs log file stating a custom message.
    Two things i want to know..
    1- Whether is it possible to write into the xml bursting programs log file
    2- If yes, then how..
    note: it ll be greatly appreciated if the answer is elaborated.
    thanks,
    Ragul

  • How to display custom error message if the Required field is not entered?

    Hi,
    I have made one input field as required field in a view.
    I want to display one custom error message ,if the required input field is not entered.
    Please help me regarding this.
    Thanks,
    Deepika

    hi deepika....
    First go to message pool under webdynpro components.
    Create a new message there..of type error.
    Enter your text.
    Now to avoid null pointer exception , in wdDoInit(), initialise the value
    wdContext.currentDateTimeElement().setDate("");
    now create an action for submission of data. If field is empty, then within the button write:
      msg = wdComponentAPI.getComponent().getMessageManager();
        if(wdContext.currentDateTimeElement().getDate().equals(""))
        msg.raiseMessage(IMessageCompTodatDateTime.ERROR,new Object[]{""},true)     ;
    between begin others put:
    regards,
    pinki
      IWDMessageManager msg = null;

  • Can receive but not send emails in Outlook 2010 - error message 0x8DE000006 The operation failed

    I an @outlook.com email in my Outlook 2010 which worked well at first.
    It now come up with the error message - error message 0x8DE000006 The operation failed and on my Sync Issues it has the following note:
    19:35:57 Error: 3209. Server. We noticed some unusual activity in your Hotmail account. To help protect you, we've temporarily blocked your account.. 
    19:35:57 Contact Support (with the live link which brought me here)
    Which brought me here......any support would be amazing! Thanks

    19:35:57 Error: 3209. Server. We noticed some unusual activity in your Hotmail account. To help protect you, we've temporarily blocked your account.. 
    From this message, it seems that your Outlook.com account is blocked due to some unusual activity. Please first try login to your webmail and check if you can send emails from there. If you can't send email even from webmail, we may try to follow the following
    instructions to unblock your account to resolve the issue:
    http://windows.microsoft.com/en-IN/windows/outlook/account-temporarily-blocked
    Hope this helps.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • HT1926 I have just updated itunes on my pc (widows XP) to the latest version. When I try to open it i get an error message saying the application failed to start because MSVCR80.dll could not be found. Not sure how to resolve this. Have tried to reinstall

    I have just updated itunes on my pc (windows XP) to the latest version. When I try to open it I get an error message saying the application failed to start because MSVCR80.dll was not found< Have tried reinstalling with no luck. Any ideas?

    try removing all itunes and all other apple program
    follow this link for more info. http://support.apple.com/kb/HT1923
    reboot ur window after uninstalling
    after that download the latest itunes setup and install.

  • My iPhone keeps showing an error message and the external speaker wont work

    Ok I have had my iPhone 3GS about 3 months now and recently it has started showing an error message "This accessory is not optimized for this iPhone, you may experience noise caused by mobile interference and a decrease in mobile strength". The external speaker will not work either, the only sound it will produce is the ringtone. Any other sound, message tone, sounds from apps, songs on my ipod, sounds from videos, will not be produced! Although when i plug the head phones in the sound will work for everything and then this error message will come up again and the sound will stop working. It's like the phone thinks it is plugged into a docking system or something. Also the phone will lose signal for long periods of time and sometimes not come back unless i restore the phone. I have tried EVERYTHING and nothing has worked, can anyone help me please?

    Or you can try what lots of other people have found, and thats that the base connector is dirty and the contacts are shorted by some debris.
    The Apple store guys are good at cleaning them out - if you do it yourself, do not use any liquids at all.

  • The custom error message in the bank application is displaying in English

    Hello Team,
    The custom error message for a blank institution number in the bank application is displaying in English when the user is logged in French. See attached screen shot.
    ESS --> Personal Information --> Bank Information.
    Could any one let me know the procedure in solving the error. Helpful answer is highly appreciated.
    Thanks,
    Sankar

    Hi,
    sandip is correct, go to SE11 Table T100.
    I did it this way: Searched for (in my case) SPRSL = DE and TEXT = "Bitte Bankschlüssel eingeben" (that's the said error message). With the upcoming result I got the message ID and message Number, these are:
    ARBGB = 'AR' MSGNR = '195'
    ARBGR = '1J' MSGNR ='510'
    Maintain them for your SPRSL and you should be fine.
    regards, Lukas

  • How can I disable RPS error messages in the AS5300 ?

    How can I disable de error message:
    " %RPS-3-MULTFAIL: There is more than one failure with the Redundant Power System; please resolve problems immediately "
    in the AS5300 with RPS Chassis and normal single power supply ?

    If you only have a single power supply,
    I would try swapping it (or swapping
    slots) to verify if it is the problem.

  • Show custom Error message in MB_CHECK_LINE_BADI

    Hi to all!
    I'm using MB_CHECK_LINE_BADI to make some validation before posting the document.
    The problem is this:
    When I try to show an E message from a Z message ID, te message isn't shown correctly.
    For example:
    if sy-subrc <> 0.
    v_txt = 'ERROR'.
        message E001 (Z_MSG) with v_txt.
    endif.
    Message ID Z_MSG, Message Number 001 = 'This is an example of an'.
    The message is show like this: S:Z_MSG: ERROR
    instade of This is an example of an ERROR.
    I realize that the only E messages that are shown correctly are those which Message ID and Message number are in the T159F table.
    Does any one knows if I have to update tihs standard table and how?
    Or how can I do to show my E messages correctly?
    Thanks a lot!
    Nico.-

    Hi,
    Yes, you can do that. You would need to create a page validation that loops through the records in the tabular form, checks the values entered and then returns an error message.
    Create a new validation. Set it to a Page level validation, select PL/SQL and then Function returning error text, then give it a name. The PL/SQL will be something like:
    BEGIN
    FOR i IN 1..APEX_APPLICATION.G_F01.COUNT
    LOOP
      IF TO_NUMBER(APEX_APPLICATION.G_F04(i)) > 100 THEN
       RETURN 'Item ' || TO_CHAR(i) || ' - DEPTSAL must not be greater than 100';
      END IF;
    END LOOP;
    RETURN NULL;
    END;This will loop through the records in column 4 and check the amount. If it is greater than 100, an error message is generated displaying the row with the error. This will stop the process on the first error. If there are no errors NULL is returned which indicates that the validation test has passed.
    You should replace G_F04 with the correct column for your page - do a View Source on the loaded page and check for the "name" attribute for the column. G_F04 is for "f04", G_F05 is for "f05" etc.
    Andy

  • Suddenly, Firefox is very slow and lethargic and keeps showing an error message on the side of the page. Why?

    Yesterday, I was working on the website, Shutterfly. Suddenly, there was an error message that it couldn't find a certain page. Now, Firefox continues to be very slow... and the error message keeps showing up on the search page, sometimes just parts of the message. I can still search but it is painfully slow and loads page partially and strangely... sometimes not full graphics, etc.

    Or you can try what lots of other people have found, and thats that the base connector is dirty and the contacts are shorted by some debris.
    The Apple store guys are good at cleaning them out - if you do it yourself, do not use any liquids at all.

  • Show Custom Error Message in Apex

    Hi,
    I have created a Master-Detail form on Dept and Emp tables. In Dept table, I have deptsal column which is updated by a trigger on EMP table.
    DEPT table has following trigger:
    create or replace trigger "TRG_DEP_SAL"
    BEFORE UPDATE on "DEPT"
    FOR EACH ROW
    BEGIN
    IF :NEW.deptsal > 100 THEN
    RAISE_APPLICATION_ERROR(-20001,'Dept Salary too high!');
    END IF;
    END;
    So, when I enter salary on Apex Form which increases the limit of deptsal e.g. 100, it gives the following error message:
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: Dept Salary too high! ORA-06512: at "ZAHIDKHANUK.TRG_DEP_SAL", line 4 ORA-04088: error during execution of trigger 'ZAHIDKHANUK.TRG_DEP_SAL' ORA-06512: at "ZAHIDKHANUK.BIUD_EMP", line 11 ORA-04088: error during execution of trigger 'ZAHIDKHANUK.BIUD_EMP', update "ZAHIDKHANUK"."EMP" set "EMPNO" = :b1, "DEPTNO" = :b2, "ENAME" = :b3, "JOB" = :b4, "MGR" = :b5, "HIREDATE" = :b6, "SAL" = :b7, "COMM" = :b8, "ID" = :b9 where "EMPNO" = :p_pk_col
    Error Unable to process update.
    OK
    How can I display my own message?
    Thanks,
    Zahid

    Hi,
    Yes, you can do that. You would need to create a page validation that loops through the records in the tabular form, checks the values entered and then returns an error message.
    Create a new validation. Set it to a Page level validation, select PL/SQL and then Function returning error text, then give it a name. The PL/SQL will be something like:
    BEGIN
    FOR i IN 1..APEX_APPLICATION.G_F01.COUNT
    LOOP
      IF TO_NUMBER(APEX_APPLICATION.G_F04(i)) > 100 THEN
       RETURN 'Item ' || TO_CHAR(i) || ' - DEPTSAL must not be greater than 100';
      END IF;
    END LOOP;
    RETURN NULL;
    END;This will loop through the records in column 4 and check the amount. If it is greater than 100, an error message is generated displaying the row with the error. This will stop the process on the first error. If there are no errors NULL is returned which indicates that the validation test has passed.
    You should replace G_F04 with the correct column for your page - do a View Source on the loaded page and check for the "name" attribute for the column. G_F04 is for "f04", G_F05 is for "f05" etc.
    Andy

  • Customizing Error message in the password expire dialog

    We are trying to apply security policy using Oracle profiles.
    If a user's password has expired, the default Oracle form for changing the password pops up
    If we try to enter the new password and if it passes the password_verify_function checks - all goes well.
    However, if an invalid new password is entered, a message box "FRM-40735: ON-ERROR trigger raised unhandled exception ORA-06502" appears. We are struggling to understand why the form is behaving like this.
    what may be the reason and how to trap this error message with customized message
    Thanks

    Function code Verify_Password owned by SYS and applied to the Profile.
    IF (isspace = TRUE) THEN
    raise_application_error(-20003, 'Password cannot contain spaces');
    END IF;
    Form receive error:
    We use a string and pass it to SQL with FORMS_DDL.
    Cmdl := 'Alter user "'||:CHANGE_PWD.USER_NAME||'" identified by "'||
    :CHANGE_PWD.VERIFY_PWD||'"';
    FORMS_DDL(cmd_line);
    IF NOT Form_Success THEN
    NOTE(DBMS_ERROR_TEXT); -- text dialog window displays error returned.
    raise Form_Trigger_Failure;
    END IF;

  • Can't import music; error message reads, "The importer reported a generic error."

    I've attempted to drag and drop multiple music files into the Soundtrack bar but nothing is working. I keep getting the same Error Message, which reads, "The importer reported a generic error." Can someone lead me in the right direction with some help?

    Along with the comments by both John T., and Steve G., there have been some issues reported with both of the two, Fixed Audio Tracks, Soundtrack and Narration. I do not think you have gotten that far yet, but wanted to point out the potential for those issues. Should you get your music Imported into the Project, but have issues when you use either Narration, or Soundtrack, just use an empty "regular" Audio Track.
    Good luck, and please let us know more about your music files.
    Hunt

  • Can I create custom error message

    I need to tell the user "NO listeners on GPIB::0:11 address, make sure instrument is connected". How do I use the Simple Error Handler to tell the user this. The error handler spits out error code 1073807265 when this does occur.

    Hello,
    I believe Dennis' last note probably meant that he would not recommend editing the -errors.txt file to remove the code. In your case, I think the best solution is to, as you suggest, unbundle the error cluster and programmatically deal with it by launching a dialog box with your comment. You can do this using the One Button Dialog function found in the Time & Dialog pallete.
    Repost if you continue to have trouble!
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

Maybe you are looking for

  • How do I stop iPhoto from auto-launching?

    I'm running the latest version of OS X and iPhoto, this has been going on for 2 years or more and I still can't figure out a solution. So I figured maybe something new is out there where someone might have a clue why I'm experiencing this. I cannot k

  • How to open 2 playlist at the same time and have them in two diferents windows?

    until iTunes 10 i can open more than one playlist at the same time, and have this playlist in diferents windos but since 11 i cannot do it anymore.. is anoying if i need to fast switc music froms playlists.. so it become usseless... i think the aim o

  • How do I clear mt startup disk on my Macbook Pro?

    I want to upload some pictures onto my computer but I need to clear some space first. My computer is around 3 years old so there is probably a ton of stuff I can delete from awhile ago.

  • Problem with Parcial trigger on master Datail

    my Entities : group: gId,parentId,name roles : pId,name permission: gId,pId my Associasions: GroupToGroupAssoc -> group.gId & group.parentId GroupToPermissionAssoc -> group.gId & permission.gId and i have a view on Group (that is shown as a tree on a

  • Changes made to the database are not being affected in Toplink work bench..

    Hi, Im recently encountering the following problem with Toplink mapping work bench. The cchanges are not visible when I make any changes to the underlying database tables and retrieve that tables into mapping work bench . The retrived table informati