APP-ALR-04106: Please correct the user-defined SQL statement for this alert

Hi All,
I have created an alert for engineering module in R12. It got tested and was working fine. when the user testing it, while trigger the alert getting the error, "APP-ALR-04106: Please correct the user-defined SQL statement for this alert".
when verified the alert, it got verified and ran also. It parsed the query successfully and when run it fetched few records.
Need help in resolving the issue.
Thanks in advance.
Regards,
sri
Edited by: user10939296 on Jan 18, 2010 1:16 AM

Hi Sri;
I have already gone through the Note: 948037.1. But this note is related to 11i. The solution provided in the Note is for 11i.
I am facing this issue in R12. Is this patch applicable to R12?I belive its not. But u can check Solution part 4 for your instance, at least it can give you idea. The other note in metalink related bug and all for R11 too.
I belive its better way to rise Sr while waiting other forum user response to that thread
Regard
Helios

Similar Messages

  • Oracle Alert erroring out with  error code APP-ALR-04106

    Hello everyone,
    I have an alert with its SQL well parsed and all the alert setups are correctly done.But then,it errors out with the following message in the concurrent log file.
    APP-ALR-04106: Please correct the user-defined SQL statement for this alert.
    What does the message mean?Any suggestions?
    Thank You

    Hussein,
    After applying the patch,the alerts are working fine,But the patch mentioned included many other fixes,as it took 2 hrs to apply and is 44 MB.Now that we know the driver file names(from patch log file),will it be possible to pick only those files corresponding to ALR in the patch and apply?
    Thank You

  • EIS - Fact Tables, Drill Through Reports & User Defined SQL

    I have built a model using two factables. (Virtually one table as the two are combined in the OLAP Model.) I then built my metaoutline and I have specified an ASO cube. I built the cube and the drill through reports and then tried to load the cube.
    Intially the standard SQL generated no records. I tweeked it a bit and it then loaded. However, once I tweeked the SQL I could not get any drill through reports.
    Does anyone know how the SQL for the drill through reports is populated? Does it run off the user defined SQL?

    I've figured it out. FYI to those curious.
    The SQL for the drill through reports are specified on how the model is set up. The User Defined SQL is only for the data load.

  • Get Error while update the User defined row table through DSK Code

    Hi experts,
    I have got an error while updating the user row defined table.
    Error is - "Invalid row"
    I have created one master table "@CBF_FARM " and Child table "@CBF_FAR1"
    First i inserted 5 record in the child table so in my my child table there are 5 Line id (1,2,3,4,5 one for each row).
    after that i delete 2 rows (3rd & 4th row) from child table now in my child table there are 3 rows( Line id 1, 2, 5). Please See attachment.
    Now i am updating  the last record of child table through Code  (Line id is 5)  from other form, then i got error  invalid row.
    Following Code used for updating the user defined child table.
      SAPbobsCOM.GeneralService oGeneralService1 = null;
                                    SAPbobsCOM.GeneralData oGeneralData1 = null;
                                    SAPbobsCOM.GeneralDataParams oGeneralParams1 = null;
                                    SAPbobsCOM.CompanyService sCmp1 = null;
                                    SAPbobsCOM.GeneralData oChild1 = null;
                                    SAPbobsCOM.GeneralDataCollection oChildren1 = null;
                                    sCmp1 = clsAddOn.LDNA_Company.GetCompanyService();
                                    oGeneralService1 = sCmp1.GetGeneralService("CBF_FARM");
                                    // Get UDO record
                                    oGeneralParams1 = ((SAPbobsCOM.GeneralDataParams)(oGeneralService1.GetDataInterface(SAPbobsCOM.GeneralServiceDataInterfaces.gsGeneralDataParams)));
                                    oGeneralParams1.SetProperty("Code", oForm.Items.Item("edtFarmCd").Specific.Value);
                                    oGeneralData1 = oGeneralService1.GetByParams(oGeneralParams1);
                                    // Add lines on UDO Child Table
                                    oChildren1 = oGeneralData1.Child("CBF_FAR1");
                                    // Create data for rows in the child table
                                    SAPbouiCOM.Item oItem = oForm.Items.Item("cmbShed");
                                    oCombo = oItem.Specific;
                                    string ShedCode = oCombo.Selected.Value;
                                    ldna_Rec = clsAddOn.LDNA_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
                                    string strQuery1 = "select LineId from [@CBF_FAR1] where U_ShedCd = " + ShedCode;
                                    ldna_Rec.DoQuery(strQuery1);
                                    oChild1 = oChildren1.Item(ldna_Rec.Fields.Item("LineId").Value - 1);
                                    oChild1.SetProperty("U_Status", "Ready For Schedule");
                                    //Update the UDO Record
                                    oGeneralService1.Update(oGeneralData1);
    Please Help me it is an urgent requirement,
    -Regards
    Vikas

    hi.
    Error is - "Invalid row"
    Now i am updating  the last record of child table through Code  (Line id is 5)  from other form, then i got error  invalid row.
    As per my knowledge
    What i understood is you have 5 lines and you are going to be update 5th line
    am i correct..
    while u are updating the line in child table
    you have to consider like this..
    line number         u have to update like
    1                                        0
    2                                        1
    3                                        2
    4                                        3
    5                                        4
    which means in child table treat
    line 1  as 0
    line 2 as  1
    line 5 as 4
    If you want to update the line 5 u have to mention 4 th line

  • Web Logic Optimize the User-defined typed values

    I'm using Together Soft 6.0.1 and Web Logic 7.0 as apps. server. I'm writing
    the web service using the user defined type as input parameter and return status.
    I'm experience the following probem
    1. On the web service, the return status is an array user-defined data type.
    Some of the data has the same values.
    2. When I looked at the SOAP/XML message as the returned status, the fields/tags
    that have the same data got mapped to a href=#ID_x and on the bottom of the SOAP/XML
    message the ID_x is mapped to the correct data value.
    3. However, when the SOAP/XML message is mapped to the client's object, the data
    did not get mapped correctly to the object's attribute. The attributes, that
    got mapped to href=#ID_x, are set to empty value.
    I wrote the serialize/deserialize code for the User-Defined type, and that works
    ok. However, when I return an array of User-Defined type, and only have the serialize/deserialize
    code for the User-Defined type but no code for the array, it throws an exception
    (Array out of bound).
    It looks like Weblogic creates a reference table appended to the message with
    duplicate values indexed. Is it some kind of performance option you can turn
    off?
    Or is there some interface to retrieve the references?
    Or is there a work around or a fix to this problem?
    Or do I have to write the serialize/deserialize codes for the user-defined type
    and array of user-defined type?
    Thanks for your help,
    Michelle

    Scott,
    Thanks for your response.
    So you're saying the href "optimization" is a feature of soap encoding. Is it
    the Web Logic implementation of soap encoding optimize the values?
    If we write xxxCodec.java for the array of user-defined type, will it work?
    If it does, could you send me sample code? The example in the document is for
    a single class. The array seems to be more complicated.
    Thanks for your help,
    Michelle
    [email protected] (Scott Ziegler) wrote:
    I would suggest using a document-literal style webservice. The
    literal part avoids soap encoding which is responsible for the href
    "optimization".
    --Scott
    In article <[email protected]>,
    Michelle Hoang <[email protected]> wrote:
    I'm using Together Soft 6.0.1 and Web Logic 7.0 as apps. server.
    I'm writing the web service using the user defined type as input
    parameter and return status. I'm experience the following probem
    1. On the web service, the return status is an array user-defined
    data type. Some of the data has the same values.
    2. When I looked at the SOAP/XML message as the returned status, the
    fields/tags that have the same data got mapped to a href=#ID_x and on
    the bottom of the SOAP/XML message the ID_x is mapped to the correct
    data value.
    3. However, when the SOAP/XML message is mapped to the client's
    object, the data did not get mapped correctly to the object's
    attribute. The attributes, that got mapped to href=#ID_x, are set to
    empty value.
    I wrote the serialize/deserialize code for the User-Defined type, and
    that works ok. However, when I return an array of User-Defined type,
    and only have the serialize/deserialize code for the User-Defined
    type but no code for the array, it throws an exception (Array out of
    bound).
    It looks like Weblogic creates a reference table appended to the
    message with duplicate values indexed. Is it some kind of
    performance option you can turn off? Or is there some interface to
    retrieve the references? Or is there a work around or a fix to this
    problem? Or do I have to write the serialize/deserialize codes for
    the user-defined type and array of user-defined type?
    Thanks for your help,
    Michelle

  • When I start the program I instantly see this message:  "Adobe Bridge encountered a problem and is unable to read the cache, please try purging the central cache in cache preferences to correct the situation".  I have tried this and it only results in a s

    When I start the program I instantly see this message:  "Adobe Bridge encountered a problem and is unable to read the cache, please try purging the central cache in cache preferences to correct the situation".  I have tried this and it only results in a stalled/locked program.  I have tried restarting my machine multiple times and tried reconfiguring how the cache is managed.  Do you have anyone who could walk me through each step to correct this problem which just started two days ago.  I have owned this program for at least a year now...

    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Accessing container element in the User Defined Function

    Hi All,
    I am accessing a container element in the user defined function.
    But it is not working. Actually i want to split a message(1800 records) into a batch of 200.
    But it goes in a infinite loop.
    Please can you tell me where i am wrong.
    Smita
    The code is :
    public void SplitMsg(String[] a,ResultList result,Container container){
    Object container1;
    String counter;
    int i,j=0;
    container1 = container.getParameter("value");
    if( container1 == null){
    counter  =  "0";
    else {     
         counter = container.toString();
         j = Integer.valueOf(counter).intValue();
    for ( i = j ; i <= j + 199 ; i++){
         if ( i  >= a.length){
              container.setParameter("value","9999999");
              break;
         result.addValue(a<i>);
         j += 200;
         counter = Integer.toString(j);
         container.setParameter("value", counter);

    Here is another way to accomplish what you wanted.
    For the target mapping, use this sequence for mapping
    Source element -> removeContext -> Your User-defined Function -> Target Element
    When defining User-Defined Function, select "Cache Queue" option.
    Since you are using removeContext before calling the UserDefined function, your input to the user defined function will be a String array without ResultList.CC.
    Now manipulate the array the way you want it, and build the ResultList result.
    After every 200 records, use method
    void addContextChange().
    This will insert the ResultList.CC at the appropriate places.
    Use Display Queue in the Mapping Editor to see the debug values.

  • Reg: Configuring the User-Defined Message Search

    Hi Experts !
    I am getting an error while configuring the user defined message search.
    Followed all the step mentioned in the sap help documentation.
    http://help.sap.com/saphelp_nwpi711/helpdata/en/48/c85598f63335bfe10000000a42189d/frameset.htm
    The last step, where we need to enter  URL for WSDL Access i am getting the following error:
    Error in WSDL access: Exception occurred in communication framework:
    Error in HTTP Framework:404Not Found
    http://<Host>/<Port>/MessageSearch/MessageSearchImplBean
    You should enter the host name and the HTTP port for the Advanced Adapter Engine
    i didnt get the meaning of above sentence : Is it different from what we use in the URL to access ESR and ID.
    Is there any other steps to make   MessageSearch/MessageSearchImplBean available
    Regards,
    Srinivas
    Edited by: Srinivas on Oct 1, 2010 7:48 PM

    Hi José Omar,
    thanks for the reply...
    I tried manual configuration but with no luck..opened a similar forum thread
    I have applied the sap note suggested  ,thinking that the error is due
    to any source code.
    The data synchronization is happening properly , but when i use test extractor button it throws the above mentioned error.
    In the system details  in have given the port number as 50700(which is visible in the link when we open integration builder page) and ESR client as 001.
    could you please let me know if the exact values to be filled in transport setting.i just entered the port and client , other things
    as default.
    Regards,
    Srinivas

  • System ID in the user defined function

    Folks,
    I am trying to get the system id of the XI system with in the user defined function. How can I get it? I have looked into the technical context objects/contants and could not find any which gives you the XI system ID (3 character system ID).
    Any input is greatly appreciated.
    - Shanth

    Hi,
    Adding to the link whihc Michael has given...
    There is another system property which gives sap system name...rather than taking 'user.name' and parsing....
    Please the code below.....
    System.getProperty("SAPSYSTEMNAME");
    this returns the 3 letter system id.....i got XID !!!!
    Thanks,
    Renjith

  • Removing the user define comments while trying to write to the property fil

    Hi All,
    While using new Properies().setPropety(). It is removing the user define comments from property file.
    Could you please explain me why it is happening and how can I restrict it
    Thanks & Regards
    Edited by: Rakesh83 on Feb 20, 2008 4:33 AM

    Rakesh83 wrote:
    Could you please provde me sample code for this?
    #! /usr/bin/groovy
    xml = '''
    <config>
        <property name="foo" value="bar" comment="blah, blah, blah" />
        <property name="baz" value="qux" comment="doodle doodle dee" />
    </config>
    def config = new XmlParser().parse(new StringReader(xml))
    def property = config.property.find { it.'@name' =~ 'baz' }
    assert 'doodle doodle dee' == property.@comment
    property.@value = 'snorp'
    assert 'doodle doodle dee' == property.@comment // comments preserved!
    // write xml as needed~

  • Formatted search in the User defined table

    Hi All..
    I created two user defined table one is for document row and other is for document master.So in the master table created one column named as Sales order no and through formatted search call the sales order no in that column.Now i want that in my child table i want to show the those items which belongs to the selected sales order no in the master table.So how can i do that through Formatted search.Is there any query of it then please forward it..
    Thanks

    Ya Sure..
    I need some quality check on the items after delivery so i am trying to manage it through the user defined tables.I created two tables first is document type ,Second is Document type rows.Now i created 5 user defined field in both the table.Now i want to call my sales order and its items in the UDT.so i created one fms and call the sales order in the Document table now when i double click on the first row after that i am able to see the new table which is the document row table .Now i need the item code and description of the selected sales order in the document rows table.So how the items and description can come in the row type table through FMS..
    I hope now u r able to get my scenario..

  • HT204088 Refer to Invoice: 116048258795, Order: MGX5VZ00Q9, Date 23/02/13 02:52 Kindly pls. check I was double charged the item twice. I had ordered one item at $5.99. not $11.98 to charged me. please correct the right number too, thx.

    Refer to above detail;
         please correct the right item to charge me. I order only the one item cost $5.99 not two items.
    yours sincerelys
    Thanon Vi.

    We are itunes users just like you.  We can do nothing
    You need to contact itunes support.
    Apple - Support - iTunes - Contact Us

  • How to let the user define the colors for each plots in the graph (I use LabVIEW 7)?

    How to let the user define the colors for each plots in the graph (I
    use LabVIEW 7)?

    Hi,
    Take a look at this example, it uses property nodes to select tha
    active plot and then changes the color of that plot.
    If you want to make the number of plots dynamic you could use a for
    loop and an array of color boxes.
    I hope this helps.
    Regards,
    Juan Carlos
    N.I.
    Attachments:
    Changing_plot_color.vi ‏38 KB

  • Warning: An error occurred during tax calculation. Please correct the problem or contact your system administrator.

    Hi All
    We are creating POs from interface program "Import Standard Purchase Order Program". Only for few of the POs, we are encountering the error 'Warning: An error occurred during tax calculation
    . Please correct the problem or contact your system administrator.'
    This error is happening for few PO's, other POs with same vendor, ship to and bill to location created successfully by the program
    Any inputs on how to resolve this error is greatly appreciated.
    Regards,
    Brajesh

    Hi Hussein,
    Thank for the prompt response.
    We have already applied the patch related to doc 1272684.1.
    Below are the environment detail.
    Database: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Application : 12.1.3
    Diagnostic tool output :-
    INTERFACE_
    TRANSACTION_ID
    INTERFACE_TYPE
    COLUMN_NAME
    PROCESSING_DATE
    TABLE_NAME
    ERROR_MESSAGE_NAME
    ERROR_MESSAGE
    100148
    PO_DOCS_OPEN_INTERFACE
    09-Aug-2013
    PO_HEADERS_INTERFACE
    PO_PDOI_TAX_CALCULATION_ERR
    Warning: An error occurred during tax calculation. Please correct the problem or contact your system administrator.
    Log file :-
    +---------------------------------------------------------------------------+
    Purchasing: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    POXPOPDOI module: Import Standard Purchase Orders
    +---------------------------------------------------------------------------+
    Current system time is 09-AUG-2013 21:09:04
    +---------------------------------------------------------------------------+
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    STANDARD
    N
    INCOMPLETE
    12805
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
    AUDSID = 12076063
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    Executing request completion options...
    Output file size:
    69
    +------------- 1) PRINT   -------------+
    Printing output file.
                   Request ID : 55116524
             Number of copies : 0
                      Printer : noprint
    +--------------------------------------+
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed successfully
    Current system time is 09-AUG-2013 22:27:42
    +---------------------------------------------------------------------------+
    Brajesh

  • XML page cannot be displayed cannot view XML input using XSL style sheet Please correct the error and then click the REfresh

    XML page cannot be displayed cannot view XML input using XSL style sheet Please correct the error and then click the REfresh

    Is the error message displayed in Firefox or in IE, or in a customized window that doesn't identify the browser?
    ''If it displays in Firefox:''
    It's possible that the Troubleshooter doesn't work correctly unless IE is your default browser. You could test that possibility by having IE make itself the default and testing the Troubleshooter again.
    ''If it displays in IE or embedded in another Microsoft application:''
    In a web search I found these suggestions:
    (1) Reset your Internet Explorer settings, according to http://answers.microsoft.com/en-us/ie/forum/ie8-windows_7/cannot-view-xml-using-xsl-style-sheet/ccfe80c6-c0db-4594-a7e3-475f9eac0e85
    (2) Try the System File Checker, according to http://ask-leo.com/why_do_i_get_the_xml_page_cannot_be_displayed_after_running_a_microsoft_troubleshooter.html
    Any luck?

Maybe you are looking for

  • Duplication check through form personalization

    Hi i was wondering what to write on when validate record or when new item instance for any duplicate checking.what are the reserve words to check the entered value if present in databse table then error. Regards

  • How do you un-sync public holidays in icalender

    I sync my icalander to public holidays but despite my time zone in settings as Auckland NZ I get the Canadian public holidays all through my icalendar. Can anyone help me undo this? Emmie

  • YouTube upload problems.

    I'm probably in the wrong forum but... I am having problems uploading my videos from FCE (encoded in 'Streamclip) onto YouTube. I have tried MP4, MP2 and .wavfiles. The progress bar on Youtube seems to stall right at the end. This is my first time do

  • New GL - Doc splitting Characteristics

    Hi Can anyone please tell me about the Document splitting characteristics in controlling for which it gets used for. Reg Kumar

  • Midnight release in store pickup

    I preordered online and selected store pickup for a store that isn't opening at midnight. Can I pick it up at a different store if I have my order number?