ALERT Causes Dump at Login

hi,
When the following query is used to create and ALERT the application crashes and creates a dump at login.
This query is used to validate the Item Revenue GL Account.(yes we have a strange arrangement).
When the script is run it detects any setup issues with the item.
I have tried removing nearly all returned fields and used TOP 10, to keep characters returned <4000.
So I assume there is some problem with the table accessed and joins.
The query runs fine in Query Generator and returns correct result with no error.
Kind Regards and Thank for any help,
Eric
select distinct
Item_Code          =     T0.ItemCode,
Is_Inventory              =     T0.InvntItem ,
Item_BU               =     (case when T0.U_BU = '0' then '00' else T0.U_BU  end ),
Grp_BU               =     (case when T1.U_BU = '0' then '00' else T1.U_BU  end) ,
SYS_BU               =     T2.Segment_1,
Item_BU_Grp_ERROR =     case when not((case when T0.U_BU = '0' then '00' else T0.U_BU  end ) = (case when T1.U_BU         = '0' then '00' else T1.U_BU  end)) then 'ERROR' else '' end,
Item_BU_SYS_ERROR =     case when not((case when T0.U_BU = '0' then '00' else T0.U_BU  end )  = T2.Segment_1) then 'ERROR' else '' end,
Item_Dept          =     (case when T0.U_Dept = '0' then '00' else T0.U_Dept  end ),
Grp_Dept          =     (case when T1.U_Dept = '0' then '00' else T1.U_Dept  end ),
SYS_Dept          =     T2.Segment_2,
Item_Dept_Grp_ERROR =case when not((case when T0.U_Dept = '0' then '00' else T0.U_Dept  end ) = (case when T1.U_Dept = '0' then '00' else T1.U_Dept  end )) then 'ERROR' else '' end,
Item_Dept_SYS_ERROR =case when not((case when T0.U_Dept = '0' then '00' else T0.U_Dept  end ) = T2.Segment_2) then 'ERROR' else '' end,
Segment_2          =     T2.Segment_2,
Grp_Code           =     T0.ItmsGrpCod,
Grp_Name          =     T1.ItmsGrpNam,
GrpType                 =     T1.U_GrpType,
GRP_Rev_acct          =     T1.RevenuesAc,
Grp_GL_Account         =     T2.Segment_0'-'T2.Segment_1'-'T2.Segment_2,
SYS_Acct          =     T2.Segment_0
FROM               
OITM          T0          
INNER  JOIN               OITB          T1          ON T0.ItmsGrpCod = T1.ItmsGrpCod
INNER JOIN               OACT          T2          ON T1.RevenuesAc= T2.Acctcode
INNER JOIN               [@EVOS_GL]     T3          ON T1.U_GrpType = T3.U_Type
and
NOT((case when T0.U_BU = '0' then '00' else T0.U_BU  end ) =(case when T1.U_BU = '0' then '00' else T1.U_BU  end))
OR
NOT((case when T0.U_Dept = '0' then '00' else T0.U_Dept  end ) =(case when T1.U_Dept = '0' then '00' else T1.U_Dept  end ))
OR
NOT((case when T0.U_BU = '0' then '00' else T0.U_BU  end ) =T2.Segment_1)
OR
NOT((case when T0.U_Dept = '0' then '00' else T0.U_Dept  end ) =T2.Segment_2)
order by  T0.Itemcode

Please check this thread:
Re: Alert Problem
Thanks,
Gordon

