Localization of custom Error Event Rules text

Hi,
I am trying to localize an existing rulebase for Spanish. The rules text has been translated by copying exs/stxt files, and modifying text, as described in the help files. However, there is an issue with displaying custom error text. Our rulebase contains custom error events in the rules:
Example:
error("This is my custom error message") if
How would I display the above message in Spanish? I tried to make a copy of the <rulebase>.xml file, and re-name it to <rulebase>.<locale>.xml (and add an "xml:lang="<locale>" attribute to the file). This did not seem to work. Should I be doing something different? Is this a known issue? I am using OPA v10.1. Is this possible in the new 10.2 release?
Thanks!

The translation layer support is greatly enhanced in 10.2 and much more user-friendly. The translation text is authored in Excel documents rather than in .exs and .stxt files. The relevant article in the OPM Help 10.2 that you should read is "Create a new language translation for a rulebase".
Cheers,
Jasmine

Similar Messages

  • Customizing error in Work Schedule Rule

    Dear Consultant,
    One of the employee left on 25th of a month. His termination process was run from 26th. Thereafter his Time sheet was uploaded upto 25th. The system accepts his attendance upto 24th but for 25th it gives error as "Customizing Error in Work Schedule Rule XXXXX". When his Personal work schedule was checked it shows expected working hours as 8. Then why it does not accept the attendance through time sheet?
    Nothing can be wrong with WS Rule as it is still working fine for all others. Also when the time sheet is uploaded first & then the employee is terminated, it works fine. then why time sheet gives error only for the last day?
    Regards
    Bindumadhav

    Hi
    Pls check the action infotype 0000 for him
    normally the if person is going to releive on say 25th ,then we have to give the leaving action date as 26 th as per SAP
    Scenario.
    consider his doj is 01.05.2006
    if u done the leaving action on 26th by mentioning the date 25.09.2009
    sap close him by 24th
    and the record stored as below
    01.05.2006  to 24.09.2009
    delete the action and perform w.e.f 26 th  then it will take as below
    01.05.2006 to 25.09.2009
    then u can upload time events
    hope it will solve
    with regards
    partha
    keep sharing and learning

  • The Question about mess "Customizing Error in Work Schedule Rule ..."

    Dear all,
    I run the Start-Payroll  and I getting an error " Customizing Error In WSR for that Personal Number"
    I configuration all of Time Management with start date is 01.01.2000 and when I run Payroll on Payroll period is 01/2000 with start date is 01.01.2000 to 31.01.2000 for Employees hiring on 01.01.2000 then I have an error " Customizing error in work schedule rule .. .. ... ..".
    But I can run the payroll period on 02/2000 with start date is 01.02.2000 to 29.02.2000 for Employees hiring on 01.02.2000.  form 02/2000 it is okies.
    Please help me  solve about my problem
    Thank for your answers
    Regds
    Huyen Nguyen

    Customizing Error in Work Schedule Rule
    where are u getting this error
    if it  is PY  log
    Check GENPS this error will come under this Function
    it is the combination of
    ur Holiday calendar
    Employee Sub Group
    Personal Sub area Grouping
    and ur Daily work Schedule Rule
    Check the Start dats an end dates fo all the above Settings along with their Groupings in table V_T508A

  • Send custom error message using IDoc conversion rule?

    Hello,
    I am using an Idoc conversion rule in BD79 to load cost centers.  In my conversion rule I use a conversion exit function module to concatenate 2 specific characters and sending cost center value together and then this output value placed in the receiving cost center field.  This works fine, but now I want to send a custom error message to the idoc and fail the idoc if the sending cost center value is greater than 8 digits. 
    Does anyone know how to send an error message or update an idoc with an error message using a conversion rule (bd79)?
    Thank you,
    Rhonda

    Hi Rhonda,
    Any luck on the below.. i have a similar issue...
    Sorry to hijack your thread...

  • Customizing error in work schdule rule A F2 40 1501

    Dear All,
    In my test portal when i want to apply leave from ESS -> working time > leave request then i m getting "Customizing error in work schdule rule A F2 40 1501 "
    This error is not coming for every employee but most of them getting this error . I am new in this area plz suggest me how to i resolve this issue...
    Anticipated for your responce.....
    Thanks,
    With Best regards,
    Yagyashikha
    Edited by: yagyashikha on Feb 15, 2010 11:16 AM

    You need to generate the Work Schedule in order to apply leave.
    Go to PT01 and fill the respective fields as mentioned below and Create all
    Employee subgroup grouping: A
    Holiday calendar: F2
    Personnel subarea grouping: 40
    Work schedule rule: 1501
    Calendar month from (MMYYYY) to (MMYYYY):  012009 to 122010
    Please note that the Holiday Calendar (F2) should exist in the system for the respective period in order to generate Work Schedule.

  • Customizing error in work schedule rule 2 D2 40 RRTHOLR2

    Hello Experts,
    While simulating payroll , I am getting this error.
    Customizing error in work schedule rule 2 D2 40 RRTHOLR2
    esgrouping - 2
    Holiday Calender - D2
    Personnel Sub area grouping - 40
    WSR - RRTHOLR2
    my dws are starting with 1.4.2004
    my pws are starting with 1.4.2004
    my calender is between 2004-2015
    and created Work schedule for 2004-2015
    still getting the same error
    Will you please help me out to solve this ?
    Thanks And regards
    Jaydeep Jadhav

    Hi All,
    I too faced the same type of error. Below are the steps for the solution.
    1. The error comes due to retro run with incorrect workschedule rule in IT0007.
    2. You can check table  V_T508A or V_001P_ALL to view the complete groupings of your personnel area/subarea,workschedule rule, Holiday cal,
    3. Copy the existing record of IT0007>give the retro effective period as start date and enter the end date>select the populated workschedule rule from the drop down option-->save the record.
    4. Run the psyroll in simulation mode and check the status.
    Hope it may help you..
    Best Regards
    Satya

  • I am getting Payroll error in "Customizing Error in Work Schedule Rule"

    Hi,
    Iam using SAP HR ECC6.0. While running payroll i am facing an error saying "Customizing Error in Work Schedule Rule". I checked all my work schedule related configuration everything is correct. I have checked the Manual Work Schedule Creation. My Work Schedule is getting displayed for current year. Can anyone help me out in this.
    Lakshmi

    Hi Naveen,
    How are you? I created the work schedule again and checked both Infotypes 0007 and 0001. My grouping is there. But now i am getting error saying "Payroll not possible because data is missing. No entry in Table WPBP". But i checked in SM30 there is no such table in the directory. I really don't know what kind of error is this?
    Lakshmi

  • Problem with WCF-Custom adapter (WS HTTP Binding with reliable messaaging) - Error event logged, even though transaction completed Sucessfully

    Hi All
    I am using WCF-Custom (WS HTTP Binding) with Message security as Windows and using Reliable messaging in the send port. Its a static Port. 
    Every thing works fine as expected for the interface. ie the transaction is success. After a min of the transaction completion. I am getting the following error
    01. I have not checked Propagate Fault message (as a solution provided in another blog)
    02. Its a static Port
    03. I am using reliable messaging
    The below error events are logged in the event viewer
    The Message Engine Encountered an error while suspending one or more Messages ( ID 5677)
    Event  ID : 5796
    The transport proxy method MoveToNextTransport() failed for adapter WCF-Custom: Reason: “Messaging engine has no record of delivering the message to the adapter. This could happen if MoveToNextTransport() is called multiple times for the same message by
    the adapter or if it is called for a message which was never delivered to the adapter by the messaging engine”. Contact the adapter vendor
    Should I have log this issue with Microsoft through Service request ? or is there any work around is there. Unfortunate is I cannot remove the reliable messaging from the service.
    Arun

    Hi,
    Is there any solution to this problem?
    I am getting the same issue "The transport proxy method MoveToNextTransport() failed for adapter WCF-NetTcp: Reason: "Messaging engine has no record of delivering the message to the adapter.
    This could happen if MoveToNextTransport() is called multiple times for the same message by the adapter or if it is called for a message which was never delivered to the adapter by the messaging engine". Contact the adapter vendor"
    I checked this link http://rajwebjunky.blogspot.be/2011/09/biztalk-dynamic-request-response-port.html, but
    in my case i am not using dynamic port.
    In my scenario, i have a number of dehydrated orchestrations that become active every Monday 6:00 AM UTC and make to calls to a WCF service, to spread out the load I have implemented a load distribution logic where orchestrations send request to service
    in every 1 minute (not at the same time). but still i get this error sometime.
    I have opened a ticket with MS support but thought that someone might have already found the root cause.
    Let me know if there is one.
    Thanks,
    Rahul
    Best Regards, Rahul Dubey MCTS BizTalk Server

  • Catch datetime exception and custom error message in SSRS

    I currently working on create report by using SSRS. I have 2 parameters: [Start date] and [End date] to filter data from database and show it on report. I want to validate 2 datetime parameter as describe above. Please tell me a solution to do this.
    For example:
    When user type the text like: 4/15/2014mmm => System validation thrown a message: [The From Date not correct type]
    But in my case, I want to receive a custom error message by myself.(Look like: [Date Invalid!])

    Hi Brain,
    According to your description, you have a report with two parameters for user to input. Now you want to validate these two parameters and display custom error message when the date is invalid. Right?
    In Reporting Service, it doesn’t provide any interference for us to modify the system error message (the text in grey color). That means we can’t modify the system message when error occurs. However we can create a textbox in this report, use custom code
    and expression to display the custom error message. But this all based on the report is successfully running. So if error occurs during report processing, all the custom code and expression will not work. In this scenario, we find a workaround for you. We
    use custom code to judge if the date is valid, if the users type an invalid date, we return a default value to make sure this report can successfully run. Then we use expression to control the visibility of tablix in this report and create a textbox to show
    the custom error message. Your case has been tested in our local environment. Here are steps and screenshots for your reference:
    Go to Report Properties. Put the code below into custom code:
    Public Shared a As Integer=0
    Public Shared Function IsDate(d1 As String,d2 As String) as Integer
            Try
               FormatDateTime(d1)
               FormatDateTime(d2)
            Catch ex As Exception
                       a=1
            End Try
    return a
    End Function
    Create two parameters. One is StartDate, the other is EndDate. Set the data type of these two parameters Text.
    Create a filter for StartDate, put the expression below into Value:
    =IIF(Code.IsDate(Parameters!StartDate.Value,Parameters!EndDate.Value)=0,CDate(IIF(Code.IsDate(Parameters!StartDate.Value,Parameters!EndDate.Value)=0,Parameters!StartDate.Value,"1/1/2012")),CDate("1/1/2012"))
    Create a filter for EndDate, put the expression below into Value:
    =IIF(Code.IsDate(Parameters!StartDate.Value,Parameters!EndDate.Value)=0,CDate(IIF(Code.IsDate(Parameters!StartDate.Value,Parameters!EndDate.Value)=0,Parameters!EndDate.Value,"1/1/2013")),CDate("1/1/2013"))
    Ps: In step3 and step4, the date(“1/1/2012”, “1/1/2013”) in the expression are the default we set to make sure the report can successfully process. You can set any date existing in your dataset.
    Use the expression below to set the visibility of the tablix:
    =IIF(Code.IsDate(Parameters!StartDate.Value,Parameters!EndDate.Value)=0,false,true)
    Create a textbox, put the expression below into it:
    =IIF(Code.IsDate(Parameters!StartDate.Value,Parameters!EndDate.Value)=0,"","Date invalid")
    Save and preview. It looks like below:
    Reference:
    SSRS Calendar and Date Restriction
    Errors and Events Reference (Reporting Services)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
      

  • System ERROR EVENT WARNING : ORACLE.APPS.AR.HZ.CUSTACCOUNT.CREATE

    Hi,
    When Customer is Created / Updated using Receivables or TCA APIs in Oracle Apps 11.5.10, all registered Business Events are firing and subscription code (PL/SQL Rule Function) is executing successfully.
    In Administrator Workflow window, Notifications tab showing System Error: Warning Message for all the events which are subscribed.
    eg:
    "System: Error Event WARNING : oracle.apps.ar.hz.CustAccount.create /
    oracle.apps.ar.hz.CustAccount.create62829 " Warning Message.
    Please advice.
    Thanks and Regards,
    Vijay

    Whenever there is a requirement of raising a Business Event due to some custom activity, you should call wf_event.raise to do this.
    Just google to see the parameters you need to pass it while calling it.

  • Using error codes.txt and error rings don't allow parameter inputs like custom error rings?

    The error ring is very useful, especially with its parameterized inputs you can specific with %s, %f and %d parameters.  I'd like to do the same thing in my fixed error codes using the error ring so that I can localize them into mulitple languages, but it seems that LabVIEW error codes from project text files never detect or support the parameter inputs, you get a error ring, but no input parameters.  If you use the same string in a customer error code, it gives you the parameter input but then its hardcoded and you can't localize it.  What gives?
    Is there some other way to configure the error rings to use a project file for the error codes but still support the parameter inputs?
    Solved!
    Go to Solution.

    Hi Mike_King
    Here is a VI snippet that I created with two different approaches, in the first one I used the format into string, the second one the function search and replace.
    Here are some links with information about the functions that I used.
    Format Into String Function - LabVIEW 2011 Help
    Search and Replace String Function - LabVIEW 2011 Help
    Regards
    Esteban R.
    Attachments:
    Generate error code.png ‏34 KB

  • OWA_UTL.REDIRECT_UTL to show Custom Error Page

    Hi,
    I am attempting to use the following code to redirect to my Custom error page (Page 500) on various error conditions being raised, within PL/SQL blocks: -
    wwv_flow.g_unrecoverable_error := TRUE;
    HTMLDB_UTIL.SET_SESSION_STATE ('P500_ERRMSG', SQLERRM);
    OWA_UTIL.REDIRECT_URL
    ('f?p='
    || gc_app_id
    || ':ERRPAGE'
    || gc_session_id
    || '::::P500_GO_TO_SCREEN,P500_SOURCE_SCREEN:1,'
    || gc_page_id
    || '');
    I have this working in another environment, but now when this condition is met all I get is a blank page and the following text: -
    Location: f?p=123:ERRPAGE:4328468326428634::::P500_GO_TO_SCREEN,P500_SOURCE_SCREEN:1,119
    Has anyone seen this before?
    Thanks,
    Mike

    Mike - Any event that causes the http header to be closed, such as "htp.p(...)", or the explicit closing of the header as in cookie-setting code where the header is closed afterwards, necessitates the use of htp.init in order to open and stuff the header again (as is the case with a call to owa_util.redirect_url).
    Scott

  • OIM - Custom error definition

    Hi. I'm trying to implement custom error messages in OIM.
    I have followed instructions from other threads like Cutomization of Error Message Definition in OIM but still no luck
    Scenario
    There's an entity adapter attached to Data Object Manager -> USG table to do some checks when a group is about to be removed from an user. If it detects it is not an allowed deassignment, then an error should be raised.
    Error definition:
    Key -> 476
    Code -> ADAPTER.DIRECTPROVISIONINGNOTALLOWED
    Description -> ProvisionDirectaNoPermitida
    Action -> Error
    Severity -> High
    Note -> Laprovisiondirectasobreesteobjetonoestapermitida
    When the adapter checks the deassignment is not allowed i can see this on the log:
    ERROR,27 sep 2011 10:00:03,731,[XELLERATE.ADAPTERS],Event: adpCHECKIFGROUPREMOVALISALLOWED has encountered an error.
    ERROR,27 sep 2011 10:00:03,731,[XELLERATE.SERVER],Class/Method: tcDataObj/runEvent Error :EVT internal error occured
    ERROR,27 sep 2011 10:00:03,733,[XELLERATE.APIS],Class/Method: tcGroupOperationsBean/removeMemberUser encounter some problems: maoErrors:ProvisionDirectaNoPermitida
    I don't know how this exactly works but it seems that it is launching the right error. The problem is that the error i can see on the web is:
    System Error
    A system error was encountered.
    Contact Oracle Identity Manager System Administrator.
    I've added entries to xlWebAdmin.properties and also spanish and english versions of this file in all locations i found them. I've added entries like this:
    global.genericerror.ADAPTER.DIRECTPROVISIONINGNOTALLOWED=ProvisionDirectaNoPermitida
    global.genericerror.advice.ADAPTER.DIRECTPROVISIONINGNOTALLOWED=Laprovisiondirectasobreesteobjetonoestapermitida
    and also tried with this format
    ADAPTER.DIRECTPROVISIONINGNOTALLOWED=ProvisionDirectaNoPermitida
    Also added entries on customResources.properties (spanish, english versions also).
    Any ideas of what i'm doing wrong? Is there any doc explaining the format for the entries on these files?
    Does it depend on the type of error definition? (Action, Severity, etc..)
    Thanks in advance

    oim11glearner wrote:
    Thanks for the code snippet.
    Can you tell me...
    - Which package should I import in order to use this java line LRB.DEFAULT.getString(errorCode, errData) ?
    - Should I define below error message in Agent.properties which is located under Oracle_IDM1/server/apps/oim.ear/iam-consoles-faces.war/WEB-INF/lib/OIMUI/oracle/iam/identity/agentry/resources ?
    *Note[PROVISIONING_DATE_IS_LESS].text = User provisioning date is less than account start date.*
    In this case what should be my error code and error data?
    - I think my java class should implement ValidateHandler. So my custom code looks like
    public void validate(long l, long l1, Orchestration orchestration) throws ValidationFailedException {
    // To do validation on start date and provisioning date, How can i retrieve values for Start Date and Provisioning Date ?
    }Pls correct me if my assumptions are wrong and throw some pointers.You don't have to use the LRB explicitly, did you check the article 1317087.1 which I mentioned in my first reply for error message?
    For retrieving Start Date and Provisioning Date, did you check the Orchestration object? Did you see if you have the values there? You need to look into the objects yourself, we at most can try to guide you where to look.

  • Custom error message in SAP application log

    Is there a way to add a custom error message to the SAP application log without passing the message variables MSGV1, MSGV2, MSGV3, MSGV4 and the Message class and number. 
    We want to pass a custom message from the BAPIRET2-MESSAGE without giving it a Message class and number.  The reason for this is that  we are using class based exceptions instead of the traditional message class with errors.  When we catch the class based exception, we take the error text of the exception and put in in the BAPIRET2-message and set the BAPIRET2-TYPE as 'E'.  Now we want to add this to the SAP application log.
    The call to 'BAL_LOG_MSG_ADD' takes a structure BAL_S_MSG which is just like BAPIRET2.  However this function builds the entry to the application log use the message variables MSGV1, MSGV2, MSGV3, MSGV4.  There is no provision to pass in the BAPIRET2 message.
    Add message to application log
      CALL FUNCTION 'BAL_LOG_MSG_ADD'
        EXPORTING
         i_log_handle              = app_log_handle
         i_s_msg                   = log_message
    Thanks,
    Jay

    Hi Jay,
    Did you see <b>BAL_LOG_EXCEPTION_ADD</b>?
    This FM is represented by the structure <b>BAL_S_EXC</b>. This can have various versions as described below:
    <b>Data of BAL_S_EXC Structure  /     Use</b>
    <b>EXCEPTION</b>  /                              Exception class from which an exception text 
                                                       is added to the log. This field must be filled.
    <b>MSGTY</b>  /                                     Message type (MSGTY) of a T100 message.
                                                       This field must also be filled for exceptions.
    <b>PROBCLASS,
    DETLEVEL,
    ALSORT, TIME_STMP</b>  /                Message or exception attributes, such as
                                                        problem class (PROBCLASS, for
                                                        example, "very important"), level of detail
                                                        (DETLEVEL, from 1 to 9), sort criterion
                                                        (ALSORT, unrestricted) and timestamp
                                                        (TIME_STMP). These fields can be displayed
                                                        in the log (except TIME_STMP).
    <b>MSG_COUNT</b>   /                            This attribute is not used for exceptions.
    Follow the link below for more details:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/d6/5d7f38f52f923ae10000009b38f8cf/frameset.htm">SAP Help DOc</a>
    Hope this helps.
    Thanks
    Sanjeev

  • ICI - How to display custom error messages in SAP CRM

    Hello,
    we are working on a custom Contact Center which interfaces with SAP CRM Version 7 with Enhancement Package over ICI.
    The basic call functions like accepting, hanging up, holding and retrieving are fully implemented and are working already.
    Our goal is to display error messages in the CRM so that clients know there is something wrong, for example why he can't be log in successfully (e.g. the telephony server isn't reachable).
    We already found the ICI Documentation file which provides us the CRM SOAP error codes and tried to send SOAP Fault messages, but never got
    them to screen.
    Please find an attached example screenshot what we mean exactly, reproduced by trying to make a call with CRM user while BCM CDT isn't
    running in the background.
    Regarding to this topic we've the following questions:
    - Is it possible to display custom error messages on the CRM or is this functionality limited to SAP?
    - Could you provide us some further information on how to use this feature exactly (implementation details?) and how the SOAP XML should look like to get it work?
    Thank you in advance!
    Best regards
    René Holy

    NewUser7 wrote:
    Please correct me if I am wrong
    I need to create an entity adapter and attach an error handler with the adapter? or can i handle that in the event handler itself. I coulnt find any api for handling errorsYou can do it both ways but since we are talking about event handler now, then in 9.x you need to extend com.thortech.xl.client.events.tcBaseEvent class for creating a event handler. In tcBaseEvent class there are various flavors of handleError method. So use that as per my note earlier and you should be good.
    HTH

Maybe you are looking for

  • I need to know the proper syntax for my SELECT query, please.

    Hello All, Quick one for you: Let's say that I have several columns in a table with names such as subject_1, subject_2, subject_3, etc. The table's name is subject_names. The number in each of the three column name examples is also a value passed alo

  • FlexUnit 4.1.0-8 Error 1046

    Hi, I'm using Eclipse Gallieo on Mac OS 10.6.8 with the Flash Builder 4 plugin.  My project is using the Flex 4.5.0 SDK and I recently updated FlexUnit from 4.0 to 4.1.0-8.  Now when I compile I get four errors: 1046: Type was not found or was not a

  • Regular Expressions and XML Schemas

    The standard regular expression syntax in JDK1.4 doesn't support some of the constructs used by pattern facets in XML schemas. For example the "Name" type is specified by the pattern "\i\c*" but the java.util.regex regular expression handler throws a

  • HT2534 the "none" option does NOT appear!!! why?

    followed these wonderful instructions but no matter what I do I do NOT get the "none" option!!!

  • Found dead multi-threaded server

    hi all My database is not running in multithread mode. mts_dispatchers = "(protocol=TCP)" I am getting such error found dead multi-threaded server 'S000', pid = (8, 4) Pl guide me suresh