How to initiate some action when user clicks a field in CRViewer?

<p><span style="font-family: Courier"><font size="1">ReportObjects doesn't expose click event despite the fact that a field can get focus frame, you can even tab from field to field. </font></span><span style="font-family: Courier"><font size="1">Drill() event works only on group names.</font></span><span style="font-family: Courier"><font size="1">So, how to initiate some action (based on a clicked field value) when user clicks a field in CRViewer?</font></span><span style="font-family: Courier"><font size="1">After doing some googling, have found that something similar exists but it's FoxPro API</font></span></p><p><strong><span style="font-size: 12pt; font-family: Courier"><font size="1">From some PDF: </font></span></strong><strong><span style="font-size: 12pt; font-family: Courier"><font size="1"> </font></span></strong></p><p><strong><span style="font-size: 12pt; font-family: Courier"><font size="1">> Report objects events</font></span></strong> </p><p style="margin: 0cm 0cm 0pt; line-height: normal" class="MsoNormal"><span style="font-size: 10pt; font-family: Courier"><font size="1"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>Report object events occur when you click or double-click a field, </font></span></p><span style="font-size: 10pt; font-family: Courier"><font size="1"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>heading, or label in a report.</font></span> <p style="margin: 0cm 0cm 0pt; line-height: normal" class="MsoNormal"><span style="font-size: 10pt; font-family: Courier"><font size="1"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>Doing this creates the EventInfo object. This object contains </font></span></p><span style="font-size: 10pt; font-family: Courier"><font size="1"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>information about the event and</font></span> <p style="margin: 0cm 0cm 0pt; line-height: normal" class="MsoNormal"><font size="1"><span style="font-size: 10pt; font-family: Courier"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>passes as a parameter to the event method. </span><strong><span style="font-size: 10pt; font-family: Courier">Table 3 </span></strong><span style="font-size: 10pt; font-family: Courier">lists the</span></font></p><p style="margin: 0cm 0cm 0pt; line-height: normal" class="MsoNormal"><font size="1"><span style="font-size: 10pt; font-family: Courier"><strong><span style="font-size: 12pt; font-family: Courier"><font size="1">> </font></span></strong>EventInfo object properties.......</span></font></p>

