Calling JS from report textboxes

Hello,
Can someone point me towards a way to call a JS onChange function when a client enters data into a textbox generated by a query?
Thanks,
Scott

Thanks, I figured it out.

Similar Messages

  • Calling Forms from Reports

    Hi...
    We can call Reports from Forms using RUN_REPORT_OBJECT or RUN_PRODUCT. Can we call Forms or any other product from Reports? If so, how can we do it? If anyone can help me in this...

    Hi Gayathri
    As such there is no product integration for calling Forms from Report. You can call 6i graphics from Reports 9i if you are running a 6i rdf file with OGD object in it and if you have a 6i home set in the same machine where Report s9i is running. For Form, if you wish to run it as an independent request, in Reports 9i, you can always import a java class in Reports and then call that class method in any of the triggers which in turn send out a Forms request to Forms servlet.
    Thanks
    Rohit

  • Calling graph from Reports created in graphics builder?

    Can you call a graph from Reports 6.0 that was created in Graphics Builder. I know you can call a graph from Forms. I tried creating my graph right in Reports with the wizard but for some reason it does not give me the fields I want to use in the available fields column, so I created the graph in Graphics Builder. Do you use a trigger of some sort. Any examples would be appreciated if this is possible. Thanks

    Justin Beno:
    Yes, you can call a graph from inside a report. All you need to do is select the button with the graph on it (not the icon with the wand, which indicates chart wizard). Then draw graph in the area of the report where you want the graph to display. After completing this, right click on graph, select Property Palette, Chart - Chart Filename (this is where you will type in the directory and filename of your graph that you created in Oracle Graphics).
    ~Vannette

  • Calling BSP from report and return control back ?

    Hi All,
          My requirement is as follows :-
    1. I am calling a BSP from report using CL_GUI_HTML_VIEWER->show_url. The BSP page is displayed successfully.
    2. Then, I perform some operations and want to return some data back to the main program (from where it was called - Report) and continue execution from there
    How do I accomplish the second requirement (Control doesnt come back once I close the BSP) ?
    Regards,
    Ashish

    how to generate events from html code in the html control back to your ABAP check out this demo program
    SAPHTML_EVENTS_DEMO
    say for example, in your case you are showing the BSP in GUI HTML control and on clicking a link you want to pass some data from your link to ABAP program and the ABAP should receive the value and process it and may be comeback to same BSP or go some to some other screen/transaction.
    steps to follow:
    after creating the html control
    register event for call back and call the BSP url.
    create object hviewer
                 exporting
                   parent = mycont.
        myevent-eventid = hviewer->m_id_sapevent.
        myevent-appl_event = 'x'.
        append myevent to myevent_tab.
        call method hviewer->set_registered_events
          exporting
            events = myevent_tab.
        create object evt_receiver.
        set handler evt_receiver->on_sapevent
                    for hviewer.
        hviewer->enable_sapsso(
          exporting
            enabled    = 'X'
          exceptions
            cntl_error = 1
            others     = 2
        if sy-subrc <> 0.
        endif.
        call method hviewer->show_url
          exporting
            url = wf_url.
    in your BSP the link should look like below
    A HREF=SAPEVENT:TAGS?value to be passed to your ABAP> link text </a
    when you click this link in bsp then you can then capture the value "TAGS" to know which link was clicked and the value passed after the ?
    link is just one option, you can also send whole form data.
    this type of link and form will only work when your BSP is invoked within HTML contro. if its invoked from standalone browser these wont work. so you amy want to dynamically show/hide "sapevent" links based on where it runs.
    Hope this is clear. if not do getback.
    Regards
    Raja
    Edited by: Durairaj Athavan Raja on Sep 9, 2008 1:04 PM

  • Calling VA01 from Report,how to get the Sales Order  No when Back.

    Hi all,
    I have a requirement of calling va01 from the report and have done that using
    did recording ...&
    call transaction va01 using bdcdata.
    but my problem is when back from that trasaction i have to get the sales order that is created . Is it possible to retrieve that value from va01 .i am unable to get . anyone pls share

    Use the addition MESSAGES INTO itab with call transaction va01 using bdcdata.
    Effect of MESSAGES INTO itab:
    Using this addition, all the messages sent during batch input processing are stored in an internal table itab of the type BDCMSGCOLL from the ABAP Dictionary.
    If the call transaction is successful then retrieve the last message from itab and then in any field among MSGV1,MSGV2,MSGV3,MSGV4 of itab u will get the document no.
    And when doing the call transaction pl. choose update mode as 'S' or 'L'.
    Regards,
    Joy.

  • Calling form from report urgent please

    hi every body
    i am using form and report 6i
    i create a report and in report i create buttons front of all records
    i want to call a from from that button related to that record show in report
    can i do this if yes how can i do this
    thanks in advance khuda hafiz

    any body tell me about my problum
    thanks

  • How to generate a report to a file calling it from report client

    Hey there,
    I am pretty new to the whole Oracle world. I have found very little technical books about Report Builder or Report Designer (whichever you prefer to call). Therefore I am unable to figure this out. I know I can generate my report to a certain number of file types if I am running it from the Report Designer 6i, but my user are calling from a application trough the Report Client. I would like to know how I can let them choose whether to preview on screen or to send to a file (a .html file would do). If anybody out there can help me out I will really appreciate.
    Thanks a lot,
    Gleisson Silva

    Thanks a lot ! ! ! This was easy enough ! Now I only have a problem, when I run the report with the output file as a html file, my columns lost their default layout. For example, column which is 10 characters long becomes like 8 characters. As opposed to any other file type. Is there some configuration that I need to do?
    Once again thanks!
    Gleisson Silva

  • Calling Form from Report

    Hi all,
    Please help me out, I need to call Form6i form Report6i.
    Thanks in advance

    Hi all,
    the below mentioned documents will help u.
    Under Developer 2000 (Release 1.2) on Windows, there exists a pl/sql library
    which can be used to invoke excutables residing on the PC. The library
    (D2KWEXEC.PLL, located in the FORMS45/DEMO/REUSE directory) is attached to
    the Report in the following manner:
    1) Modify the D2KWEXEC.PLL to change any references to the Forms built-in
    MESSAGE to the Reports built-in SRW.MESSAGE.
    2) Choose the 'Attached Libraries' section for your report and select the
    'Navigator/Create' menu option - this will cause the 'Attached Library'
    dialog to be displayed.
    3) Use the 'Find' button to locate the library file (D2KWEXEC.PLL) and then
    attached it to the report using the 'Attach' button. A warning is
    displayed you that a hard coded path name is being used and gives the
    option of removing it. If the full path is removed, then the
    FORMS45_PATH variable will be used subsequently to locate the library.
    The directory in which the library is located must be part of
    FORMS45_PATH.
    Then select the appropriate trigger from where Oracle Forms should be invoked
    from. In that trigger reproduce the following code:
    function return boolean is
    command_string VARCHAR2 (100);
    BEGIN
    command_string := 'c:\orawin\bin\f45run.exe';
    RETURN d2k_winexec.execute (command_string);
    END;
    Note: 'command_string' contains the full path of the Oracle Forms
    Runtime executable.
    When the trigger fires, the Forms Runtime Executable is invoked
    automatically.
    Regards
    Gopinath M

  • Problem in screen whilw calling it from report

    Hi friends,
    I have created a report which contains a selection screen with following fields.
    Selection screen
    all are slect optins.
    VBELN
    KUNNR
    MATNR
    now when i enter the values in these slection screen and execute it,
    it basically calls a screen 100 ( module pool program ) and displays the value of that particular sales order  number in the screen 100 and that screen contians a table control which basically displays the line items(POSNR) of that particular VBELN.
    now my problem is when the ist time iam giving the value of VBELN as 1000 in the report select option and executing.
    its displyaing the value of VBELN in screen and posnr in the tbale control.
    now when i go back to the selection screen from the screen 100 and if i leave the VBELN field empty and execute it. it has to display all the posnr of all the sales order number.
    but it is displaying the previous vbeln 1000 .
    How can i clear that.
    Regards,
    Priyanka.

    You can use an alternate way to lonk a Selection screen and a module pool screen as mentioned below:
    Let 1000 be the screen on which you want to put Range button.
    Make a subscreen area on it. Let it be named as sub_area.
    Now make a selection screen in your program.
    SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
    SELECT-OPTIONS R_PERNR FOR PERNR-PERNR.
    SELECTION-SCREEN END OF SCREEN.
    Now in screen 1000 flow logic, we can call the selection screen in the sub screen area defined.
    In PBO of 1000
    CALL SUBSCREEN SUB_AREA INCLUDING SY-REPID '0100'.
    Now, code in AT SELECTION-SCREEN OUTPUT event will be exe.
    In PAI of 1000
    CALL SUBSCREEN SA_SS. as the first line after PAI
    Now, AT SELECTION-SCREEN event will be exe.
    Using above method u will get the functionality of Select-Options of Selection Screen on a Module Pool Screen.

  • Call KSB1 from report in GR55 selects thousend of records

    Dear All,
    after our upgrade to ECC6.0 the drilldown from an report in GR55 (calls T-Code KSB1) will select thousends of records.
    I snoop a bit around and I figure out, that the selection criteria for the call of the FM k_line_items_select_and_list are different.
    Can anyone tell me how I can manage the selection crtierias for a drilldown in a report painter report?
    Thanks in advance, Thomas

    Hi Thomas,
    you should also check include CI_COBL.
    also please notice if you are drillingdown from a formula column the logic
    from note 98187 applies, and you could get results different than what you expect
    br, Guido

  • Error while calling FM from report program

    i am calling a FM using the follwoing program
    REPORT  ZTEST3.
    DATA : EMPNO TYPE zempdata-EMPLOYEE_NUMBER,
          EMPNAME TYPE zempdata-EMPLOYEE_NAME,
          EMPSAL TYPE zempdata-EMPLOYEE_SALARY.
    call function 'ZEMPMASTER'
        EXPORTING
          EMPNO        =  '22609'.
          EMPNAME      =  'vishal'.
          EMPSAL      =  200.
    but when i execute this program i am getting the following error
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_MISSING', was
    not caught and
    therefore caused a runtime error.
    The reason for the exception is:
    When calling the function module "ZEMPMASTER", one of the parameters
    needed according to the interface description was not specified.
    This parameter was "EMPNAME".
    i don't know why i am geteing this error where as in my FM ZEMPMASTER i have given only three input parameters
    EMPNO, EMPNAME AND EMPSAL.
    my FM code is like as follows
    FUNCTION ZEMPMASTER.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(EMPNO) TYPE  ZEMPDATA-EMPLOYEE_NUMBER
    *"     REFERENCE(EMPNAME) TYPE  ZEMPDATA-EMPLOYEE_NAME
    *"     REFERENCE(EMPSAL) TYPE  ZEMPDATA-EMPLOYEE_SALARY
    TABLES ZEMPDATA.
    BREAK-POINT.
    data WA_zempdata type zempdata.
    WA_zempdata-EMPLOYEE_NUMBER = EMPNO.
    WA_zempdata-EMPLOYEE_NAME = EMPNAME.
    WA_zempdata-EMPLOYEE_SALARY = EMPSAL.
    BREAK-POINT.
      insert into zempdata values wa_zempdata.
    WRITE :/  wa_zempdata-employee_number,  wa_zempdata-employee_name.
    commit work.
    ENDFUNCTION.
    pls let me know why i am getting this error

    Hi vishal,
    call function 'ZEMPMASTER'
    EXPORTING
    EMPNO = '22609'.<------- Remove this period
    EMPNAME = 'vishal'.<------remove this period
    EMPSAL = 200.<-----------*retain this period*
    We must never change the format in which a FM is displayed once we call the pattern.
    The period will be automatically be available at the end of the FM.need not keep it at end of every line.
    Hope this helps.If problem still persists post back.
    Regards,
    K.Sibi

  • Need to call transaction from report

    Hi,
    I have to create BAPIs to call from webDynpro to realize the functionality of the transactions MI01/MI04 and MI07. I´m working in the SAP cable Solution environment.
    Do You know any BAPIs to use instead of calling the transactions? Maybe there are standard ones, which contain cable solution modifications...
    Otherwise I thought about building frame BAPIs and calling the transactions inside of it. Do You think it´s possible to realize that by batch-input?
    I need some other opinions and ideas to this problem.
    Thank You for Your help!
    Reward points guaranteed

    Hey Ravi,
    ok, I'll try that!
    I'm not that deep into the module of material management. Do You have a tipp, how I can find out, if these functions are also working with the cable materials?
    When I'm running the function bapi_matphysinv_create_mult, a document has been created. But I'm not sure, if it's using the cable specials...
    Thank You

  • Calling Excel from reports

    Dear all,
    From the report runtime preview is it possible to export the data displayed to excel thru OLE2 or any other method.
    Is it at all feasible..the how..
    Using reports 6i
    pl. email also to [email protected]
    regards,

    Hi ,
    try with generate file to delimited.
    So that you can get .csv file.
    --Basava.S                                                                                                                                                                                   

  • Calling Procedures form Report 6i

    I would highly appreciate it if I can get advise on how to call procedures from report 6i.
    My procedure requires two input parameters and returns about six columns in all. The problem I have is in trying to figure out how to display the values returned on the report.
    I checked the on-line help to no avail. Thanks.

    You can put placeholder columns in your data model group and populate them by using them as the OUT parameters in your stored procedure, called from a formula column. The placeholder columns can then have fields referencing them in the report layout.
    HTH
    Paul Williams

  • Calling JavaScript from a SQL report?

    I am using the HTMLDB_ITEM api's to build my report. I am trying to render a text item and append an image / hyperlink to the end of my textbox which links to a custom popup page.
    I have all this working but I need to use a JavaScript call html_GetElement to pass into the URL I am building in the link.
    e.g.
    This query works fine and my popup page fires passing the value 'ABC' into the element P323_PIN on the popup page 323.
    <br><br>
    SELECT HTMLDB_ITEM.text (01, NULL, 10, 25)
    ||
    '<ah ref="javascript:html_PopUp(''f?p=&APP_ID.:323:&APP_SESSION.::::P323_PIN:ABCD'');
    ">Link</a>' pin
    FROM DUAL;
    <br><br>
    PS the hyperlink tag has been broken so it will display in the forum.
    <p>I would link to replace this with the value (if any) that the user types into the textbox (01).
    Any suggestions as I cannot seem to concatanate the right value into my url string. I think it is due to the quotes but I cant see the wood for the trees at the moment.
    Regards
    Duncan
    Message was edited by:
    Duncs

    If the at line selections is getting fired then just use this option to call the url,
    REPORT  zkb_test4.
    DATA: v_str(60) TYPE c.
    AT LINE-SELECTION.
      DATA: v_url TYPE string.
      v_url = v_str.
      CALL METHOD cl_gui_frontend_services=>execute
        EXPORTING
          document               = v_url
        EXCEPTIONS
          cntl_error             = 1
          error_no_gui           = 2
          bad_parameter          = 3
          file_not_found         = 4
          path_not_found         = 5
          file_extension_unknown = 6
          error_execute_failed   = 7
          synchronous_failed     = 8
          not_supported_by_gui   = 9
          OTHERS                 = 10.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    START-OF-SELECTION.
      v_str = 'http://sap.com'.
      WRITE / v_str.
      HIDE v_str.
    Regards
    Kathirvel

