Reporting Agent - Raise Exception

Hello all,
we want to precalculate a query (WEB Template) which contains the fiscal year and a key figure in the colum.
Column 1 contains only the variable for the fiscal year
column 2 contains the same variable but with offset -1.
I also creadet a controll query, restricted to different companies, and this query contains also the variable for the fiscal year.
In the reporting agent setting I added the control query to the web template and creadet a variant for the control query. when I schedule this package i receive a short dump, saying "raise exception".
Can someone explain me how i have to handle this kind of variables within the reporting agent ?
We use BW 30B / SP20.
Thanks for your help
Dieter

the "download" function is standard FUNC in SAP

Similar Messages

  • Exception ( in Reporting Agent ) background job runs indefinitely

    Hi
    I created an Exception setting under reporting agent (to send out a mail in the SAP Office inbox, on a specific exception) and assigned it under a scheduling package.
    I have assigned a proper query variant to the exception setting also.
    When I exeucte the job, it goes indefinitely.
    I highly appreciate if somebody can help what needs to be done to fix this.
    Thanks
    KC

    Hi,
    If you choose the Precalculate by User option, all the data and HTML pages for the Reporting Agent setting are precalculated for each of the selected users in a single job. This applies in both the cases: Roles or users. When you specify a role after selecting the option 'Precalculate by User', the precalculation will be done for all the users assigned to that role and not the role.
    Roles/Users is just 2 different ways of giving the user restriction. If you specify the roles, the system will precalculate for all the users assigned to the role. If you have few users for whom you want the precalculation to be done, then you can specify the user IDs. If you have many users assigned to a particular role for whom you want the precalculation to be done, then you can specify the role.
    Regards,
    Shilpa

  • Not able to see negative exception in reporting agent setting.

    Hello Gurus,
    I created a query with exceptions on top of a multi-provider. This multi-provider is built on top of a DSO and a remote cube.
    Exceptions is the query
    1. range from -1,00,00,000 to -0.1
    2. range from 1 to 1,00,00,000.
    When I created a reporting agent setting for this query, i was able to see the positive exception but not negative. Please help me regarding this.
    thanks,
    Aarthi.

    Hello Aarthi,
    Have you checked the dataprovider contains the negative values.
    Do a list Cube on the multiprovider and confirm it.
    Have you defined single exception for both or seperate exception. If 2 then check whether exception is active?
    Thanks
    Chandran

  • Reporting Agent - Exceptions

    I am working on setup on Exceptions in the reporting agent.  I want to do both email alerts as well as alert monitor alerts.  I have reviewed the SAP Library and there isn't much there to assist you in why what has been setup is not working.  Does anyone know of a detailed guide on how to setup exceptions in the reporting agent or can anyone assist me in doing so?
    Thank you.
    Caroline De Laurell

    hi, i have tried with monitor alerts  in reporting agent... i went thru the help.sap.com documentation and tried the steps given thr and i got .... but was unable to do with email alerts
    note : if u'r  in netweaver2004s then the reprting agent function has been removed from rsa1..... u can access thru the tr.code   "reporting_agent"......
    this is the link.... http://help.sap.com/saphelp_nw2004s/helpdata/en/45/67bd3cad649f5ce10000000a114084/frameset.htm
    hope this is useful

  • Submit report = raise exception class

    Hello experst,
    i have to call a report from one of my programs. In this report it can happen that an error occors. So there i call
          RAISE EXCEPTION TYPE zcx_exceptionmng
            EXPORTING t100_msgid = 'QY'
                                t100_msgno = '051'.
    The code of the calling program looks like this:
    try.
      submit z_test and return
              with p_backgr = 'X'
              with p_lot = '12312'
    catch zcx_exceptionmng into oref.
    endtry.
    I wonder because the catch doens´t work. I get a system dump  UNCAUGHT_EXCEPTION.
    What´s my mistake?

    Try something this way
    RAISE EXCEPTION TYPE zcx_exceptionmng
            EXPORTING t100_msgid = 'QY'
                                t100_msgno = '051'.
    if SY-SUBRC = 4.
    Exce = 4.
    export exce to memory id 'ZEX'.
    endif.
    then
    submit z_test and return
              with p_backgr = 'X'
              with p_lot = '12312'
    import exce from memory id 'ZEX'.
    if exce is not initial.
    " Do your error handling

  • Oracle BI Scheduler raised exception while exporting report by iBot and cus

    Hi,
    I have the issue. When I export BI report using iBot and Java program(BI Publisher Java API) - Oracle BI Scheduler raised exception.
    Platform:
    OBIEE 10.1.3.4 on aix 5.3.0.0
    See the captured log below and any suggestion to fix this will be greatly appreciated.
    - javahost.out.log
    Sep 23, 2009 2:46:35 AM SchedulerComponentLoad load
    INFO: Loading config ...
    Sep 23, 2009 2:46:35 AM SchedulerComponentLoader load
    WARNING: Scheduler RPC components is disabled due to incorrect configuration.
    Sep 23, 2009 2:46:35 AM ApplicationImpl init
    INFO: Running configuration:
    JVM=IBM J9 VM(2.3)
    Listener.Port=9810
    Listener.PermittedClientList=*
    Listener.Address=null
    JobManager.MinThreads=100
    JobManager.MaxThreads=100
    JobManager.MaxPendingJobs=100
    JobManager.IdleThreadTimeoutMls=300000
    MessageProcessor.SocketTimeoutMls=5000
    Charts.InputStreamLimitInKB=1024
    Charts.RequestResponseLogDirectory=/oracle/oraclebidata/tmp
    Chart.Enabled=true
    Chart.InputStreamLimitInKB=1024
    Chart.ChartRoot=/oracle/oraclebi/corda50/chart_root
    Chart.CordaRoot=/oracle/oraclebi/corda50
    Chart.EnableConsoleOutput=false
    Chart.EnableXmlValidation=true
    Chart.MaxAttributeLength=127
    Batik.InputStreamLimitInKB=1024
    Batik.RequestResponseLogDirectory=/oracle/oraclebidata/tmp
    Batik.EnableXmlValidation=false
    Scheduler.Java.Enabled=false
    Scheduler.Java.DefaultUserJarFilePath=null
    Scheduler.Java.PurgePeriod=0
    Scheduler.Java.TempPath=null
    XMLP.InputStreamLimitInKB=8192
    XMLP.RequestResponseLogDirectory=/oracle/oraclebidata/tmp
    OBISAuthenticatorProxy.InputStreamLimitInKB=128
    OBISAuthenticatorProxy.RequestResponseLogDirectory=/oracle/oraclebidata/tmp
    OBISAuthenticatorProxy.ClassName=oracle.bi.server.customauthenticatorimpl.javahostrpccall.DisabledAuthenticator
    Sep 23, 2009 2:46:35 AM Main main
    INFO: Listening for new connections
    Sep 23, 2009 3:01:56 AM RpcSchedulerJob processMessage
    WARNING: Error
    java.lang.NullPointerException
         at java.io.File.<init>(File.java:220)
         at com.siebel.analytics.scheduler.javahostrpccalls.SchedulerJavaUtil.getMaxCount(SchedulerJavaUtil.java:118)
         at com.siebel.analytics.scheduler.javahostrpccalls.SchedulerJavaUtil.makeUniqueFileName(SchedulerJavaUtil.java:109)
         at com.siebel.analytics.scheduler.javahostrpccalls.SchedulerJavaUtil.readJobInfo(SchedulerJavaUtil.java:68)
         at com.siebel.analytics.scheduler.javahostrpccalls.RpcDisabledSchedulerJob.processMessageInternal(RpcDisabledSchedulerJob.java:36)
         at com.siebel.analytics.javahost.AbstractRpcCall.processMessage(AbstractRpcCall.java:107)
         at com.siebel.analytics.javahost.MessageProcessorImpl.processMessage(MessageProcessorImpl.java:175)
         at com.siebel.analytics.javahost.Listener$Job.run(Listener.java:223)
         at com.siebel.analytics.javahost.standalone.SAJobManagerImpl.threadMain(SAJobManagerImpl.java:205)
         at com.siebel.analytics.javahost.standalone.SAJobManagerImpl$1.run(SAJobManagerImpl.java:153)
         at java.lang.Thread.run(Thread.java:810)
    - nqscheduler.out.log
    [Util Logger] Exception occured:
         Severity:Not set
         Type:const saw::Exception *
    +     File:/net/sdcb80a022/vol1/users/anabuild/views/nightly/Tue/101341/AIX/vobs/090414.1900/analytics_web/main/project/webcomm/rpc.cpp+
         Line:371
         Message:A fatal error occurred while processing the request. The server responded with: Error while executing RpcSchedulerJob.processMessage
    java.lang.NullPointerException
         at java.io.File.<init>(File.java:220)
         at com.siebel.analytics.scheduler.javahostrpccalls.SchedulerJavaUtil.getMaxCount(SchedulerJavaUtil.java:118)
         at com.siebel.analytics.scheduler.javahostrpccalls.SchedulerJavaUtil.makeUniqueFileName(SchedulerJavaUtil.java:109)
         at com.siebel.analytics.scheduler.javahostrpccalls.SchedulerJavaUtil.readJobInfo(SchedulerJavaUtil.java:68)
         at com.siebel.analytics.scheduler.javahostrpccalls.RpcDisabledSchedulerJob.processMessageInternal(RpcDisabledSchedulerJob.java:36)
         at com.siebel.analytics.javahost.AbstractRpcCall.processMessage(AbstractRpcCall.java:107)
         at com.siebel.analytics.javahost.MessageProcessorImpl.processMessage(MessageProcessorImpl.java:175)
         at com.siebel.analytics.javahost.Listener$Job.run(Listener.java:223)
         at com.siebel.analytics.javahost.standalone.SAJobManagerImpl.threadMain(SAJobManagerImpl.java:205)
         at com.siebel.analytics.javahost.standalone.SAJobManagerImpl$1.run(SAJobManagerImpl.java:153)
         at java.lang.Thread.run(Thread.java:810)
    Edited by: user8096018 on Sep 23, 2009 5:40 AM

    I am also having the same issue......Can some body help me please? Thanks

  • Use of the Export while creating Exceptions in the Reporting Agent

    hi all,
    can anyone let me know how the Follow Up Action "Export" is used while creating Exceptions under the Reporting Agent.
    I understand that for the data that was precalculated to be used as a work item in a customer Workflow, it first needs to be exported using the business Add Ins (SE19). i have created the Business add In "RSRA_ALERT" and have also set a filter according to the InfoArea and activated it.
    But once, the package is scheduled and completed, wherefrom will i check the result and how do i check whether that data has been exported or not.
    Kindly let me know at the earliest.
    Thanks & regards
    Manicks

    Hi,
    See if it helps -
    http://help.sap.com/saphelp_bw33/helpdata/en/24/77643c07437c7fe10000000a114084/frameset.htm
    regards
    Vikash

  • Send mail from reporting agent - Exception

    Hello,
    I am trying to send a mail as follow-up action in the reporting agent.(Version 3.0)
    I am interested only in the alert details information and I mark only this flag.
    I get the following mail:
           message
           123
           Details
           Breakdown Status :
           New Exception
           Non-critical ( Green ) :    1
           : 3,302 CTN
           Use the following link to go to the online       
           This message was sent from BW system
    I still would like to edit the content of the mail. Is the only way is to change class CL_RSRA_ER_FOLLOW_UP_MAIL?
    Thank you!!!

    Hello Nili,
    I think you can edit content and Subject etc.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/21/35783b82ee5d31e10000000a114084/content.htm
    Hope this helps.
    San.

  • Follow Up Actions - Reporting Agent

    Hi BW Gurus,
    I would like to know what are following up action is available in Reporting Agent
    Thank You

    Hi Luis,
    There are 4 steps.
    1) Send Mail- alerts user by e-mail; for example you can send e-mail saying sales qty target were missed
    2) Alert Monitor entry - view results in the alert monitor; you can also give an URL for the alert monitor
    3) Export - Send Data to a work flow for follow up action
    4) RRI Interface - if an exception happens you can jump to another query for a more detailed display using Go To option
    TQ
    Kumar

  • Send mail as follow-up action in reporting agent

    I need to send a mail with the exceptions flaoting from a query. I tried to use the follow-up action of 'send mail' in the reporting agent. that didnt work because in our SAP we're not using the exchange connector and mails cannot be sent in the regular way.
    I have an external command of sending mail.
    Does anyone has a way of solving this problem, meaning, using my external command of sending mail in order to send the mail with the exceptions (this command works just fine in process chains, for example, for notification of process progress)
    Thank You,
    Yoav.

    Hello Nili,
    I think you can edit content and Subject etc.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/21/35783b82ee5d31e10000000a114084/content.htm
    Hope this helps.
    San.

  • ECL Viewer 5 raise exceptions viewing tif drawings

    Hello all,
    Bit of a strange one here that hopefully someone may be able to help me with...
    We are (still) running 4.6C, on Ora 9.2.0.7 over Windows.
    We are running 640 Gui patched to 24
    We have deployed (in a failed attempt to stop the error I will describe below) ECL viewer 5.1.3.
    Client machines are running XP with SP2
    Error:
    after entering MM03 and choosing Additional Data > Document Data we click on an attchment (doc type DRG) and choose to view via the display (glasses) icon.  The tif file (which is copied into C:\temp) opens.  many of the tif files (scanned drawings) have multiple pages so we move to the next page by clicking 'Navigation' > 'next'. 
    The problem is that after a seemingly random amount of clicks on to next pages a raise exception occurs.  After the short dump it is no longer possible to view the document again as we get the error 'file c:\temp\xxxxx.tif cannot be created' and so the only way to view the drawing is either to access the file from the temp directory or completly log out of SAP and relog back in.
    i have searched for notes and we were advised to deploy the 5.1.3 viewer which only seems to have made it worse because before the 5.1.3 deployment we were getting many short dumps but the user oddly didn't see the short dump on their screens - now 5.1.3 is in place the user now sees the short dump and calls the support desk very often.
    Has anyone been unfortunate enough to have experienced this before or anyone got any brain waves????
    yours thankful in advance and loosing the will to live,
    Andy
    ps here is the short dump extract:
                                                                                    Error analysis                                                                               
    A RAISE statement in the program "CL_GUI_CFW====================CP " raised the
    exception                                                                    
    condition "CNTL_ERROR".                                                       
    Since the exception was not intercepted by a superior program                 
    in the hierarchy, processing was terminated.                                                                               
    Short description of exception condition:                                                                               
    For detailed documentation of the exception condition, use                    
    Transaction SE37 (Function Library). You can take the called                  
    function module from the display of active calls.                             
    How to correct the error                                                                               
    If the error occurred in a non-modified SAP program, you may be               
    able to find a solution in the SAP note system.                               
    If you have access to the note system yourself, use the following             
    search criteria:                                                                               
    "RAISE_EXCEPTION"                                                            
    "CL_GUI_CFW====================CP " or "CL_GUI_CFW====================CM00P "
    "UPDATE_VIEW"                                                                
    or                                                                               
    "CL_GUI_CFW====================CP " "CNTL_ERROR"                                                                               
    or                                                                               
    "SAPMMG01 " "CNTL_ERROR"                                                      
    If you cannot solve the problem yourself, please send the                     
    following documents to SAP:                                                                               
    1. A hard copy print describing the problem.                                  
       To obtain this, select the "Print" function on the current screen.         
    2. A suitable hardcopy prinout of the system log.                             
       To obtain this, call the system log with Transaction SM21                  
       and select the "Print" function to print out the relevant                  
       part.                                                                               
    3. If the programs are your own programs or modified SAP programs,            
       supply the source code.                                                    
       To do this, you can either use the "PRINT" command in the editor or        
       print the programs using the report RSINCL00.

    Hi Andy,
    I would recommend you to upgrade to the latest available ECL Viewer version 6.
    Please see SAP note 1083901.
    Further please upgrade also your SAPGUI to the latest patch level as explained in note 164203. After this upgrade please un-install your ECL Viewer 5.1.3 by using one of the following mehtods:
    Search for WebViewer2d.dll file. If it is present at more than one place then it means ECL Viewer is installed more than once without uninstalling the previous version (You can check the folders and should be able to see all the dll's for ECL Viewer such WebViewer3d.dll/Printing.dll etc to make sure that there is not only single file but the whole installation).
    In this case:
    A) Uninstall the version integrated with SAP GUI by using SAP Installation scripts. You need to uncheck the 'EAI Viewer' component in 'General Add-on' option.
    B) Check add/remove program and if there is an entry like SAP Viewer, uninstall it.
    After this search again, and you should not get WebViewer2d.dll file on machine. Now reinstall the latest Viewer. This should solve most of the issue related to inconsistencies.
    Then install the latest ECL Viewer 6 and the issue should be solved.
    Best regards,
    Christoph

  • Output from Reporting Agent in BW is inconsistent

    Hi,
    I have created a scheduled package of print type in reporting aget. The job runs successfully but once I check the spool in SM37, the output is not corrrect.
    First it writes only characteristics and then below that it writes key figures. Both Char and Key Figures do not come in one line.
    Not sure where have I gone in creating this scheduling package in reporting agent.
    Any help is most welcome.
    Thanks in Advance.
    Prashant

    Hi,
    You can define threshold values (exceptions) for a query. Data that varies from these thresholds is highlighted in color or marked with icons. You can use these exceptions to identify deviations from expected results at a glance.
    Defining and Changing Exceptions
    1. In the Exceptions screen area, choose New Exception in the context menu. An entry with the default text Exception <Number> appears and you can edit the description directly.
    2.In the context menu, choose Edit. The exception editor appears; it displays the relevant parts for the definition on tab pages.
    You can also call the exception editor from the Properties screen area by choosing the Edit pushbutton.
    3.      Make the required settings for the definition of the exception. For more information, see Definition of Exceptions.
    4.      Choose OK. You return to the query definition.
    5.      Choose Save Query.
    Removing Exceptions from Queries
           1.      In the Exceptions screen area, select the relevant exception and choose Remove in the context menu.
           2.      Choose Save Query.
    Result
    You have defined or changed an exception for a query. Execute the query. The exception is evaluated online. The cell areas that are affected by the exception appear highlighted in the appropriate color or, where applicable, with icons in Web applications.
    You can display the exception descriptions and activate or deactivate the exceptions you want.
    For more info go through the below link
    http://help.sap.com/saphelp_nw70/helpdata/en/68/253239bd1fa74ee10000000a114084/frameset.htm
    Regards,
    Marasa.

  • Error in Raising exceptions in a method and handling the same in the WF

    Hi All
    I tried to implement Raising exceptions in a method and handling the same in the workflow
    in the same way given in SAPtechnical site .
    1.by adding a error msg in exception parameter .
    2. if the select query fails, to fetch the agent then :exit_return 9001 'ztable name' space space space.
    3.in the Background activity in which this method is called there automatically one outcome appears ,and I hav acitvated that outcome and in that done what need to be done for that error handling - just send a mail to concern person .
    4. in the normal outcome of the activity , the step to be executed are there .
    but its not working , if exception come then the WF stuck there only . it do not follow the exception outcome .
    Kindly help me , How can I do the exception handly in WF.
    thanks & Regards
    Kakoli

    > That is usually the case - you catch an error in the underlying program and pass that back so the workflow can go into error.
    > You're doing it correctly.
    I don't think that's quite right.
    If you define an error/exception in a method, it is automatically mapped to an outcome of the step/task.
    If you activate that outcome, then you can handle the exception in a branch of the workflow.
    For example: 'Remote connection is down, please contact Basis'
    The step should only go into error if an outcome occurs that you have NOT activated.
    So the original question is valid. Please give some more information on what the error message is..
    chrs
    Paul

  • Raising Exceptions in WDA?

    Hi,
       I want to know about raising exception in wda. Please explain in details.
    Scenario: I have one input field as mandatory. if i click the button without filling that input field, self defined exception should raise. How to do this?
    Thanks,
    Gopi.

    hi ,
    place a UI message area in the RootElement Containeru cn make use of control wizard ( CONTROL + F7) to generate error or exception messages
    select the radio button , generate messages and choose the method report_error_message
    this code wud be automatically generated thru code wizard
    * get message manager
    DATA lo_api_controller     TYPE REF TO if_wd_controller.
    DATA lo_message_manager    TYPE REF TO if_wd_message_manager.
    lo_api_controller ?= wd_this->wd_get_api( ).
    CALL METHOD lo_api_controller->get_message_manager
      RECEIVING
        message_manager = lo_message_manager
    * report message
    CALL METHOD lo_message_manager->report_error_message
      EXPORTING
        message_text              =   'Error_Text' " Give your error text here.
    regards,
    amit

  • Problem with "subject" & "recipient list" of reporting agent

    Hi,
    I've created an exception in a query & assigned "E-mail notification" for this exception in reporting agent. I entered "Subject" field and assigned "distribution list" to "Recipient list" field in the e-mail notification attributes.
    After transporting, reporting agent & package, everything moved fine but subject & recipient fields are not carried over to Quality system. both the fields are blank.
    What is the problem?
    How do I make sure that these 2 fields are also transported to Quality & Production rather than manually maintaining them again in the target system.
    Appreciate any help.
    Hari Immadi
    http://immadi.com
    SEM BW Analyst
    Message was edited by: Immadi Hari

    Hari,
    Did you ever get this resolved?  We are currently experiencing the same problem.
    Thanks,
    Bill Lomeli

Maybe you are looking for