Report Row With Detail (AJAX) by Carl - How to implement?

I just had a look at Carl's example place and I'd like to implement his Report Row With Detail feature. But how, it's made up of 3 sections:
1. a query
2. javascript
3. application process
The query on which the report is based and where I want this feature is:
select leverancier, artnr, vendorcode from plijst where productgroep = :p1_assortiment_tree or subgroep = :p1_assortiment_tree
A break is defined on Leverancier
I understand the query and the application process part. But where goes the Java part???
Peter
Message was edited by:
Pete

Tried to upload your example application, unfortunately it does not seem to upload properly in my APEX v2.0 environment
Can you please confirm if your example works with APEX version 2
and does the Javascript go in the Page Header or Region Header/ Footer area
thankyou
Frank

Similar Messages

  • Report row with detail (AJAX)

    Hi,
    In Carl's report row with detail (AJAX) demo, is there any way to show all detail row by default when the page is loaded?
    http://apex.oracle.com/pls/otn/f?p=11933:13
    Thanks.
    Andy

    Hi Andy,
    In Carl's example, the "details" content seems to be from a table that has a one-to-one relationship with the main table. If this is the case, you would probably find it easier to use a "Named Column (row template)" type of report template and lay out the report as you need it rather than use Ajax
    Otherwise, I'm sure it would be possible to loop through a report and make a series of Ajax calls to retrieve the details should there be multiple records required.
    Andy

  • Report Row With Detail (IFRAME) - How to reload Main Page within iFrame

    Hi,
    Based on Carl's example - Report Row With Detail (IFRAME), i.e:
    http://htmldb.oracle.com/pls/otn/f?p=11933:17
    Within my scenario, I have a button within the iframe section of my report that calls a pl/sql process that performs some database processing.
    What I basically need is a means of performing a page refresh of the main page, when this button within the iframe is pressed. In Carl's example, that would be page 17.
    As mentioned, I call a PL/SQL process within the iframe, but unsure how to then refresh the main page - parent page.
    Any help would be appreciated.
    Thanks.
    Tony.

    Tony,
    you could insert the following script to the region footer of a region located on your "iframe"-page.
    <script>
    parent.location.reload();
    </script>
    But this is dangerous because everytime the parent is being reloaded, the iframe is loaded, too. Risk of loop...
    A possible solution is to conditionally display a html region (with the script) on your iframe-page basing on a request. You could post the request as a result after your plsql processing in a branch.
    Regards,
    Jens

  • Carl's Report Row with Detail Example

    Hi,
    Hoping someone can assist, I am looking at using Carl's "Report Row with Detail" example at:
    http://apex.oracle.com/pls/otn/f?p=11933:1
    The only thing that I am unsure about is that , instead of using the words show comments/hide comments, I would actually like use an image that will toggle, i.e initially have a plus.gif (+) image to expand row and then toggle to a minus.gif (-) image to hide the row.
    Using Carl's example, would really appreciate some help on achieving this. I tried replacing the innerhtml with an image file but had no luck.
    Thanks.
    Tony.

    Hello,
    There you go http://apex.oracle.com/pls/otn/f?p=11933:107 just make sure the images have a plus and a minus in the filename,
    Regards,
    Carl
    blog : http://carlback.blogspot.com/
    apex examples : http://apex.oracle.com/pls/otn/f?p=11933:5

  • Report Row With Detail (IFRAME)

    Hi,
    I am trying to implement the Report Row with Detail but not successful.
    I have gone thru the various threads in the forum.. but i am unable to
    get it. It would be great if I could know the step by step process to do the same.
    I have created two regions. The first region (the query to it) also
    has a show_region link.. I have copied and pasted the javascript given
    by Carl.
    Thanks,
    shilpa.

    Hello,
    Ok then you are almost there so when you submit the form to update your data on a sucessful save you are going to create a plsql region that just uses htp.p() to write out the javascript to update the report in the main page.
    a simple example would be something like this.
    Lets say I'm getting back values to update the two first table cells on my parent report.
    <script>
    /*set up call back function*/
    function ReportRowUpdate(){
    var lRow = parent.g_LastRowOpened; /* hook to last row clicked */
    lRow.cells[0].innerHTML = 'SOME VALUE FROM DATABASE 1';
    lRow.cells[1].innerHTML = 'SOME VALUE FROM DATABASE 2';
    /*call call back function*/
    ReportRowUpdate();
    </script>
    And that should be it.
    Carl
    Message was edited by:
    Carl Backstrom

  • Report program with detail list and GUI status.

    Hi,
    I am working on type 1 program (report) and want to use detail lists.
    I want to use a GUI status and want to use AT LINE-SELECTION. But AT LINE-SELECTION does not work when I use a GUI status.
    How do I achieve this?
    Thanks.

    Hi
    In the secondary windows, it is not possible to have GUI Status.
    If you need like that, you should go for ALV Reports.
    Here, You can have GUI Status only in the selection-screen as below..
    REPORT  zak014  LINE-SIZE 60 LINE-COUNT 20(2).
    TABLES: sscrfields.
    * Appliction Tool Bar Elements
    SELECTION-SCREEN FUNCTION KEY 1.
    SELECTION-SCREEN FUNCTION KEY 2.
    * Selection Screen
    PARAMETERS: matnr TYPE matnr.
    INITIALIZATION.
      sscrfields-functxt_01 = 'TEST1'.
      sscrfields-functxt_02 = 'TEST2'.
    START-OF-SELECTION.
      WRITE:/20 'CLICK HERE TO NAVIGATE'.
    AT LINE-SELECTION.
      WINDOW STARTING AT 5  5
             ENDING   AT 50 18.
      CASE sy-lsind.
        WHEN 1.
          WRITE:/ 'This is First window'.
        WHEN 2.
          WRITE:/ 'This is second'.
      ENDCASE.
    TOP-OF-PAGE.
      WRITE:/5 'LINE SELECTION'.

  • SQL Server reporting (SSRS) with SCCM. Language issue - how to change it?

    My SCCM 2012 R2 server is setup on a Windows 2012 R2 server (English) but has non-English language pack installed.
    I have the server working great with SCCM 2012 R2 working in English.
    The reporting has turned out to be a bit of an issue as it is displaying the paths in the other language.
    For example if I browse to http://servername/ReportServer and click to view the available reports the links are all non-English.
    Also, if I go to the ConfigMgr console -> Monitoring -> Reports the names appear in English but if I click on any of them to view their properties and go to the security tab I can see the path is not English.
    I want to, for the sake of some of the people that will be viewing/using the reports, change it into English.
    Is there any relatively painless way to do this?
    Changing the language preferences in Internet Explorer does not affect it as these appear to be hard coded.
    Appreciate any advice. Thank you.

    Thank you. I had previously seen that page but unfortunately it did not resolve my issue.
    It is quite frustrating as I can see the actual folders on my server in English (C:\Program Files\SMS_SRSRP\Reports) yet in the browser the folder names and URLs appear not in English.
    Also looking at Reporting Services Configuration Manager it does not show any option to configure this. Arg!

  • Report Row Height and Column Width

    Hi,
    I have a cell in a report (a description column) that causes the row height to become very large (when there is a lot of text in the description). I can make the column wider on the report attributes page, but there doesn't seem to be any place to influence the maximum height of a row on a report, short of modifying the template.
    Adding style attributes (e.g. max-height:30px) to an element only affects the <span> that the element resides in, not the table cell or row.
    Displaying the column as a text area is a useful workaround. The downside is the border and scroll bars do waste a lot of screen real estate. Does there exist some other way of setting a limit on the height and/or width of a report, report column or report row?
    Oh, and another question- how do make line breaks in this forum? There's no support for <BR> or [br].

    Please reply to this thread, my customer is facing the same issue. He does not have issue with the excel and the pdf output but in the rtf output the table heght increases to accomadate the data.He want it to bevave in the same way as the pdf do.
    Regards,
    Ajay

  • Applying table scroll bar for only table rows with table columns fixed.

    hi oa gurus,
    i had implemented table scroll bars using oarawtextbean , there is no problem in vertical and horizontal scroll bar working its working fine. but the requirement is i need to scroll only the table rows with table columns fixed. so , how to achieve the table scroll for only table datas neglecting table headers.
    the code for vertical and horizontal bars scroll is like this,
    OARawTextBean ors = (OARawTextBean)webBean.findChildRecursive("raw1");
    ors.setText(div id=tabledivid style=height:500px;width:100%; overflow:auto>);
    OARawTextBean ore = (OARawTextBean)webBean.findChildRecursive("raw2");
    ore.setText("</div>");
    where raw1 and raw2 are rawtextbean created above and below of the table . but i dont know hoow to apply this only for table rows neglecting table columns , can anybody give any ideas.
    pelase this is very urgent , can u help me in this regards
    thanks
    Edited by: user630121 on Sep 29, 2008 5:17 AM
    Edited by: user630121 on Sep 29, 2008 5:18 AM

    hi,
    I have a similar task to do... Only to apply scrollbar at the table level.
    I tried using the above mentioned but I am facing Null Pointer Exception..
    Please explain about raw1 and raw2
    Rahul

  • Alternate color to the rows with sorting

    I have a table which has alternate color to the rows.one row in white and other in blue.when sorting is used, the blue-highlighted lines on the table are randomely re-located. They should not be impacted by the sorting.But they are getting effected.Is it possible to give alternate color to the rows with sorting?if yes,how.

    Go to Service.sap.com and follow the path > Problem Solving > Create Customer Messages. Choose a System and write a Message.
    raising an OSS message

  • How to implement BSP in wed dynpro abap

    Hi experts how to implement BSP application into
    web dynpro abap, Plz send the application procedure in detail....

    how to implement BSP application into
    web dynpro abap
    If i understand your question correctly, you want to use BSP application inside your web dynpro ABAP application,
    There are some ways to do:
    if you want to simply navigate to BSP application from WDA application then you can use Exit Plugs
    http://help.sap.com/saphelp_nw04s/helpdata/en/45/1bc575ba064574e10000000a114a6b/content.htm
    If you want to navigate between BSP and WDA application you have to use Suspend and Resume Plugs
    http://help.sap.com/saphelp_nw04s/helpdata/en/45/19bf8c16f25d7ae10000000a11466f/content.htm
    Abhi

  • Implementing GrabCut - how to implement graph cut?

    Hi all,
    I'm implementing the GrabCut segmentation technique in java.
    This is a link to the GrabCut paper
    research.microsoft.com/vision/Cambridge/papers/siggraph04.pdf
    I'm working with this paper (explains briefly how to implement the whole system)
    students.cs.byu.edu/~jtalbot/research/Grabcut.pdf
    The last part of the implementation involves finding a minimal cut in a graph
    (I need to build a graph from the image pixels with some constrains).
    Does anybody have an idea how to implement weighted graph class efficiently
    in order the graph cut algorithm to run fast?
    Thanks all
    Edited by: drortrie@ on Aug 17, 2008 5:06 AM

    Hi all,
    I'm implementing the GrabCut segmentation technique in java.
    This is a link to the GrabCut paper
    research.microsoft.com/vision/Cambridge/papers/siggraph04.pdf
    I'm working with this paper (explains briefly how to implement the whole system)
    students.cs.byu.edu/~jtalbot/research/Grabcut.pdf
    The last part of the implementation involves finding a minimal cut in a graph
    (I need to build a graph from the image pixels with some constrains).
    Does anybody have an idea how to implement weighted graph class efficiently
    in order the graph cut algorithm to run fast?
    Thanks all
    Edited by: drortrie@ on Aug 17, 2008 5:06 AM

  • Report Painter - how to insert sub header rows with no values

    In a report painter, I am designing a report with several rows with formulas. I need to insert a sub-header row in the middle of the rows. That will not have a value. It shall contain no value, but I am given only options of either insert a row of characteristics or a formula. I need neither of them. Can we have something excel  like feature in report painter (4.6c) just to insert a sub header row? If so how do we get that.
    e.g
    ADMINISTRATIVE EXPENSES (how to insert this row?)
    Account 1 - 10

    Hi,
    try to add a formular row containing a formular like = +x -x.
    Maybe you can use "formatting / row" and use overscores / underscores to get a blank row (underscore one line, overscore the line thats following).
    No other idea...
    best regards, Christian

  • How to use value of Report Rows for another Item heading (interesting)

    Hi!
    This seem to be interesting question.
    I have a classic report which has 4 rows with date values. The Row1 has Date1, Row2 has Date2 and so on.
    The report is structured like this
    DATE_COL COL1 COL2
    Row1 Date1 100 101
    Row2 Date2
    I want to use the values of DATE_COL of ROW1 which is Date1 in the label of ITEM1 which can be on same page or different page.
    Also I want to sue the value of DaTE_COL of ROW2 which is Date2 in the label of Column 1 of Report 2.
    How to accomplish this? Appreciate your suggestions.
    Thanks,
    --CP                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    cpora007 wrote:
    Hi!
    This seem to be interesting question.
    I have a classic report which has 4 rows with date values. The Row1 has Date1, Row2 has Date2 and so on.
    The report is structured like this
    DATE_COL COL1 COL2
    Row1 Date1 100 101
    Row2 Date2In your report attributes of DATE_COL column > add column link as follows
    Link Text: #DATE_COL#
    Target Type: URL
    URL: javascript:alert('#DATE_COL#');
    And set the Display as property to Standard Report Column
    Now when the link is clicked you will get the alert with corresponding value
    Next step is to set the value as the label of your item.
    If it is on the same page
    -- Use javascript to set the label
    If its on a different page then you will need to pass this value to that target page and set the label using *&P1_MY_ITEM_NAME.* syntax
    See this to learn how to pass the value in URL http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/concept_url.htm#HTMDB03017
    I want to use the values of DATE_COL of ROW1 which is Date1 in the label of ITEM1 which can be on same page or different page.
    Also I want to sue the value of DaTE_COL of ROW2 which is Date2 in the label of Column 1 of Report 2. You can sue if you are in England! :)

  • How to download the output of a report along with column header

    Hi,
    Could someone please tell me on how to download the output of a report along with column header to .txt format. A download option needs to be given to the user using physical and logical file names .The report basically contains header details and item details and requirement is to download the same format into an .txt format.

    Hello,
    Try this FM:
    Data: being of itab occurs 0,
    matnr like mara-matnr,
    maktx like makt-maktx,
    end of itab.
    data:begin of fld_tab occurs 0,
    fld_name(20),
    end of fld_tab.
    fld_tab = 'Material'.
    append fld_tab.
    fld_tab = 'Material Desc'.
    append fld_tab.
    CALL FUNCTION 'WS_DOWNLOAD'
       EXPORTING
            BIN_FILESIZE            = ' '
            CODEPAGE                = ' '
             FILENAME                = 'C:\1.txt '
             FILETYPE                = 'DAT'
            MODE                    = ' '
            WK1_N_FORMAT            = ' '
            WK1_N_SIZE              = ' '
            WK1_T_FORMAT            = ' '
            WK1_T_SIZE              = ' '
            COL_SELECT              = ' '
            COL_SELECTMASK          = ' '
            NO_AUTH_CHECK           = ' '
       IMPORTING
            FILELENGTH              =
         TABLES
              DATA_TAB                = itab
              FIELDNAMES              = fld_tab
       EXCEPTIONS
            FILE_OPEN_ERROR         = 1
            FILE_WRITE_ERROR        = 2
            INVALID_FILESIZE        = 3
            INVALID_TYPE            = 4
            NO_BATCH                = 5
            UNKNOWN_ERROR           = 6
            INVALID_TABLE_WIDTH     = 7
            GUI_REFUSE_FILETRANSFER = 8
            CUSTOMER_ERROR          = 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.
    Regards,
    Naimesh