Similar Messages

  • ERP EhP4 causing dump in MIRO posting

    We just implemented ERP EhP4 w/SAPAPPL603 and are now getting a dump when using MIRO to posting a vendor invoice against a PO. The error seems to involve new logic for multiple account assignment introduced with this EHP.  The dump is in include LMRMBWF02 of SAPLMRMBM, and indicates that data object S_MCRBPO does not contain component XHISTMA.  The lines in LMRMBWF02 are (starting at 772):
    FORM bw_read_co_history_dyn_sub  USING   event  TYPE bwmode
                                     s_index_mcrbpo TYPE eval_iv_index_key_s
                                     s_mcrbpo       TYPE mcrbitm
                            CHANGING s_mcrbco       TYPE mcrbco.
      DATA: s_ekbe LIKE ekbe,
            s_ekbz LIKE ekbz,
            s_ekbz_ma TYPE ekbz_ma,                             "MAA EhP4
            s_ekbe_ma TYPE ekbe_ma,                             "MAA EhP4
            f_arewr TYPE ekbz-arewr,                            "MAA EhP4
            f_areww TYPE ekbz-areww.                            "MAA EhP4
    CASE event.
        WHEN c_recompilation.
          IF s_mcrbco-xunpl = space.
    Not for unplanned account assignments
            IF ( s_mcrbpo-exkbe = 'X' ).
    Read PO history for goods item
              IF s_mcrbpo-xhistma = space.                      "MAA EhP4
    ...with the last line being the culprit.  The actual break in execution occurs at line 119 of SAPLMRMP, BESTELLUNG_BUCHEN where function MRM_BW_PO_HISTORY is called.
    Had some other errors where tables weren't properly activated after the EHP installation, but here most everything seems to be activated properly.  The exception is table EKBE, which activates but with warnings about missing enhancement categories of tables or includes/subtypes for four active dependent tables.  That's the only lead I've got. 
    Can't find any notes or other posts about this error, any ideas would be greatly appreciated!

    Per the recommendation I've moved this thread to the ABAP forum:
    ERP EHP4 causing dump when posting invoice in MIRO

  • Alert causes key focus loss

    _player.alert("") causes lingo key handlers to lose focus in
    a shockwave window. The alert comes up, hit OK, but then the
    program loses all keyboard input. The window is still in focus,
    though. I have to click inside the window to regain keyboard input.
    Any way around this? Thanks

    Hi Howard,
    the session state for Page Items are set on submit, that is why the lower part of your question works.
    I would create an ITEM (in my example P11_ERROR),
    and then create 2 dynamic actions:
    1.) Execute PL/SQL Code when Lose Focus on Item TCKT_ID
    Code:
    DECLARE
    lv_counter NUMBER;
    BEGIN
    SELECT count(*)
    INTO lv_counter
    FROM your_tckt_table
    WHERE tckid = :TCKT_ID;
    IF lv_counter > 0 THEN
       :P11_ERROR := 'ERROR';
    ELSE
       :P11_ERROR := NULL;
    END IF;
    END;
    Page_items to Submit: TCKT_ID
    Page Items to Return: P11_ID
    2.) a Dynamic Action wich Alerts the Error:
    on Change of Item P11_ERROR Condition: when ITEM IS NOT NULL
    Action: Alert "Error! ID does already exist!"
    Works for me :-)
    Tom

  • How to set an alert for unauthorized ClearPass login

    Q: As a network administrator, how do i set alerts for a unauthorized access to ClearPass server (via SMS or Mail) ?
    A: A network admin would want to know, if someone unauthorized is trying to access the ClearPass server. The solution below explains, how a SMS/Mail alert can be set on ClearPass server for the same.
    Manual to way for a admin to check ClearPass login is via Event Viewer. Here the Alert level is WARN  for a invalid login.
    However for an automatic alert, we need to take following steps:
    In order to send alerts via Mail, we need to configure SMTP server on ClearPass
        2.  In order to send alerts via SMS we need to configure SMS gateway
      3.   Now once the Mail and SMS config is done, we need to set Alerts. For that we need to navigate to CPPM > Administration > Server Manager > Server Configuration > Cluster-Wide Parameters > Notifications
     4.   Here the system alert level is set to WARN (same for a Invalid login attempt) to capture unauthorized ClearPass login attempts.

    Thank you for the code.
    Is it correct to put that code under VALIDATE > run custome validate script, within the Properties box?
    Because I tried it, and it worked only AFTER I typed a number onto the field.
    Since my goal is to have the alert BEFORE, so if someone typed in a text, they should see the alert and correct themselves to type in a number instead.
    Please clarify.
    Thanks!

  • Alert monitoring unable to login

    Hi
    I am unable to login to the alert configuration / alert inbox  in RWB . It fails saying authorization error . Can you please let me know what all authorizations are required for  alert monitoring in  RWB. we are using XI SP pack 16
    any help on this is highly appreciated
    regards
    rajesh kr

    Hi Raj,
    Check these...
    Unable to logon to Alert Configuration in RWB
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    Alert Config
    cheers,
    Prashanth
    P.S Please mark helpful answers

  • Using RH_RELATION_MAINTAIN from RFC causes dumps

    Hello,
    We had a need to make the "RH_RELATION_MAINTAIN" function to be an RFC function.
    What we've done in order to do this, is to copy the code from the original function into a Z function.
    We are using the visual composer to call this function using RFC
    Most of the times, it works without a problem, but sometimes creating a relation between a person and an position causes a dump
    what we're getting is a weird system dump, that reads "CNTL_SYSTEM_ERROR".
    If the same data is run through R3 without rfc, everything works fine.
    Is there anything we can do about this?
    thanks in advance, Udi.

    im bumping this up after a week with no replies.
    sorry.

  • Create alert for users not login in R12 for specific number of  days

    Dear experts
    we have R12.1.1 .
    i want to create auto alert for users who dont login to R12 application for defined period e.g 30 days .
    please tell me that can i implement this ?
    Regards

    i want to create auto alert for users who dont login to R12 application for defined period e.g 30 days .
    please tell me that can i implement this ?You can use Oracle Alert to do this. To check when was the last time the user logged in to the application, query FND_USER.LAST_LOGON_DATE (for example, SYSDATE - LAST_LOGON_DATE > 30).
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_USER&c_owner=APPLSYS&c_type=TABLE
    Thanks,
    Hussein

  • Urgent : One Event alert Cause another Event Alert to Fire Aslo

    Dear Friends,
    i have two event alerts say :
    xx_employee_termination (After Insert - on PER_ALL_PEOPLE_F) -- Fires once i terminate any employee.
    xx_proposal_approved (after update - on PER_PAY_PROPOSALS) -- Fires once i approve any proposed salary
    my issue is
    When i terminate any employee it will update also PER_PAY_PROPOSALS which cause xx_proposal_approved alerts to fire if his status is (Approved)
    So, How to stop firing of Proposal Alert if i terminate any employee?
    Waiting for help friends,
    Regards,

    some would say why did you keep PER_ALL_PEOPLE_F instead of (per_periods_of_service)
    it is same..
    termination would affect Per_all_people_f ,per_pay_proposal ,,,,etc

  • Alert Causes Tree to Invoke Item Editor

    Attached is a very simplified version of my application which
    is causing me a headache. I have a Tree to which I have added a
    custom ContextMenu, with options to Delete and Rename items in the
    Tree. When a user selects "Delete", I force them to confirm the
    deletion by showing an Alert, with YES/NO options. However,
    regardless of what option they choose, when they click one of the
    buttons, the Tree suddenly shows one of the items in edit mode. I
    can't understand why.
    To reproduce:
    1. Compile the attached code in a Flex Project and open the
    application in a browser.
    2. Open the "Parent" node in the Tree.
    3. Select the "Child" node.
    4. Right-click with your mouse in the Tree and select Delete.
    5. Select either Yes or No.
    Any help with preventing this behavior from happening would
    be greatly appreciated.
    Thank you.

    I am pretty sure it is possible, but I have not done it. You
    will probably need to cancel the default behavior of click event.
    Tracy

  • Why does certain warnings are causing dumps during Upgrade?

    Hi  friends ,
    During Upgrade , I made an EPC check .There I got synatx errors and warnings as well. I corrected all the syntax errors except one warning. But later the same warning caused a serious dump though it usually doesnot happen. So is it required to correct warnings resulted in EPC check ? If yes , is there any convenient way to monitor the warnings that cause suich dumps as the number of warnings exceeds  far more in  amount as compared to  syntax errors?

    Hi,
    I don't think warning might cause serious errors like errors.. Please check why you got the dump for the warning message...
    You should avoid Errors...
    Regards,
    Nagaraj

  • ERP EHP4 causing dump when posting invoice in MIRO

    I originally posted this in the MM forum but was advised to move it here.
    We just implemented ERP EhP4 w/SAPAPPL603 and are now getting a dump when using MIRO to posting a vendor invoice against a PO. The error seems to involve new logic for multiple account assignment introduced with this EHP. The dump is in include LMRMBWF02 of SAPLMRMBM, and indicates that data object S_MCRBPO does not contain component XHISTMA. The lines in LMRMBWF02 are (starting at 772):
    FORM bw_read_co_history_dyn_sub USING event TYPE bwmode
    s_index_mcrbpo TYPE eval_iv_index_key_s
    s_mcrbpo TYPE mcrbitm
    CHANGING s_mcrbco TYPE mcrbco.
    DATA: s_ekbe LIKE ekbe,
    s_ekbz LIKE ekbz,
    s_ekbz_ma TYPE ekbz_ma, "MAA EhP4
    s_ekbe_ma TYPE ekbe_ma, "MAA EhP4
    f_arewr TYPE ekbz-arewr, "MAA EhP4
    f_areww TYPE ekbz-areww. "MAA EhP4
    CASE event.
    WHEN c_recompilation.
    IF s_mcrbco-xunpl = space.
    Not for unplanned account assignments
    IF ( s_mcrbpo-exkbe = 'X' ).
    Read PO history for goods item
    IF s_mcrbpo-xhistma = space. "MAA EhP4
    ...with the last line being the culprit. The actual break in execution occurs at line 119 of SAPLMRMP, BESTELLUNG_BUCHEN where function MRM_BW_PO_HISTORY is called.
    Had some other errors where tables weren't properly activated after the EHP installation, but here most everything seems to be activated properly. The exception is table EKBE, which activates but with warnings about missing enhancement categories of tables or includes/subtypes for four active dependent tables. That's the only lead I've got.
    Can't find any notes or other posts about this error, any ideas would be greatly appreciated!

    Hi,
    the only thing i´ve found is this OSS Note:
    https://service.sap.com/sap/support/notes/1105679
    Best regards.

  • How do I determine what alert causes a notification sound?

    So I'm sitting here at my computer, and with some frequency. the alert sound plays. But there are no new e-mail messages in my mailbox, no new Facebook notifications, I didn't type something, it just happens. Is there any way I can find out what happened to trigger the alert sound?

    Hey acmwallace,
    You can see notifications you have recently received by going into the Notifications area. The upper right corner of your menu bar is where to go to look at these. See this article -
    OS X Yosemite: See your notifications
    Thanks for using Apple Support Communities.
    Be well,
    Brett L 

  • DateTime Field causes dump in SOAP webservice

    We're consuming a web service written in C# (.NET 4.0) which has datetime (xsd:dateTime) fields. The ABAP proxy class dumps when the service response is returned with:
    CX_SY_CONVERSION_NO_DATE_TIME:XSLT exception.An error occurred when deserializing in the simple transformation program /1SAI/TXS72F7E0958348097F34D9.Value 2011-12-15T00:00:00 is not a valid date with time in accordance with the XML format for ABAP
    Apparently SAP expects 2011-12-15T00:00:00Z but we are getting 2011-12-15T00:00:00 (without the Z). What does this mean and how can we fix it? Our .NET developer apparently has no control over the "Z" and this all seems a bit of strange reason to dump.
    Here is the partial SOAP response:
    <Expires>2011-07-18T00:00:00</Expires>
    Here is the relevant WSDL:
    <xsd:element minOccurs="0" name="expires" type="xsd:dateTime" />

    ping

  • Vibration alert causing problems for a deaf iPhone user

    Hello,
    I very recently acquired myself an iPhone 3GS, and have been trying to work out how to make it so I can actually tell when I receive an SMS.
    I'm severely/profoundly deaf and cannot hear the ringtones that come with the iPhone. I also cannot feel the vibration alert as it is so weak on the phone. I wanted to contact apple to discuss this with them as it really is quite discriminating to disabled users, but of course you can only contact them by phone, which is even worse as I can't hear people on the phone!!!
    I'm really quite upset about this as I paid a lot of money for a phone that I love but can't really use due to the lack of vibration. I have constantly missed text messages due to this problem, and so I was wondering if anyone has any advice for me at all?

    Thank you very much for that Feedback link, I wrote them a long email explaining how disappointed I am in their lack of accessibility for those with a hearing impairment. I'm hopeful that they'll actually contact me regarding this, as it is a serious matter that they are not providing for those with a serious hearing impairment (particularly regarding contacting them!)
    I also looked at the TTY adapter, but that wouldn't help me at all, I don't think. I cannot use a phone to call anyone, I use my phone for text messaging and the web, which is why I chose an iPhone on o2, it fitted my needs perfectly (apparently not for vibration, sadly).
    I really appreciate the responses, you've both been very helpful. Just a waiting game to see what happens now really. Thanks again.

  • SQL Server 2012 syspolicy_purge_history job causes cross-instance login failures w. EraseSystemHealthPhantomRecords

    I have unique service accounts set up for multiple instances on the same SQL Server 2012.
    When step 3 of the inbuilt syspolicy_purge_history job(Erase Phantom System Health Records) runs, it appears to attempt to run against every instance on the server despite being passed the instance path!
    The SQLServer's powershell script call:
    if ('$(ESCAPE_SQUOTE(INST))' -eq 'MSSQLSERVER') {$a = '\DEFAULT'} ELSE {$a = ''};
    (Get-Item SQLSERVER:\SQLPolicy\$(ESCAPE_NONE(SRVR))$a).EraseSystemHealthPhantomRecords()
    so with instances SERVER\X this runs as...
    (Get-Item SQLSERVER:\SQLPolicy\SERVER\X).EraseSystemHealthPhantomRecords()
    SERVER\X's job will run and I will see login failures in the error logs of SERVER\Y and SERVER\Z for the service account set up for instance X.
    It seems Microsoft's only 'accepted solution' to this problem is for me to compromise my security by escalating the access of these service accounts?
    Has anyone else run into and corrected this failure?

    Hi Atombath,
    When you install multiple instances on one Server, and  the SQL Server’s powershell scripts are the same in inbuilt syspolicy_purge_history job steps. However, when you start PowerShell by right clicking
     syspolicy_purge_history job, you will find it will point to their own instance. I do a test in my SQL Server 2012,
     it will not across instance to collect the error logs. So I recommend you use its original powershell scripts for the syspolicy_purge_history job.
    Sometimes, if you run the syspolicy_purge_history job on a clustered instance, the syspolicy_purge_history SQL Server Agent job may fail due to using the computer node name instead of the virtual server name. For more information, see:
    http://support.microsoft.com/kb/955726/en-us
    In addition, you can use different service account for your multiple SQL Server instances on the same Server. And make sure the accounts that you created get added to the sysadmin fixed server role, the accounts are also set in the three Agent roles (SqlAgentUserRole,
    SqlAgentReaderRole, and SqlAgentOperatorRole).
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

Maybe you are looking for

  • Directory structure for  ABAP+JAVA Dialog Instance

    Hello, Can any one clarify how will be the directory structure in a case where we have ABAP+Java System? For Central Instance,DVEBMGS<instance no> Central Services,SCS<instance no+1> Ex:DVEBMGS20 SCS21 If I have another dialog instance,can I have onl

  • IPhoto 2.0.1: Missing photos

    My iPhoto photos are missing. I've had some other weirdness with other applications, e.g. Mail and Safari, but I've resolved those issues on my own and with help from other forum angels. Now I'd like some help finding my photos that used to be in iPh

  • HELPPP !! SapScript: print window only on first page

    Hello, can somebody help me? I have 2 pages (1 full and 1 almost empty) because the STANDARD print program send 2 pages into my form And I would like to print some windows (address, info) ONLY ON THE FIRST PAGE but I can't... I try to use some system

  • Where can i find and download iCloud on a mac?

    I deleted  icloud by mistake.  Where can I find and download it again? Thank you!

  • How to install new laptop battery.

    Using HP Support Assistant, my HP G61 110SA laptop battery wouldn't recalibrate so it told me to replace it.  I have now bought a new one but can't find any instructions anywhere on HOW to install it!  Plus, should I fully charge before installation