Maybe you are looking for

  • How to create a full page background image that is fluid?

    I'm creating a website for my portfolio, and one of the things I wanted to have is a full page background image that the div tags are in.  I know there is a way to put it in via page properties, but that doesn't allow you to add CSS styles and I want

  • CME integration with NEC Neax 2000 IPS

    I'm looking for a starting point in setting up some kind of link between CME and the NEC. It really doesn't matter if the link is T1 based or IP based. All I really need is to be able to dial from one system to the other and have the calling number s

  • AV cable AVC-DC400 capabilities

    I have the Powershot A1400 and i am wondering if the Canon compatible AVC-DC400 AV cable will allow me to live view my realtime movie recording on my TV in real time, or is it only capable of playing back already recorded files.  The problem i have i

  • SAP XI versus Sonic's Enterprise Service Bus

    Hi, Question 1: In David Chappell's book 'Enterprise Service Bus', the Sonic ESB is described. He says that the ESB is more than a hub-and-spoke integration broker: ESB is a MOM and above that several 'generic' services, which handle the traffic and

  • Connect to server - 10.7.3

    I recently updated to 10.7.3 and have issues connecting to afp servers. If I connect via dns, it is slow and opening files sometimes hangs the application especially Preview opening pdf files If I connect via bonjour or ip, there is no issue. To furt