How can we display Alerts based on Exceptions in BI7
Hi,
<b>How can we display Alerts based on Exceptions in BI7?</b> My requirement is a dashboard kind of scenario where the alerts will be displayed using WAD in Portal.
In 3.5, we used to schedule the alerts from the Reporting Agent and display that using the Alert Webitem in Web Application Designer. But I couldn't find the Reporting Agent and the Alert Webitem in BI7. I would like to know how we can do Exception Reporting in BI7. I appreciate your suggestions/comments. Thanks in advance.
Regards
Hari
Hi,
Please go through this link:
bw 7.0
Regards,
Habeeb
Similar Messages
-
How can I display XSLT transformer errors on a web page ?
Hi,
I have some JSP pages that access DB, create an XML based on DB data and then transform it into HTML through an XSLT stylesheet. Developing the XSL code it's easy to make mistakes and generate errors on trasformation, but what I receive on the web page is only a "Could not compile stylesheet" TransformerConfigurationException, while the real cause of the error is displayed only on tomcat logs. This is the code for transformation:
static public void applyXSLT(Document docXML, InputStream isXSL, PrintWriter pw) throws TransformerException, Exception {
// instantiate the TransformerFactory.
TransformerFactory tFactory = TransformerFactory.newInstance();
// creates an error listener
XslErrorListener xel = new XslErrorListener();
// sets the error listener for the factory
tFactory.setErrorListener(xel);
// generate the transformer
Transformer transformer = tFactory.newTransformer(new SAXSource(new InputSource(isXSL)));
// transforms the XML Source and sends the output to the HTTP response
transformer.transform(new DOMSource(docXML), new StreamResult(pw));
}If an exception is thrown during the execution of this code, its error message is displayed on the web page.
This is the listener class:
public class XslErrorListener implements ErrorListener {
public XslErrorListener() {
public void warning(TransformerException ex) {
// logs on error log
System.err.println("\n\nWarning on XEL: " + ex.getMessage());
public void error(TransformerException ex) throws TransformerException {
// logs on error log
System.err.println("\n\nError on XEL: " + ex.getMessage());
// and throws it
throw ex;
public void fatalError(TransformerException ex) throws TransformerException {
// logs on error log
System.err.println("\n\nFatal Error on XEL: " + ex.getMessage());
// and throws it
throw ex;
}When I have an error in the XSL stylesheet (for examples a missing closing tag), I can find on tomcat logs the real cause of the error:
[Fatal Error] :59:10: The element type "table" must be terminated by the matching end-tag "</table>".
Error on XEL: The element type "table" must be terminated by the matching end-tag "</table>".but on my web page is reported just the TransformerConfigurationException message that is:
"Could not compile stylesheet".
How can I display the real cause of the error directly on the web page?
Thanks,
AndreaThis code is part of a bigger project that let developers edit XSL stylesheets through a file upload on the system and we can't impose the use of any tool for checking the xsl. So, I need to display the transformer error on the web page.I see. This code is part of an editorial/developmental tool for developers to create and edit XSL stylesheets.
As part of the editorial process, XSL errors during editing can be considered a normal condition. In other words, it is normal to expect that the developers will generate XSL errors as they are developing stylesheets.
In this light, handling the XSL transformation errors is a business requirement that you need to handle. Using the Java Exceptions mechanisms, e.g. try / catch are inappropriate to handle business requirements, in my opinion.
I suggest that you look at how you handle the occurence of XSL errors differently than what you currently have. You need to:
(1) capture the Transformation exception on the server;
(2) extract the message from the exception and put it into a message that can be easily understood by the user;
The current error message that you have going to the web browser is not useful.
And you should not have the Transformation exception sent to the web browser either.
What you are attempting to do with the exception is not appropriate.
Handle the Transformation exception on the Business tier and use it to create a useful message that is then sent to the Presentation tier. In other words, do not send Java exceptions to web browser.
/> -
In the document attached the vi on the right is sub to the vi on the left. On the subvi on the right the variable "Field Reading" is continuously updated on the front panel of the subvi as the "for" loop is executed, but only the last value of the variable is updated on the main vi front panel which is what is expected. My question is how can I display the changing value of "Field Reading" on the main vi front panel as the "for" loop in the subvi is running?
Thank you.
Solved!
Go to Solution.
Attachments:
Doc2.docx 554 KBHopefully I can explain it well enough. It really is simple.
1) Create an empty global variable and call it something like User Interface References.vi
2) For each and every control and indicator on your front panel, right-click and select Create/Reference
3) Place these references wherever you like (I use a series of Event cases to perform my initialisation and these all live in one of these event cases). They can be placed anywhere in the main vi.
4) For each of the references, right-click and select Create/Indicator
5) Moving to the front panel, Cut all the indicators and Paste them in the global variable (eg. User Interface References.vi)
6) Moving back to the block diagram, wire the global variable to each of the references and select the same named global variable.
All the hard work is now done (until you add another user interface terminal). You should now have something that look as shown below, [except the reference labels would be to the left (not sure why the snippet put them above)]. In my latest program I have 82 references!
Done. You can now access all your front panel controls and indicators anywhere in your program as shown below.
You can just select Value in most cases, but in this particular case I wanted to fire off an Event to do some things (log the alarm) as well as just update the value. So, this is another bonus with the method.
Hopefully this all makes sense. If not, let me know. -
public class Userdefined extends Exception {
Userdefined(String sparam){
System.out.println(sparam);
Userdefined(){
private static int acno[]={100,105};
private static double bal[]={100.00,200.00};
public static void main(String args[]) {
try{
for(int i=0;i<2;i++)
System.out.println("ACCCCNO------>"+acno[i]+"BAl------>"+bal);
if(bal[i]<150.00)
Userdefined udexp=new Userdefined("bal less");
throw udexp;
catch(Userdefined e){
System.out.println("--->"+e);
How can i display the message "less amt" using my parmeterized constructor.VinayTK wrote:
How can i display the message "less amt" using my parmeterized constructor.Erm ... what? You can't --- at least not with the stuff you've got there.
A properly formed question, with some idea of what you're trying to accomplish would be a huuuuge help.
Winston
BTW: Congratulations. At my age, 'first's in computing are rare; but it's definitely the first time I've seen an Exception class with a main() method.
Edited by: YoungWinston on Sep 1, 2009 9:46 AM -
How can I display total playlist size in iTunes 11. It used to be visible for each playlist or CD, but I can't find it now.
The Friend: Thanks from me too for that super simple fix!! I feel kinda stupid for not knowing that.
Too bad Apple didn't:
Give it a more intuitive name than "Status Bar"... "status" is what is shown at the top of the window along with the Artist and Song Title, e.g.; how far into the song/podcast/video I've played and how much is left,
Put the keyboard commands in a more prominent place in their release notes when version 11 came out so we could more easily find the information they decided to hide in this attempt to make the desktop less cluttered and
Allow us the option of displaying the data size along with the song count and duration just beneath the playllist title. The status bar is a redundant listing of information except for the data size! Poorly conceived!
Perhaps Apple will remedy this in a future release. For those of us who like to burn our playlists to CD, DVD and even a thumb drive this information is essential. WIthout it, we're left to guess whether a given playlist will fit on our target device.
Thank you! -
How can i display days(Feb 28,Mar 30&April 31...Dec) in layout
Hi Experts,
i am facing smal problem if you have any solution please can you respond...
this is my requirement :
i am calaculating days for each month using funtion module.
once i'll get those days (eg:28 days,30 days 31 days depends upon month)how can i display days in ayout ????.
what steps i have to follow????how can i desing in data column for display of my month days??
i'll assign full points..
Thanks.Hi Bindu,
Here is the my full code of FM.
in this function module input value is another variabel i am passing that variable value to FM(it is fine).
export parameters is : REFERENCE(BEGINDATE) TYPE SY-DATUM
REFERENCE(ETO_CHARSEL) TYPE UPC_YTO_CHARSEL
REFERENCE(ENDDATE) TYPE SY-DATUM
now you can have better idea on my FM.
FUNCTION ZDAYS_IN_MONTH.
""Local Interface:
*" EXPORTING
*" REFERENCE(BEGINDATE) TYPE SY-DATUM
*" REFERENCE(ETO_CHARSEL) TYPE UPC_YTO_CHARSEL
*" REFERENCE(ENDDATE) TYPE SY-DATUM
CONSTANTS: lc_jan(2) TYPE n VALUE '01',
lc_feb(2) TYPE n VALUE '02',
lc_mar(2) TYPE n VALUE '03',
lc_apr(2) TYPE n VALUE '04',
lc_may(2) TYPE n VALUE '05',
lc_jun(2) TYPE n VALUE '06',
lc_jul(2) TYPE n VALUE '07',
lc_aug(2) TYPE n VALUE '08',
lc_sep(2) TYPE n VALUE '09',
lc_oct(2) TYPE n VALUE '10',
lc_nov(2) TYPE n VALUE '11',
lc_dec(2) TYPE n VALUE '12',
lc_days_28(2) TYPE n VALUE '28',
lc_days_29(2) TYPE n VALUE '29',
lc_days_30(2) TYPE n VALUE '30',
lc_days_31(2) TYPE n VALUE '31'.
DATA: lv_hlp_date_year TYPE i,
lv_hlp_rest TYPE i,
iv_date TYPE D,
iv_month(2) type C,
iv_year(4) type C,
lsr_var TYPE REF TO cl_sem_variable,
enddate TYPE upc_yto_charsel,
l_area TYPE upc_y_area,
l_co_area_var TYPE upc_y_variable,
lto_value TYPE upc_yto_charsel,
lso_value TYPE upc_ys_charsel,
i_month(6) type c,
i_area(8) type c.
count type i,
lv_days type i.
i_area = 'ZNTEST1'.
l_co_area_var = 'ZVC0123'.
PERFORM instantiate_object USING i_area
l_co_area_var
CHANGING lsr_var.
PERFORM get_current_value_of_variable
USING lsr_var
CHANGING lto_value.
READ TABLE lto_value INTO lso_value INDEX 1.
i_month = lso_value-low.
iv_month = i_month+4(2).
iv_year = i_month(4).
concatenate iv_year iv_month '01' into iv_date.
begindate = iv_date.
CALL FUNCTION 'SLS_MISC_GET_LAST_DAY_OF_MONTH'
EXPORTING
DAY_IN = iv_date
IMPORTING
LAST_DAY_OF_MONTH = enddate
EXCEPTIONS
DAY_IN_NOT_VALID = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DATA:BEGIN OF itb OCCURS 0,
dates LIKE sy-datum,
END OF itb.
DATA: w_date LIKE sy-datum.
comment* Data: w_date type UPC_YTO_CHARSEL.
CLEAR:w_date.
WHILE w_date < enddate .
w_date = ( begindate + ( sy-index - 1 ) ).
itb-dates = w_date.
APPEND itb.
CLEAR itb.
ENDWHILE.
LOOP AT itb.
MOVE itb-dates TO w_date.
ENDLOOP.
can you help me this is very urgent.
Edited by: Eyda rose on May 23, 2008 3:21 PM -
How can I display True/False in my dropdownlist as "Yes" and "No"?
Hi All,
I want to bind a dropdownlist to a boolean value (so it's either true or false). I'm particularly interested in using two-way binding to when the user changes from "yes" to "no" the boolean value automatically changes from "true" to "false." But, I want the user to see "yes" and "no" as the options, rather than "true" and "false".
How can I display "yes" and "no" and still take advantage of binding? Or can I not use binding in this circumstance?
-JoshSolution 1:
In order to display Yes/No for True/False, you may specify labelFunction for the dropdownList.
In MXML:
<s:DropDownList labelFunction="myLabelFunction" />
In actionscript:
private var arr:ArrayCollection = new ArrayCollection(["true","false"]);
private function mylabelFunction(item:Object):String
if(item.toString() == "true")
return "yes";
else return "No";
OR
Solution2:
may be u can try making an array collection like
private var arr:ArrayCollection = new ArrayCollection([{label:"yes",value:"true"},{label:"no",value:"false"}]);
and specify labelField for the dropdownList like
<s:DropDownList labelField="label" dataProvider="{arr}" /> -
How can I display contacts in a relationship
I have companies in my CRM. I have a customers/contacts in the CRM I have tied as a relationship with each companies. How can I display all the records/contacts associated with a company? I have a already created a secure zone, so the company user would have logged in. Is this possible? If not, any workaround?
The only workaround I thought of is to use webapp to import the company data and create another web app containing the employees data. Then link both tables/webapp using datasource. But the way the client's data is structured could create a lot of problems going forward.
Any suggestion, help will be appreciatedThe relationship feature and how companies work currently in BC is really limited. It is an association and not true relationships at the moment. You cant output a company and show all its relationships at the moment.
-
How can I display & split the audio & video from the same digitized clip?
I digitized a scene into iMovie that I edited on a professional system which I don't have access to anymore. The whole scene is 1 clip. Now I see a few tweaks that I want to make, so I was hoping to do them in iMovie.
I want to "pull up" the audio in one section - meaning I want to take cut about 20 frames of audio from the end of a shot, and then move all the other audio up to fill the hole. To compensate for the missing 20 frames, I'll cut video off the head of the next shot. Some call this prelapping. Some call it an L-cut. Some call it asymmetrical trimming. Either way, I can't figure out how to do it in iMovie.
My clip appears in the timeline as one track - a single track that contains the video and 2 audio tracks. How can I display the audio that's tied to the video on its own track? Then I think I could split audio & video wherever I wanted and trim things up - but I can't figure out how to do it.
Am I asking too much of this software?
BTW, I never see the option to "Split audio clip at playhead". I'm not displaying clip volume or waveforms. Choosing to display waveforms doesn't show me anything. Maybe iMovie thinks I'd only want to see waveforms of audio that isn't tied to my video-and-audio clips?
Thanks in advance for any help...Jordon,
"Am I asking too much of this software?"
No, you're not.
You first want to select your clip(s) and choose Advanced>Extract Audio.
This will copy the audio from the video clip and place it on one of the two separate audio tracks while lowering the audio level to zero in the original video track.
You can now edit and move the audio independently of the video.
With the audio clip selected, you'll find you now have access to Edit>Split Selected Audio Clip at Playhead.
Matt -
How can i display a list of all the names stored in the Mail app?
When sending an email, the program shows a list of names according to the first and subsequent letters that I type into the To: field. There are times I cannot recall someone's email user name. How can I display a complete list of all the names Mail has stored? I know that I can go to the To: field then type in the letter A, then write down all listings under A, and then repeat for each letter of the alphabet, but there should be an easier method.
I have perhaps dozens of names in Mail, but only five names in Address Book, so the latter does me no good.On the menubar, Mail > Window > Previous Recipients
Regards,
Captfred -
How can I display more than one value in Calendar ?
Hi,
the standard (example) script allows for the display of one value only (as I understood). How can I display two or three values, from the very same table ? Students of mine during an HTMLDB workshop in Leipzig did ask that question.
Do we have a more detailed docum. on the use of the calendar ?
pls kindly advise. TIA.
Bernhardmy solution:
Source fo the calendar starts:
snip>
declare
q varchar(32767) := null;
begin
q := 'select "ETA", <--- Date Field and concatination of fields as follows:
"SCHIFFSNAME"|| "ETA_TIME"|| "TERMINAL"||''(br*)'',
null,
null,
null,
null
from "#OWNER#"."SCHEDULE"'; . . . . . . .
snip>
comment on (br*) - you have to use "<" and ">" instead of "( " and ")" to have the "break/new line effect"
brgds
Bernhard -
How can I display images that are not included in any collection?
How can I display images that are not included in any collection (some filter or smart collection)? A smart collection with parameters "Collection - contains - empty field" does not work. Lightroom 5.
Thank you! Good idea! I ordered letters of the alphabet (space separated), and it works.
-
How can i display all the query items to a table?
how can i display all the query items to a table in a jsp file?
i always have an out of memory error..any body??any idea?
is it possible thru configuration or i have to write a program by the abaper??
Biswa -
I like the bookmarks on the left side of the screen. I don't want to be navigating through a tree of all of my various bookmarks. How can I display all of my bookmarks along the left side of my browser window like earlier versions of Firefox?
View > Sidebar > Bookmarks (Ctrl+B)
Press F10 or tap the Alt key to bring up the "Menu Bar" temporarily if the Menu Bar is hidden.
*https://support.mozilla.com/kb/how-do-i-use-bookmarks -
How can I display all my e-mails on all my Apple products? Only some of them show up now...thanks to an apple representative in the apple store. Also, he put my oldest emails in POP (???)
How can I display all my e-mails on all my Apple products? Only some of them show up now...thanks to an apple representative in the apple store. Also, he put my oldest emails in POP (???)
Maybe you are looking for
-
Service Number is not getting updated in the Purchase Requisition
Hi All, When i create a Service PR using bapi BAPI_REQUISITION_CREATE FM , service details ( Service number, Qty, Gross price, ) are not getting updated in Service tab of Purchase requisition transaction. I am passing all the services related paramet
-
My iTunes won't recognize my iPod 3GS!!! HELP! I had recently updated my iTunes and now upon plugging in my iPod iTunes comes up with a error message. Leaving me unable to sync anything! HELP!
-
Hi All, I'm new to the Mac world, recently I've bought a MBA 2012 13', and I've attached a 640GB USB3 Hard drive, I've partitioned this drive as 320GB NTFS, and 320GB HFS (Journaled not case sensitive), I've setup Time Machine to use this drive driv
-
Resulset performance!!!
I use this code to get data from database, but I want to know if the best way to do it!!!, 'cause I have tables with more of 500 records each, and my jsp is generated dinamically, and have pagging to, (I said e.g.: 1 2 3 4 last, etc) when I clik on a
-
For weeks I have been trying to get Cont CS3 to work with DW8. It used to work with XP + SP2 but now with SP3 it won't, unless that's a coincidence. On the advice of Adobe Tec Support I used Adobe's Clean Sweep at Level 4. PLEASE DON'T. This produced