The article you found refers to the ActiveX viewer which is used with the COM-based tool called Report Designer Component. Since you have posted to the .NET forum, I'm assuming you're not using the RDC and therefore this article will not apply.
Recently, Click events were added to the Windows Form Viewer to get similar functionality as the ActiveX viewer. Take a look at the following link for more information....
[http://diamond.businessobjects.com/node/2109 | /node/2109]
However, if you are using the CR Web Forms Viewer in an ASP.NET app, then this functionality is not available.

Similar Messages

  • Dynpro application: how to perform some  code when user click window close

    Hello,
    I'm developing dynpro application. This application needs to perform some code when exiting.
    I can do that with MODULE xxxxx AT EXIT-COMMAND. But this code can't be performed when user of application click on button closing window (classic R/3 window, not pop-up).
    Does anybody know how to bind some code to clicking on button closing window?
    Best regards,
    Josef Motl

    As far as the prompt that you get when you close the last window is coming from the counter that SAP maintains regarding the number of open sessions(windows). When this counter reaches 1, I guess they have a check to issue a prompt. There was a discussion in this forum a long time back regarding how we can know that session id like SM04. There was no conclusion reached then. Theoritically, let us know you know this id for the session in which the user opened a particular page, then you can see if that session is deleted and then take the necessary action. There are some TH_* function modules that seem to be promising, but I was not able to conclusively achieve the control over a particular session.
    See if you can look at SM04 and get an idea. Please do let us know if you find the solution.
    Srinivas

  • How to get login page when user clicks on browser's back button

    Hi,
    I am using struts framework.
    I have set property nochache=true in response header of all pages.
    So, browser does not caches my pages.
    Now,when I am clicking on browser's back button, I am getting following message..generated by browser.
    Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
    To resubmit your information and view this Web page, click the Refresh button.
    Instead of that I want to show user a login page, when it clicks on back button.
    Can anyone help me?

    Hi,
    I agree with your suggestion.But my query is,
    If you have seen many credit card or banking websites,generally when user clicks on browser's back button,its redirectly user to login page of it for security reasons.
    I want to implement that kind of functionality.So need help on that point

  • How to find out date when user clicks on a date of Date Navigator

    Hi Experts,
    I have created WD application. It contains DateNavigator. User clicks on a particular date. We want to display the clicked date. How we can do so? I have done following coding. What I should type after "hi" + ????? to display the selected date.
    public void onActionSelectDate(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionSelectDate(ServerEvent)
        wdComponentAPI.getMessageManager().reportSuccess("hi ");
        //@@end
    Regards,
    Gary

    HI Gary,
    You can do this by binding the context attribute of type date to the firstSelectedDate property of the datenavigator Ui element.
    then suppose context attribute to which you have bound the UI element has the name date then create an action for the event onDaySelect. then write the following code in the event handler
    public void onActionselectdate(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionselectdate(ServerEvent)
        String str = wdContext.currentContextElement().getDate().toString();
        wdComponentAPI.getMessageManager().reportSuccess("HI" + str);
        //@@end
    It will solve your issue.
    But the date format here will be YYYY-MM-DD if you want to change it then either you have to use one simple type or modify it in the code itself by using some string operation.
    Regards,
    Sarbjeet

  • How to close a session when user clicks Logout

    In my jsp page i create a session for every user's name.
    when particular user clicks logut without closing his personal page,
    the others can access his page.
    so, how to close a session when clicks logout link.?
    similarly when user gets signin one system,he will not be sigin in other system.but how can we achieve this?
    Thanks in Advance

    What is the name of the session variable that you are creating on login? When he clicks logout, set that session variable to null. Like session.setAttribute("userName",null); and check for non-null condition before proceeding with any functionality in your jsp's.
    What is the second question? You want to prevent duplicate logins from different systems? You would have to maintain a static datastructure like a HashMap for instance. Everytime a user logs in, put an entry into the HashMap...like userMap.put("userName","userName"); If an entry already exists, throw a message saying that user already logged in from another machine...

  • BDC - How to ignore skipped screens when user click on back button

    Hello all,
    I am working on a module pool program. From this custom transaction I am calling a standard SAP screen using BAC call transaction. I am calling this screen by skipping 2-3 screens and user can directly see the 3 screen on an event on my custom transaction.
    Now my issue is whenever the user want to back, he clicks on back button then user have to back from all the screens that I skipped.
    Is this any way by which if user click on back then he can directly go to my custom transaction.
    Please suggest.
    FYI..
    I am calling IA06 - Inspection characterstics screen from my custom screen using BDC.
    Thanks,
    Sanket Sethi

    Hi Jovito,
    I also think the same that it's not possible. Now my issue is how to get my requirement.
    FYI..
    To open Classification screen directly we have a function module CLFM_OBJECT_CLASSIFICATION. But if I want to open IA06
    Inspection characterstics screen we don't have any FM or API to do the same.
    So how will I get my requirement done. That why I use the BDC call transaction to open IA06 Insp. characterstics screen but here I am facing this Back issue.
    Please advice if there is any suggestion.

  • How to show an dropdown menu when user click on one point on lineseries?

    Hi all,
    I am new  in flex development.
    I am showing line series on the chart, I'd like to give some interaction, when user click on the "point" on the line, I'd like to show a dropdown menu, and react to user's choice on the menu item.
    Is it doable? Any sample or reference?
    Thanks in advance.
    /// Jack

    Cool, that definitely moving forward.
    I saw two questions here:
    1. I added mouseOver/mouseOut action to the LineSeries, it then react when I mouse over the line, instead of at the data point.
    2. How do I know the dataPoint's position and locate popmenu in that place? on other words, how do I have dropdown menu. I tried to use "this" as DisplayObjectContainer and send to Menu.createMenu, but seems not working.
    Here is the code pieces I am talking about:
    [Bindable]public var myMenu:Menu;
                // Create and display the Menu control.
                private function createAndShow():void {
                    Menu.
                    myMenu = Menu.createMenu(holder, myMenuData, true);
                    myMenu = Menu.createMenu(null, myMenuData, false);
                    myMenu.labelField="@label";
                    myMenu.show(10, 10);
                private function hideMenu():void {
                    myMenu.hide();
    <mx:series>
                        <mx:LineSeries mouseOver="createAndShow()" mouseOut="hideMenu()" sortOnXField="true"  xField="date1" yField="score1"  displayName="Score1">
    Thanks.

  • How to prevent error message for material description in MDG material detail screen, when user click on check action

    Dear Experts,
    I have a requirement for making material description as non mandetory in change request view of mdg material screen.
    I have done that using field usage in get data method of feeder classes, but still message is displaying.
    This message 'Material description is mandatory is displaying with check action only, but not with save or submit after i anhance field property as not mandetory.
    How to prevent error message for material description in MDG material detail screen, when user click on check action.
    Thanks
    Sukumar

    Hello Sukumar
    In IMG activity "Configure Properties of Change Request Step", you can completely deactivate the reuse area checks (but will then loose all other checks of the backend business logic as well).
    You can also set the error severity of the checks from Error to Warning (per CR type, not per check).
    Or you provide a default value for the material description, e.g. by implementing the BAdI USMD_RULE_SERVICE.
    Regards, Ingo Bruß

  • When user click on Submit in the salesquote then this submit action needs to be captured in the BeforeSave script file

    Hi Expert,
    Explanation:
    In the sales quote there is a Submit in the Action Menu, so when a user click on the submit button then sales quote approval process triggers and
    sales quote saved with Approval status as "In Approval" .
    Requirement: Each time user click on the submit of sales quote then we have to record this action and update our BO for further calculation.
    Issue: All BO elements in the ActionValidation-Submit script file are accessible but they are read only so can not be modified.
              So when you click on the Submit then immediately after submit action event beforesave gets trigger, so we build logic here but issue is that we           are not  able to segerate this save even, I mean which SAVE is coming from the EXPLICIT save button on the UI or which save being triggered           from Submit Action.
    Resolution tried: We found only one script for the submit action ActionValidation-Submit script file so we implemented this script but here all BO                          elements are read only, we can not modify those elements.
                             Even we are not able to return any variable on the validation submit script. so only we can return true/false that says validation is                          success or not.
    My Question : How to capture the information in the event before save when user click on the submit on the sales quote.
                             So other than valiation script file is there any other appraoch by which I can acheive this. even in the global variable "this"  I also dont                          find any varaible that is setting as true/false that refers to action triggers on the sales quote.
    Thanks
    Asaad

    Thanks Meghana.. Appreciate your input.
    We are doing this but the issue we are encountering is after the submit if other user changes sales quote and click on the SAVE button then we dont want this save from SAVE button on UI, so always whenever user click on the submit from action menu in the sale quote then we need to capture user information at the submit click.
    Thanks
    Asaad

  • How to catch data from Purchase Order form, when user click CLOSE menu?

    Hi,
    I need do my own biz process when user click CLOSE in the Data menu to close a purchase order.
    But I don't know how to get data from PO form which opened by user.
    Can anybody give me some suggestions? thanks.

    Clicking "Close" is menuUID 1286. (Check this by going to View->System Information, and then hovering your mouse over "Close" in the menu. The menuUID is displayed in the bottom left of the screen)
    So catch the menu event, when menuUID and pVal.BeforeAction = True.
    The slightly tricky thing here is that pVal for a menu event doesn't give you the form, but it will be the active form, so you can do this:
    Private Sub SBO_Application_MenuEvent(pVal As SAPbouiCOM.IMenuEvent, BubbleEvent As Boolean)
         If(pVal.BeforeAction And pVal.menuUID = "1286")
             SAPbouiCOM.Form oForm = SBO_Applcation.Forms.ActiveForm
             //Now you have the form, when the user has clicked close, so process the data
             //from the form as normal
         End If
    End Sub
    Syntax might be wrong, I typed it up from memory and have no error checker!
    Edited by: njmog1 on Feb 28, 2011 10:35 AM

  • How can we enable tick icon when user click any button

    how can we enable tick icon when user click any button in captivate 6@

    hi first of all thanks for imitate action.
    actually i want to make a menu (TOC) with tick icons, on starting all ticks are disabled but when i click on any button from my menu i want to enable tick for that particular button so that user can know easily the visited button.

  • How can i do this in Captivate 7 "The idea when user click on "Correct answer" button, drag source m

    How can i do this in Captivate 7 "The idea when user click on "Correct answer" button, drag source move to drop target automatically".

    I suppose you are talking about the D&D interaction? Could you explain more? What is your level of expertise with advanced actions and Effects?

  • HT204266 For some reason when I click on my App Store icon it takes me to the US version......how do I swap it back to the UK store so I can update apps and buy more etc?

    Hello for some reason when I click on the App Store icon on my iPad it sends me to the US version not the UK where I live!
    I have no idea how to switch this back so that I can update my apps etc
    All help welcomed

    How to change the store location
    http://www.ehow.com/how_8202183_change-app-store-account-location.html

  • Can anyone tell me how to get crossfade to work...was working ok, but now for some reason when i click on a track and try to drag on a fade it just highlights the track but does not leave a fade on?

    can anyone tell me how to get crossfade to work...was working ok, but now for some reason when i click on a track and try to drag on a fade it just highlights the track but does not leave a fade on?

    Hello mate!
    Are you sure u have the option on the up-right side of the arrange window checked to x-fade?

  • When user clicks on the link ,it will display some record based on value

    Hi
    i want to create such a query/request in the Dashbord,when user click on it, it will open the other request in the same place based on the value it clicks.
    More detail idea about the question:
    for ex. i have created one query, which gives the following output.
    current_loan_amount Current_status
    now when user click the current_loan_amout ..........the detail page will be displayed.
    wchich will give the dettail about the Current_loan_amount.....like to whom the loan has been given,region,address,broker name etc..
    So if anybody knows anything about this.
    Guide me

    Yes you can create a navigate report where it displays the details for the amount user selected.
    You can enable navigation on the metric(column format-interation-navigate) and give the path of the other qyery.
    You just need to pass all the values that you need using "Is prompted" Filters.
    Hope it helps
    Prash

Maybe you are looking for

  • Error while deploying a Java Stored Procedure using JDeveloper

    Hi, I was going thru the Oracle By Example article: "Developing SQL and PL/SQL with JDeveloper". (http://www.oracle.com/technology/obe/obe9051jdev/ide1012/plsqlobe/obeplsql.htm) One of the items in this article is - "Creating and Deploying a Java Sto

  • How to connect apple tv with ios 8

    i am using iPhone 5S, recently update my IOS 7 to IOS 8. In IOS 7, was AirPlay option which is not visible in IOS 8. Please let me know how i can connect my Iphone 5S with Apple TV using IOS 8.

  • How do you segment a long project and preserve HD 1920 x 1080 pixels at each step?

    I'm shooting video with a Canon HF S10 in the maximum quality (1920 x 1080 i) mode.  The resulting files in AVCHD format are coming into the computer and into Elements 7 okay.  The desired  Project output is BluRay.  I want to maintain the full image

  • Adapter Module to rename a file at FTP

    Hi All I have to write a Adapter module to change the filename of a file which is at the ftp location. How can i do this. Regards Dheeraj Kumar

  • Juggling Duke Applet

    I'm trying to implement a juggling duke program in an applet, but i keep recieveing the following error: java.lang.NoClassDefFoundError: Juggler (wrong name: sunw/demo/juggler/Juggler)      at java.lang.ClassLoader.defineClass1(Native Method)      at