Maybe you are looking for

  • Error: SAP NW 7.01 ABAP Trial Version: install successfully but don't work

    Hi all, i'm newbie. i haved SAP NetWeaver 7.01 ABAP Trial Version on my notebook (Thinkpad X61 - Windows XP Pro) installed. I have made as follows: 1- install MS Loopback Adapter 2- add in windows/system32/drivers/etc/hosts: 10.10.0.10 <machine name>

  • Spry Vertical Navigation menu with secondary flyout menu not showing

    I'm using Windows and CS3. I have a vertical spry menu with one of the items opening to a secondary vertical menu. The menu is positioned left and I want the flyout menu to open so it can be seen on top of the central content column. I have a backgro

  • IOS update and I lost my contacts

    I just updated my iPhone 4 with the new iOS and now my contact are gone and my husband's contacts are they instead. What did I do wrong?

  • Pages running slowly when using tables

    Hi, Pages is running very slowly whenever I try to type into a table. It also will do things like doing commands twice i.e. doubling the letters I press. My software and app is up to date, and nothing I have found here has fixed it. since iOS 7 Pages

  • ALV- REFRESH_TABLE_DISPLAY

    Hello Guys, I have an ALV Grid with an editable field. By changing this value, we recalculated the value of another column of AVL automatically. This happens right on the inner table, but are reflected in the Grid if the method I Execultar: ALV-> REF