Defining events on a graph like "onclick"
Hi All,
I have a graph(say a guage) embedded in a dashboard in OBIEE 11g. How do i define onclick events on the graph so that when user clicks on the graph, the corresponding data is displayed in a new browser tab(like the table used to plot the graph).
This may be something simple, but I am not able to figure out. Please help.
Thanks,
Aravinda
how about using action links?
No points!!!!!!!!!
Edited by: Veeravalli on Nov 25, 2012 7:06 PM
Similar Messages
-
HI ALL
JUST WANT TO KNOW CAN WE HANDLE USER DEFINED EVENTS BY SETTING USER DEFINED PF -STATUS IN ALV
FOR EG :
call function 'REUSE_ALV_LIST_DISPLAY'
exporting
i_callback_program = gd_repid
I_CALLBACK_PF_STATUS_SET = K_STATUS
I_CALLBACK_PF_STATUS_SET = 'ZTEST1'
i_callback_top_of_page = 'TOP-OF-PAGE' "see FORM
i_callback_u ser_command = 'USER_COMMAND'
I_CALLBACK_USER_COMMAND = K_USER_COMMAND
IS_LAYOUT = GD_LAYOUT
IT_SPECIAL_GROUPS = KR_SP_GROUP
i_grid_title = outtext
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
it_special_groups = gd_tabgroup
IT_EVENTS = GT_XEVENTS
i_save = 'X'
IS_VARIANT = K_VARIANT
IT_EVENTS = KR_EVENTS[]
is_variant = z_template
tables
t_outtab = it_ekko
exceptions
program_error = 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.
endform. " DISPLAY_ALV_REPORT
I HAVE MY OWN PF-STATUS IN WHICH I HAVE CREATED 1 BUTTON WHEN I GET THE OUT PUT AND CLICK ON THAT BUTTON THAN IT GOES TO STANDARD PROGRAM ....I WANT WHEN IT CLICK ON THAT BUTTON IT GOES TO MY Z PROGRAM HOW CAN I DO THAT ...
IF POSSIBLE PLZ PROVIDE CODE OR SOME EXAMPLE .
THANKS
TARANU can have button on application toolbar.
You just have to use the new pf status in your report program.
You should copy the 'STANDARD' GUI status from program SAPLKKBL using transaction SE90 >Programming SubObjects> Gui Status.
Execute this transaction to get to next screen. select status using checkbox. click on GUI Status --> Copy.
Enter your Z program name and the name you what for this status - you can keep it as 'STANDARD' to be simple.
Then you can edit the new status to add or delete buttons. This will also bring in the standard SAP ALV functionality.
Have a look at below code for using the new status.
TYPE-POOLS: slis.
DATA: i_qmel LIKE qmel OCCURS 0.
data v_repid type repid.
SELECT * FROM qmel INTO TABLE i_qmel.
v_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = v_repid
<b>I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'</b>
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
i_structure_name = 'QMEL'
TABLES
t_outtab = i_qmel
EXCEPTIONS
program_error = 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.
<b>form set_pf_status using rt_extab type slis_t_extab.
set pf-status 'TEST'.
endform.</b>
FORM user_command USING ucomm LIKE sy-ucomm
selfield TYPE slis_selfield.
data lv_ucomm type sy-ucomm.
lv_ucomm
= sy-ucomm.
CASE lv_ucomm.
WHEN 'BUTTON'. "Double Click line Item
**Write ur functinality here
endcase.
endform.
Also have a look at below links.
http://www.sap-basis-abap.com/abap/add-button-to-alv-toolbar-with-reuse-alv-list-display.htm
ALV report
I hope it helps.
Best Regards,
Vibha
*Please mark all the helpful answers -
Generating pre-defined events for system or applications ?
I would like to write a script of some kind which generates a series of pre-defined events to the system or an active application: such as "a mouse is clicked on position x,y", a "mouse is dragged to position z, w", a "key is pressed", etc. How do I even approach this? And what exactly it should be (probably not an application...)
Thanks in advance.The short answer: it can be done with Applescript.
-
Fire non-user defined event inside another event
I want to call a normal/non-user defined event after an operation has occured inside a different normal/non-user definded event. Is this possible?
The reason I don't want to use a user defined event is that if this can be done this way it would be much cleaner implemenation. Also, cleaner than using a sub-vi which would require a lot of wiring.From my experimentation with this, it appears that the fired event
will not actually execute until the event currently being executed
(the one that fires the other event) is completely finished. The
"time" terminal of the second event idicates the time when it was told
to fire, but it does not actually execute then. You cannot say do
steps 1,2,3 in an event, temporarily leave that event to do code in
another event, then come back to the first event and complete steps
4,5. If the second event is fired after step #3, then steps 4 and 5
will finish first before the second event executes. This contrasts
with other languages such as Delphi were you can leave one event
temporarily.
On Mon, 25 Oct 2004 11:46:45 -0500 (CDT), chrisger o.email> wrote:
>simple control (any type) you can write the desired value to the
>"val(signaling)" property of the control. this changes the value AND
>raises the "value changed" event, just like the user pushed the
>button. then you can catch this event in the next turn of your loop. -
Define event types in Customizing and restart the transaction.
how to define event to restart the transaction in BADI
I have given error message in badi. it is giving
No SAP Event Management communication for events; no event types def
Message no. /SAPTRX/ASC084
Diagnosis
You have not defined event types for the business process types.
therefore not possible to communicate event data to SAP Event
Management.
System response
The communication of event data is aborted.
Procedure
Define event types in Customizing and restart the transaction.Hi Kevin,
What DataSource does your testalias refer to?
- If it is a custom DataSource, you must have created this custom DataSource also.
- If it is the default DataSource, you shouldn't have this problem in general...
In either case, you can try deploying your DataSource and/or DataSource alias together with your application:
http://help.sap.com/saphelp_nwce10/helpdata/en/45/07d2eeea3e0485e10000000a155369/frameset.htm
http://help.sap.com/saphelp_nwce10/helpdata/en/45/c82cd460a42e96e10000000a155369/frameset.htm
I hope that helps!
Regards,
Yordan -
Can we define own short cut keys like shift+a for check boxes
Hi
My problem is that on a specific form i have 30 check boxes with the labels like c1, c2 c3 ...
The user wants as access key for every check box to rid of the mouse by checking all the items one by one.
Oracle developer access key option does not solve this problem . Is there any function in oracle by which i can define my own short keys like shift+1 for 1 and shift+2 for 2 .....
Waiting for reply.You can do this by using an ampersand (&) in front of the character in the Label.
The ampersand will not show up in the label itself.
For example, Print &Forms will define F as the shortcut. Print &Queue Manager will define Q as the shortcut. -
Making different graphs like bar chart in excel sheet
Hello,
In my application i have to make different graphs like bar chart,pie chart etc which is present in the excel sheet.In the same excel sheet i have to make the graphs based on the data through java program.
I am unable to do it.Can anyone suggest me how to do.Is there any api and documents(for reading )for it?
thanks in advance
chimpukHi, you might want to do a search before you post. At the top of the page is a link to advanced search. Right-click on it and choose 'open in a new window'. Now, in the 'with all the words' box type the word excel, then hit the space bar, then type the word chart[b], now down lower clear all the checkboxes except [b]Java Forums, now hit the Search button and you get a list of threads related to excel and chart. Read a few. I think most of your questions will be answered.
-
USER DEFINED EVENT IN FUNCTION EXIT
HI,
CAN WE TRIGER AN USER DEFINED EVENT IN AN FUNCTION EXIT FOR XK01.Hi,
if you identified the correct place then yes we can trigger the event. you want any workflow event to be raised.
do you have any such exit with you.
Regards
vijay -
I have the same photo in more that one event. I would like to only have the photo appear in one event.
Then do not import it more than once in the future For now you can simply delete one of them and empty the iPhoto trash
LN -
How to create a graph like in Sales Oportunity - closing % field
Hi,
I need to create a graph like in Sales Oportunity -> closing % field.
Any ideas how?
Regards,
Ana SilvaIf it is no problem to have the text with value of % outside the "graph", you may use rectangle (it_rectangle) with width x and height y and inside the rectangle put it_picture (height x) with file where is one color. Based on percent change the width of it_picture. You may easy simulate it in screen painter.
-
Thousands of defined events slowing down CE10
Hi, we're still running CE10 (version 10.0.5.1498 to be precise) and I have about 2500 defined events. Over time I noticed that the more events I defined the slower it was for the list of events to appear. I'm now up to 3 minutes or more!
Anything I can tune or set to speed this up? It's murder trying to schedule a report with an event dependency.Some time back BO personal recommended us that we should have one Event server per CMS.
If you have two CMS, make sure you have one event server per CMS.
If you distribute the eventserver as a stand alone it might slow down communicating with the CMS. -
DSC - can't acknowledge or clear a user defined event
I wrote this code for alarms but now I have modified it to handle events. So, first create the event (create alarm button), then try to acknowledge it or clear it. There should be a time inserted for acknowledging and clearing. It does't work. I have used the exact event URL to acknowledge it. Please help.
Thanks
Matt
Attachments:
User Defined Alarms.vi 52 KBHi Matt,
Thank you for attaching the new code, I didn't realize there was a path in that constant since the original box was so small. Part of the problem you are seeing actually lies within that path, you should be locating to \\*\Process Name\UserDefinedAlarm now that you switched from working with events to alarms. Also, you are still using the Set User Defined Event.vi and Read Events.vi, which need to move over to their Alarm counterparts.
Once you have those changes made, you need to alter the way you are trying to acknowledge the alarms. The problem isn't within logging the time but that the alarms are not being acknowledged at all. If you use the Read Alarms.vi and then wire the "alarms" output into the acknowledge function then it will acknowledge all of the active events (you may have to change the acknowledge type to Alarms). If you only want to acknowledge a single alarm at a time then you will need to trim down that cluster to focus on your selected alarm.
Finally, the way you are logging to the multicolumn listbox is not functioning correctly. I would suggest you look at the DSC Alarms Demo example (Help » Find Examples... » Toolkits and Modules » Datalogging and Supervisory Control » Alarms and Events » DSC Alarms Demo.lvproj). In that example there is a subVI, which is not part of the Alarms & Events palette but probably should be, named Format Alarm Data.vi. It is used in the first three examples under that project and should work better for logging all of your alarm interaction than searching through the database.
Regards,
Peter W. -
How to raise a self-defined event with parameters in program
Hi,all,
I want to raise a self-defined event with parameters in one of my method ,how to do that?ThanksHi Ray,
If your event name is MYEVENT and the parameter name is MYPARA and the value you want to pass to this parameter is L_PARAVALUE, use the following -
wd_this->fire_myevent_evt( mypara = l_paravalue ).
If the event is to be raised in an a view, then you need to get the component controller instance first and use it instead of wd_this.
Also, this can be obtained directly by clicking on the WD Code Wizard ->Radio button for raise event->selecting your event.
Regards,
Neha
<i><b>PS:Reward if helpful</b></i> -
How to define custom event and how to trigger the defined event
hi,guys
hurry issue....................hope get help.
I am using oracle weblogic 10gr3 portal.and we choiced java portlet.as of now,we got some question about custom Event.hope you can give some idea....
thank you so much.
question detail:
1.for java portlet ,how to define custom event.
2.how to trigger this event.
3 about the data,may be sometime need to transit Biz data.
auctully,I just want to implements between two portlets communicate.
for example:
existing portletA,portletB.
portletA is a list,like:
A AA <button>
after I click this buttom,then portletB will be effect,it means they are interact with each other.
does anybody hit this issue before,if you solved pls share me .
thank you for you help....Hello,
Please note that everything below applies to JSR168 portlets ONLY- JSR286 portlets and other portlet types handle events a little differently.
From inside your JSR168 portlet you can send an event during processAction or when receiving another event by using the PortletBackingContext object, such as:
import javax.portlet.ActionResponse;
import javax.portlet.ActionRequest;
import javax.servlet.http.HttpServletRequest;
import com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext;
public void processAction(ActionRequest actionRequest, ActionResponse actionResponse)
HttpServletRequest httpRequest = (HttpServletRequest) actionRequest.getAttribute("javax.servlet.request");
PortletBackingContext portletBackingContext = PortletBackingContext.getPortletBackingContext(httpRequest);
portletBackingContext.fireCustomEvent("customEvent", "This is a custom event");
To receive an event, in your .portlet file you just need to put in a "handleCustomEvent" tag specifying which method to call when the event is received, such as:
<?xml version="1.0" encoding="UTF-8"?>
<portal:root xmlns:netuix="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0"
xmlns:portal="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0 portal-support-1_0_0.xsd">
<netuix:javaPortlet title="Listening Portlet" definitionLabel="yourPortletName">
<netuix:handleCustomEvent event="customEvent" eventLabel="customEvent" filterable="true" description="custom event handler">
<netuix:invokeJavaPortletMethod method="processCustomEvent"/>
</netuix:handleCustomEvent>
</netuix:javaPortlet>
</portal:root>
Then, in your receiving portlet the method "processCustomEvent" would receive the event, such as:
public void processCustomEvent(ActionRequest actionRequest, ActionResponse actionResponse, Event event)
The event payload can be any Serializable object you want, but for forward-compatibility with JSR286 it would be ideal if it had a valid JAXB binding.
Kevin -
User-defined event assistance needed
I have a 3D cast member that contains a bunch of animations
defined by start and end points. For example, from 200 to 5000
milliseconds is a rotation animation, and between 5001 and 6000 is
a translation animation. I need to know when each of these
animations have finished. I used animationEnded initially, but I am
not sure how to set animationEnded to fire after a defined span of
animation has terminated.
Do I need to write a custom event to capture this? If so, how
do you define an event? I am looking at using registerForEvent, I
just don’t know how to write the event itself.
Any help is appreciated.> For example, let?s say that you have a 2D sprite
onstage, and it is rotating
> through a script. Could you create a custom event that
will detect when its
> rotation is greater than 270? Can one write a custom
event that detects when a
> 3D cast member changes from a ?playing? state to a
?paused? state? I
> understand how to register the event, it?s actually
writing the event that I am
> lost on.
I think you're expecting something more than exists.
You *the programmer* has to determine when to fire the event.
It's not
something you can ask to have automatically calculated for
you. You have
to write code to detect when the rotation goes beyond 270
degrees, or
when a 3D sprite's state changes. All of this will involve
you polling
for information required from a regular event like #exitFrame
or a
timeout object.
When you detect that it's time to fire the event you use
member.sendEvent(#eventName)
Maybe you are looking for
-
Hi all, Just bought 27 inch monitor with max resolution on ~2500 *1450. (Previously used a dell 1900*1080 Dell monitor) I am now unable to see any photos in library or see new photos that are loaded in, but lightroom tells me they are there. Photos
-
Integration between Time and ECM
Hello all Could any of you describe or list what would be the integration impact issues to look for while implementing Enterprise Compensation Management with respect to Time Management. In my case, time is being administered by third party providers
-
Problem with consuming web service from abap
Hello, I want to consume this web service VatatWebService Web Service From SAP. The transaction code soamanager doesn't exist in our system, i'm the only man who use SAP in our company(we don't have BC peoples....). I find some advice to use "wsadmin
-
Installing Communications Express on Application Server
Hi, I am sorry if this problem has been addressed already (I have searched but not found anything). I am trying to install Comm Express on Solaris X (v5.10) on our Sun box but it gets stuck in the uwc-config script. All the steps run fine except one:
-
I Cloud gives me an error when completing the download process and will not download?
It says an error occurred during installation - Ox8007054F