Change error message based on locale

HI experts,
I have 2 applicaions .
one contains task flow containing 1 jsff having one input text required property set to true.
other contains page template to switch language based on locale.
now if I put both page template and input text in one application it works fine with error message in appropriate language.
but if I import task flow into other application as adf jar file and insert TF as region then it gives error message always in english and ok button in appropriate locale.
can you suggest some solution for this.
JDEV - 11.4

These links may use for you get solution
Localization
Localization
Localization Supported Languages
JDeveloper 11g - Localization Supported Languages
How to configure code to ResouceBundle in Localization
Re: How to configure code to ResouceBundle in Localization

Similar Messages

  • Change error message to warning message

    Hi Experts,
    How can we change error message to warning message.
    Eg: T-code : SE91 shows the message. If i want to change message class PG, message no 26 error to warning what will be the process.
    Regards
    Ratan

    Hi Ratan,
    Message class PG is used in the below mentioned Standard SAP Methods and Includes, So it is not suggested to change the SAP standard code.
    Regards,
    Raja Sekhar

  • Change Error Message to Warning Message in GL account

    Hi Experts,
                      I want to Change Error Message to Warning Message In the GL Account - FH142.
    What is the Transcation Code for this.

    Hi,
    Go to transaction code OBMSG and give application area as FH and create new condition for the message 142.
    SAP will support such kind of changes.
    Regards,
    Sankar

  • Way to change the  Message based on Imported IDoc

    Hi,
    I just want to know if there is way to change the message based on Imported IDoc?
    Basically I imported an IDoc from R/3, this Imported Object would display just one of the Segment for where there are  max allowable limit is n segment (the same segment), now during message mapping I need to have more than one Segment of same type...Wasn't sure how to add more segments?
    Thanking in advance

    Hi Rajan,
    If I have understood you correctly you,you mean that you have imported an Idoc with a segment with cardinality 0..unbounded(n) and you want to reproduce the segment n times in the target structure.
    you need not change the cardinality.This needs to be done in the mapping itself.just map the source structure to the target segment, handling the context properly such that for every occurence of the source structure the corresponding segment is produced in the target.
    Regards,
    Sulakshana

  • Email Address Change -- error message rec'd

    I just changed my email address and now I'm having difficulty accessing iTunes.  The error message says to be sure my computer allows cookies from iTunes.  Sounds basic, but I don't know how to do this.  Can anyone shed some light for me?  Thanks.

    Have you set up your email as a BIS account (you log onto a website to set up the BB accounts)?
    or do you need to leave your PC and outlook and Desktop Redirector running all the time?
    it sounds like an Outlook issue running in conjunction with a Antivirus/antispam program.....
    Checked out my Blackberry FAQ's and Links to Needed Articles here
    http://darkeen.homelinux.com/index.php/Blackberryfaq

  • How to Change ERROR Message

    Hi Frnds,
    Hope you all doing good.
    I have kept a database level constrint for a Standared OAF page. but the database error was displaying on page like this
    ORA-02091: transaction rolled back ORA-00001: unique constraint (HR.XXDate_UNIQUE_UK) violated in Package irc_party_swi Procedure create_user
    how can i change this error message and keep my own custom message to display in screen !!
    any suggestions or code would be a big help please :-)

    Hi,
    Thank you frnd.it would be helpful for me if you provide any sample code.please
    You'd need to use a try - catch block around the code that invokes the database call an use an OAException
    when the submit button is pressed in the page. PFR is invoking AM,in the application module commit is taking place.at the time of commit the database level constaint is invoking.
    so now where shuld i keep try-catch block ?

  • How to change Error Message into warning message

    Dear Friends,
    I am getting an error
    The qty stored that was entered is adjusted
    Message no. XU 040
    at the time of GRN. I am maintaining batch specific Unit of Measure.
    Please tell me how to change this error message in to a warning message.
    Thanks
    Prashant Atri

    Hello Prashant,
    This is satndard SAP messagge which is maintained in customizing;
    SPRO>>Logistics - General>>Batch Management>>Define Attributes of System Messages
    Here you can convert this messages to warning message. I urge you to please check with abaper as this may be hardcoded message and it may have implications on valuation and posting.
    In the above IMG path you can do the changes
    Br,
    Tushar
    Edited by: Tushar Patankar on Jan 1, 2011 5:36 PM

  • Change error message to warning during pricing condition upper limit check.

    Hi All,
    I have a header condition ZFMN to which maximum amount that can be entered is set to $5000. When I enter the amount greater than this, it gives me error message.
    Could we change it to warning message?

    During Creation of PO when you click PO Check, What Include you are using.
    Cann't you use the BADI ME_PROCESS_PO_CUST and write the code whatever you want in PO_CHECK,
    There during Check you use any FM POP_TO_CONFIRM OR POP_TO_INFORM or show any information Message too.
    Try it once.
    Thanks
    Arbind

  • Change error message as warning

    Hi All
    I changed Gl account from B/s item to P/L item. while doing this i got error, in OBA5 i made this error message as warning.
    i would like to know what is the impact if i change the error message as warning.
    regards
    prasad

    pls note that this setting applies to all the program which uses this message class. SAP would not be responsible if standard message class is modified.
    hope this helps:
    http://www.ams.utoronto.ca/Assets/output/assets/Developmentstandards_guidelines_335678.pdf.pdf

  • Error Page with my own Error Message based on table

    <p class="MsoNormal"><span style="" lang="EN-AU">Hi All<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">I want to share my code (based on Apex_Lib code. Thanks Patrick) , maybe can help somebody else<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">Purpose: Replace the DB errors messages ( i.e ORA-00001- primary constraint ) with my own Message fetched from a table.<o:p></o:p>  <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">Components: 4 components<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">1. Java Script function ( MyErrorPage )<o:p></o:p><br>2. My Custom Error Page Template<o:p></o:p><br>3. Application item ( you can use any item )<o:p></o:p><br>4. Application Process ( getErrorMsg )<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU"> 5. My Error Table.<span style="">  </span>( Provided just as example )<o:p></o:p><br>6. Display example<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU"> Integration:<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU"> 1 Identify your Error Page Template and Go there. In my case for example is LOGIN<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">1.1 Under Definition / Header. <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU"> Copy the follow JS<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU"> &lt;script type="text/javascript"&gt;<br><br>function MyErrorPage(p_err_item,p_err_process)<br>{<br><br> var vElementList = null;<br> var vErrorStack  = null;<br> var vOraError    = null;<br> var vOraCode     = null;<br> var vAjaxRequest = null;<br> var vAjaxResult  = null;<br> var vMyMsg       = '';<br><br> vElementList = window.document.getElementsByTagName("div");<br> for (i=0; i &lt; vElementList.length; i++)<br> {<br>  if (vElementList.className == "ErrorPageMessage")<br>  {<br>    vErrorStack = (vErrorStack ==null?"":vErrorStack+"&lt;br/&gt;")+vElementList[i].innerHTML;<br>    vElementList[i].innerHTML = '';<br>    vOraError = vErrorStack.split("ORA-");<br><br>    for(var i=1; i &lt; vOraError.length; i++) {<br><br>      vOraCode = vOraError[i].substring(0,5);<br><br>      vAjaxRequest = new htmldb_Get(null,&amp;APP_ID.,'APPLICATION_PROCESS='+p_err_process,0);<br>      vAjaxRequest.add(p_err_item,vOraCode);<br>      vAjaxResult = vAjaxRequest.get();<br><br>      if (vAjaxResult) {<br>        vMyMsg = vMyMsg + vAjaxResult + '&lt;br&gt;' ;<br>      } else {<br>        vMyMsg = vMyMsg + 'ORA-'+vOraError[i].substring(0) + '&lt;br&gt;' ;<br>      }<br><br>    }<br>    document.getElementById('ORA').innerHTML = vMyMsg;<br><br>  }<br> }<br>}<br>&lt;/script&gt;<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">   <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">1.2 Under Definition / Header. <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">&lt;body onload="MyErrorPage('F103_ERR_CODE','getErrorMsg')" #ONLOAD#&gt;#FORM_OPEN#<o:p></o:p>  <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">You can replace with your own ITEM and APPLICATION PROCESS<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">2. Under Error Page Template Control<o:p></o:p>  <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">&lt;table summary=""&gt;&lt;tr&gt;&lt;td&gt;&lt;img src="/i/error.gif" border="0" /&gt;&lt;/td&gt;<o:p></o:p><br>&lt;/tr&gt;<o:p></o:p><br>&lt;b id='ORA'&gt;Error&lt;/b&gt;<o:p></o:p><br>&lt;tr&gt;&lt;td&gt;&lt;a href=#BACK_LINK#&gt;#OK#&lt;/a&gt;&lt;/td&gt;<o:p></o:p><br>&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;<o:p></o:p>  <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">3. Application Item <o:p></o:p></span></p><p class="MsoNormal"><span style="" lang="EN-AU">F103_ERR_CODE<span style="">   </span><o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">4. Application Proccess.<o:p></o:p>  <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">Name : getErrorMsg<o:p></o:p><br>Process Poing : ON DEMAND<span style="">  </span>( Make sure about this )<o:p></o:p><br>Process Text :<o:p></o:p>  <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">declare<o:p></o:p><br><span style="">  </span>l_msg<span style="">  </span>varchar2(500);<o:p></o:p><br>begin<o:p></o:p><br><span style="">  </span>for i in (select msg_code, msg_desc from apex_message<o:p></o:p><br><span style="">             </span>where msg_code = :F103_ERR_CODE ) <o:p></o:p><br><span style="">  </span>loop<o:p></o:p><br><span style="">    </span><span style=""></span>l_msg := 'GEN-'||i.msg_code||': '||i.msg_desc;<o:p></o:p><br><span style="">  </span>end loop;<span style="">    </span><o:p></o:p><br><span style="">  </span>htp.prn(l_msg);<o:p></o:p><br>end;<o:p></o:p>  <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">5. Create Apex_message (<o:p></o:p><br><span style=""> </span>id<span style="">               </span>number,<span style="">          </span>-- PK<o:p></o:p><br><span style=""> </span>msg_code<span style="">  </span>varchar2(10)<span style="">     </span>-- UK<o:p></o:p><br><span style=""> </span>msg_desc<span style="">  </span>varchar2(100) );<o:p></o:p><span style=""> </span><o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">6. Scenario: Table or View does not exist coming with 3 "ORA" errors<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">There is only one record in Apex_message with msg_code = '00942' therefor it will replace error message for ORA-00942.<span style="">  </span>( note that value for msg_code is<span style="">  </span>'00942' and not 'ORA-00942' )<o:p></o:p>  <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">Before<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">ORA-06550: line 1, column 28: PL/SQL:<o:p></o:p><br>ORA-00942: table or view does not exist<o:p></o:p><br>ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 247.8pt; text-indent: -247.8pt;"><span style="" lang="EN-AU"> After<o:p></o:p><br></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">ORA-06550: line 1, column 28: PL/SQL:<br>GEN-00942: My own Message <o:p></o:p><br>ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">I did this because I do not want to create my own DML process for each table<o:p></o:p><br>I hope this can help. <o:p></o:p>  <o:p></o:p></span></p> <p class="MsoNormal">Regards</p> <p class="MsoNormal">Marcelo</p>

    True the main method does not throw any exceptions, that's because there is no higher level to throw them to (actually it implicitly throws any uncaught exceptions to the JVM). That does not mean that you can't write your own try catch block around the code in the main method.

  • Populating error message based on search help

    Hi team,
    How can we populate error message in a shopping cart account assignment "order " field for the bellow two senarios. I am adding a custom field called "Operational Activity" in account assignment. based on which search help has to be done
    the 2 senarios are
    1. When user does not select the "Order" but tries to search for the operational activity, he should get error .
    2. When user selects the "Order" and this order has an operational activity linked to it, then give error message to input the OA The logic will be to do a RFC call to ECC by sending the SRM Order number BBP_PDACC-ORDER_NO to ECC table AFKO and see if there is AUFPL.
    Edited by: goutam kolluru on Nov 16, 2011 5:48 AM

    Hi Anshu,
    Thank for u replay.
    yes it can be done using doc_check_badi, but my question is how can we display error message by comparing search help values.
    if user is not entering value of order field and select  search help for custom operational activity field how it can be done in check badi.
    Edited by: goutam kolluru on Nov 16, 2011 6:54 AM
    Edited by: goutam kolluru on Nov 16, 2011 6:59 AM

  • How to change error messages in Oracle Portal 3.0.9.8

    I have errors such as "No row returned" and etc.
    How can I change this error messages.
    Urgent
    HELP

    about report:
    select field1,field2,...,fieldn
    from table
    where table.date_insert<sysdate
    union
    select null field1, null field2, ...,null fieldn
    from dual
    order by field1...
    about other err:
    solve this problem by writing portlet manually

  • ESS Business Package - How to change error message

    Hi,
    In ESSBusiness Package Leave Application screen, if we enter some character XXX for From and To date field and try to proceed further (preview button) It is showing a error message 'Enter the value in format 11/25/1987" that we want to change to 'Enter the value in format MM/DD/YYYY".
    Please let us know from where this standard message is coming whenever we put some character values for any date control and how to change the same to customer specific message.
    Regards
    Sudhir

    Thank you Poojith,
    This is a standard message not only coming for Calender control in ESS application but also behaviour is same for custom webdynpro applications. So this message is not part of Leave Component message pool
    Regards
    Sudhir

  • Change Error Message in commit

    I have this code in a Managed Bean,
    BindingContainer binding = BindingContext.getCurrent().getCurrentBindingsEntry();
    OperationBinding operacion = binding.getOperationBinding("Delete");
    operacion.execute();
    operacion = binding.getOperationBinding("Commit");
    operacion.execute();
    List errors = operacion.getErrors();
    I try to delete a row which has children in other tables. (Master-Detail).
    When a execute this code the program show me a popup with the error of integrity constraint.
    I want to change the message but I don't know how.
    I tried this:
    if (errors.size() > 0) {
    String error_detail = "";
    FacesContext fc = FacesContext.getCurrentInstance();
    String error_decp = "MY MESSAGE";
    FacesMessage messag = new FacesMessage(error_decp, error_detail);
    messag.setSeverity(FacesMessage.SEVERITY_INFO);
    fc.addMessage(null, messag);
    But the popup show the message of adf and MY MESSAGE below.

    this error is coming from the mode layer.. to customize that
    use
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcadvgen.htm#BABEFGCI
    example is here
    http://code.google.com/p/adfproject/downloads/detail?name=CustomMessageForPrecision.zip

  • Change Error Message in Travel Expenses

    Hi All,
    I'm having a problem changing one of the error messages on the Create Expense Report screens in ESS Travel Expenses.
    [Here's a screenshot|http://www.scehardt.com/news/image003.png]
    I've changed the label to say Ticket instead of Document.  Now I need to change the error message to match.  I found the error message in the backend, but it is formatted as Required entry field "&" is empty.  Does anyone know where Document Number is inserted into the error message?  Alternately, is there a way to change the error message for that field to a custom message?
    Thanks,
    Scott

    Hi Friend,
    Find the code snippet something like this in your code
    IWDMessageManager msgMgr =
                     wdComponentAPI.getMessageManager();
                     msgMgr.reportContextAttributeMessage(
                     wdContext.current<YourNodeElement>().getAttributePointer("<YourDocumentNumberAttribute>"),
                     IMessagePackScopingComp.<Your_Error_message_key>, new Object[] {"Document Number"});
                             // Replace The Document Number from last line with your desired text
    Here you can change the Text which is going to be supplied to message pool at run time.
    Further you can follow this tutorial for message pool and error message.
    [A Simple Input Form with Message and Error Service Support|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/837d9290-0201-0010-1381-e633fe17cb14?quicklink=index&overridelayout=true]
    Regards
    Jeetendra

Maybe you are looking for

  • Need Some Help in Using Log4j for logging

    Hi I am using Log4j for logging in my application . i have problem some areas . I want to rotate my file on basis of Time. means if my log file name format is HH:MM then after every minute new log file should be created , i am using Size based rotati

  • Drag and drop icons between regions

    I have two regions in a page. Each of the regions show employers available in different departments and each employer is represented with icons. is it possible to drag and drop employees between these two regions (departments) and finally save the la

  • AR,GL and profit center relation

    Hi, We have a requirement to report profit center wise amount. aageing analysis. At present we are not loading Profit center through AR. So we are doing a look up to get the profit center on GL. So can you please let me knoew the relation betwen the

  • IMac Freezes and curser pinwheels

    iMac freezes with pinwheel several times a day. Have to force restart. Control/option/escape has no affect. Usually occurs when I am trying to open something in mail or trying to launch a video link. I am using an airport to connect to the internet.

  • Untidy DB

    Only use hires .wav converted to aiff, 43000 tracks from 3440 CD's, spend many hours cleaning up orphans and deleting unlinked files which are copies of track titles, ie cd of 14 tracks has 14 extra tracks which are not linked and can be deleted only