On button click scroll to anchor in parent page

Hi Everyone,
I have an edge file embedded in my html page as a banner.
I have a button in the edge file that I would like to control the parent page with.
How can I get onClick in the edge file to scroll the parent page to an anchor position.
I would like to do this without reloading the page as well.
Any help is greatly appreciated.
Thanks

We are getting close... I can feel it.
It didn't work as above just yet though. 
The Anchor / div name is outside the animate stage, on the holding HTML page.  So there is an html page.  The animate object is being pulled into that page with an iframe.  On that page that it's being pulled into is another div named align_orthodontics_blog.  To simplify here's the page structur
<body>
<p>THIS IS THE TOP</p>
<p><a href="#align_orthodontics_blog">GO HERE</a></p>
<iframe src="http://www.align-ortho.ca/an-home/an-homebanner.html" width="100%" height="855px" scrolling="no" frameborder="0">
</iframe>
<p>Just regular content here</p>
<p>THIS IS THE BLOG</p>
<div id="align_orthodontics_blog">Content for id "GOHERE" Goes Here</div>
</body>
</html>

Similar Messages

  • IFRAME scroll to anchor problem

    I am having difficulty using IFRAME and anchors. When I place
    an anchor within the IFRAME and then click to go to that anchor,
    the parent page scrolls to the IFRAME's location on the screen and
    the IFRAME scrolls to that anchor. How do I make the IFRAME, and
    only the IFRAME, scroll to the anchor?
    We have a User Acceptance Test site located at
    uat.itclarity.co.uk/our_services2.html where you can see our
    problem by clicking on the 'more' link.
    Any help would be gratefully received.

    There is nothing wrong with what you have shown us, hence the problem lies elsewhere.
    For us to help you without having to guess what you have done, it is important that you give us the whole picture such as giving us a URL to the site.
    However, very little can go wrong with the script and we can limit our guessing game to a few points, namely
    have you included the jQuery library?
    did you set the correct ID to the top reference?
    The following is what a correct version of the page will look like
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    </head>
    <body>
    <div id="top">This is the top. Please scroll down to the 'Back to Top' link.</div>
    <div style="height: 1200px"></div>
    <a href="#top" class="anchorLink">Back to Top</a>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
    <script>
    $(document).ready(function(){
      $(".anchorLink").click(function(e){
        e.preventDefault();
        var id    = $(this).attr("href");
        var offset = $(id).offset();
        $("html, body").animate({
          scrollTop: offset.top
        }, 100);
    </script>
    </body>
    </html>

  • How to open multiple report windows on button click without losing session?

    Hi,
    JDev : 11.1.1.2.0
    I am trying to open multiple discoverer plus report windows using my ADF application.
    My requirement is that user has to select multiple reports from the screen and by clicking on submit button all the reports should be opened in different windows.
    1) Below link provided me the the first solution but I can't go with it because my page is jsff and in jsff it doesn't support form tag.
    http://andrejusb.blogspot.com/2007/07/opening-report-window-in-adf-faces.html
    2) RichGoButton also provide targetFrame property but there is not action property in it so I can't call backing bean method with RichGoButton
    3) I have tried to open report windows using javascript window.open with ExtendedRenderKitService but on discoverer side it giving error message that Discoverer Plus cannot attach same session to multiple request.
    4) I have created one jsp page in the same folder where my jsff is kept in my ADF application and on submit button click I have launch this jsp page using afConetxt.launchDialog and in jsp scriplet I have written response.sendRedirect to report url but here all report are getting open properly to seperate windwos but my ADF application session is getting timeout so after clicking on submit button it will automatically goes to login page it cann't stay with the current page.
    Hoe you have understnad my problem and please provide me if you know any other solution aprart from above mentioned 4 solutions
    Regards,
    DevD

    sURL is query parameter value that I want to pass on jsp page. It is used to set some value on jsp page.
    If this is not a right approach then let me know how to pass the parameter in jsp page.

  • Error with No Message on Button Click Event

    Hi,
    I am getting a framework error on button click event.
    I have a page in which shuttle component is there,on click of the commit button the page traversed to main jsp page there i am getting error like ERROR and only '-'.
    In application module java file i have written the code for the shuttle component which creates the new row and set the values.

    Hi Frank. Thanks for the answer. Kindly check the code for shuttle component below. This is written in the Application Module (..ServicesImpl.java)
    public void multipleShuttle(List productIds,String reqRefNumber,Date orderDate,String hoSectionCd)
    System.out.println("Its entering into the test method");
    System.out.println("Inside updateSkillsForCurrentStaff method");
    System.out.println("reqRefNumber:"+reqRefNumber);
    System.out.println("orderDate:"+orderDate);
    System.out.println("hoSectionCd:"+hoSectionCd);
    if (productIds != null && productIds.size() > 0)
    List<Number> copyOfProductIds = (List<Number>)Utils.cloneList(productIds);
    //List copyOfProductIdsNames=Utils.cloneList(productIds);
    System.out.println("list values "+copyOfProductIds);;
    //System.out.println("list values "+copyOfProductIdsNames);;
    ViewObject skills = getMsMsOrderHdrUO2();
    RowSetIterator rsi = skills.createRowSetIterator(null);
    // remove any rows for the current user that aren't in the list of product keys
    while (rsi.hasNext())
    Row r = rsi.next();
    Number productId = (Number)r.getAttribute("MsDepotCd");
    System.out.println("depot from row setter "+productId);
    // if the existing row is in the list, we're ok, so remove from list.
    if (copyOfProductIds.contains(productId))
    copyOfProductIds.remove(productId);
    // if the existing row is in not list, remove it.
    else {
    r.remove();
    rsi.closeRowSetIterator();
    // at this point, we need to add new rows for the keys that are left
    for (Number productIdToAdd: copyOfProductIds)
    Row newRow = skills.createRow();
    skills.insertRow(newRow);
    try
    System.out.println("productIdToAdd"+productIdToAdd);
    System.out.println("inside attributes setter try method");
    //AS PER THE NEW REQUIREMENT ORDER STAUTS WIL BE 'DRAFT' AND ON APPROVAL BY JGM THEN IT WILL BE 'APPROVED'
    newRow.setAttribute("OrderStatus","DRAFT");
    System.out.println("Depot Code set is"+newRow.getAttribute("DepotCd"));
    if(productIdToAdd.equals("0"))
    System.out.println("inside the HO method to set section");
    newRow.setAttribute("HoSections",hoSectionCd);
    System.out.println("After setting the values");
    catch(Exception e)
    System.out.println("Exception Caught"+e);
    getDBTransaction().commit();
    orderDetailInsertProcedure(reqRefNumber);
    }

  • Page scroll on button click

    Hi All,
    I have a page thats very lenghty.
    On the button click can I scroll the page automatically to
    see the vbox thats at the bottom of the page or will the setfocus
    work?
    Thanks

    have you tried to use setFocus?
    I think verticalScrollPosition property of the Container
    class should do the trick.
    ATTA

  • Anchors on index page in Muse 2014 freeze scrolling once clicked.

    Hi everyone,
    On my index page I have two anchor points with arrows that link to those anchors. Once clicked, they take me to the right spot (and smoothly), but once the page has scrolled to the anchor point, I am no longer able to scroll up or down. I do not encounter this problem on other pages of my site.
    My index page: http://www.mdusault.com/
    Try clicking on the red arrow. It takes you down nicely, but then doesn't allow you to scroll anymore.
    On another page (not index page): Fading Lives
    Click on "More Info", it takes you down and still allows you to scroll afterwards.
    Any help? Is there a way to fix this issue?
    Thanks for your help,
    M

    Replied here :
    Muse CC 2014 Slideshow Horizontal Scrolling Thumbnails (Possible?)

  • My iphone 4s doesnt have the slide option to turn on mirror on apple tv...after ive double clicked the button and scrolled left twice, i see the symbol and click into it but theres no mirror option??

    my iphone 4s doesnt have the slide option to turn on mirror on apple tv...after ive double clicked the button and scrolled left twice, i see the symbol and click into it but theres no mirror option??

    is the latests ios version installed?
    if so then are you 100% sure you have an iphone4s because if you have an iphone4 it would be absent because Iphone4 don't support it
    mind you iphone4 are still being sold

  • T510 - Ultranav middle button click + touchpad move for scroll issue

    Hi,
    I am used from my t500 to click and hold middle button on the Ultranav and move up and down with the touchpad to scroll up and down. However, this does not work on my t510 anymore.
    At least it does work sometimes for some seconds in google chrome; but just for some short moments.
    The default behaviour is, that when i'm clicking the middle button the scroll symbol in form of a little scrollbar appears. I can then scroll by using the trackpoint, but not by using the touchpad. Using the touchpad has just the effekt, that the symbol disappears.
    Sometimes another symbol appears; its the symbol with the arrows pointing in all direktions. Only when this symbol appears i am able to scroll by moving on the touchpad.
    Now i am looking for a solution to my problem.
    by the way: when i use the trackpoint, the touchpad is locked for some seconds. Is there a way to disable this?
    Best Greets, matthias.

    There is an option to adjust how many lines the scrolling wheel skips but nothing about auto-scroll.I tested it.
    It seems like if I use the Auto-scroll and keep the mouse literally 1 pixel below the circle, it will be barely slow enough for reading long articles but you really have to spend a minute and a magnifier to make sure you put the mouse pointer exactly 1 pixel below the circle, otherwise it gets too fast.I'm NOT exaggerating the 1 pixel part. My screen is 1920x1080.Maybe that makes things worse.
    I was hoping to adjust the number of "pixels" the pointer has to travel to increase the speed from 1st to 2nd stage.Basically, to increase the distance you have to move the mouse in order to increase the acceleration.
    I'm not sure if anyone here uses 1080p screen.Could you please confirm that it's also 1 pixel for you ?

  • How can I disable right/left mouse buttons and scroll wheel in PDF?

    Hi all,
    I want the user to have to click on "forward" and "back" buttons that I've created in the PDF, in order to move around in it. Is there any way to disable the mouse buttons and scroll wheel from allowing users to go back and forth?
    Also, a separate question: I want the user to click on embedded images and receive either a pop-up comment, or be re-directed to another page in the PDF. Is there any way to set this up?
    Thanks for your time!

    You can achieve what you want in Question 1, just not via scripting.  You would need to create a plug-in in C/C++ that would be installed on the client machine.  Other than that option, try67 is correct - there is no way to achieve this from the document-level.

  • Download the PDF Form as a attachment when button click in BSP application

    Hi All,
    I have scenario, when button click in the BSP application PDF Form want to download in the IE (like one window open with Open,Save and cancel button).
    I have written this code:
    data: pdf type fpformoutput-pdf.
    < Logic for populate value to pdf field ....
    .>
    response->set_header_field(
                         name  = 'cache-control'
                         value = 'max-age=0' ).
      response->set_header_field(
                         name  = 'content-disposition'
                         value = 'attachment; filename=webforms.pdf' ).
      response->set_data( data   = pdf ).
    Once button is clicked pop up is opened and closed automatically because of browser or adobe reader issue.
    How can I resolve this problem ?
    In the IE i need to change any settings ?
    IE version = 7.0
    Adobe reader = 9.0
    I have tried in the same code with IE = 6.0 and adobe reader 8.1.2 its getting download the pdf form working fine.
    The same think i want in IE 7.0 and adobe reader 9.0, what needs to be done ?
    Regards,
    Boopathi M

    Hello Ravi,
    Best would be to bind the dataSource of the InteractiveForm ui element to the parent node containing the table's data. Then specify a name of a template to be created in the templateSource and hit <enter>. Some popups later, the system will have created a template from the structure of the context. All you need to do now is to drag&drop the data structure inside the template designer to the template itself. This will result in a table. Save, activate and return the Web Dynpro view. Don't forget to unbind the pdfSource and enjoy.
    Best regards,
    Thomas

  • How do you fire a button click event on apex page from fancybox iframe that was created by page

    I am trying to fire off the button click event from fancybox iframe. The apex page has a button that launches a fancybox iframe which is loaded with an APEX form. On close of that fancy box, I am trying to fire a click event on the parent page which will refresh a div with html that is created with plsql. The button on the page works as expected when clicked from the page. It will show a debug alert message to prove it was called and then load the div with the correct data. I am unable to fire off this button click from the fancybox iframe when it closes.
    A couple of points:
    I using Plug-in: Execute PL/SQL Code and Return Content ("PLUGIN_MULEDEV.SERVER_REGION_REFRESH") to place the create fancybox statement. It is used to populate a div using plsql.
    The name of the button on the main page is P2020_REFRESH_SECTION_BUILDER_BTN.
    The click dynamic action on the button is calling the plugin to replace the html in the div.
    The data in the form in the fancybox is being saved to the database. On close of the fancybox box I want to refresh the div so the new record is included in the div html.
    Can anyone help. Here is the fancybox code:
      function customProcessOnReadyState4(){
        for (var i=0;i<11;i++){
          $( "#tabs"+i ).tabs();
          $("#createNewExerciseLink"+i).fancybox({
              ''width''         : ''60%'',
              ''height''        : ''70%'',
              ''autoScale''     : true,
              ''transitionIn''  : 200,
              ''transitionOut'' : 200,
              ''type''          : ''iframe'',
              ''onClosed''         : function() {
                                         window.parent.$(''#P2020_REFRESH_SECTION_BUILDER_BTN'').click();
    Here are the dynamic actions assigned to the button:
    5 - Execute JavaScript Code
    alert("Starting refresh");
    10 - Execute PL/SQL Code and Return Content [Plug-in]
    begin
      SCTUI.create_sct_tabs2(:P2020_CREATE_SECTION_LOV, '1');
    end;

    user setActionListener...
    <af:setActionListener from="#{bindings.XXX.inputValue" to="#{backingbean.variable}"
                  <af:inputText value="#{bindings.Email.inputValue}"
                                label="#{bindings.Email.hints.label}"
                                binding="#{backingBeanScope.backing_ShuttlePage.it2}"
                                id="it2">
                    <f:validator binding="#{bindings.Email.validator}"/>
                  </af:inputText>
                  <af:commandButton text="commandButton 2"
                                    binding="#{backingBeanScope.backing_ShuttlePage.cb2}"
                                    id="cb2" action="passing">
                    <af:setActionListener from="#{bindings.Email.inputValue}"
                                          to="#{processScope.detail}"/>
                  </af:commandButton>next jsf page:
                <af:outputText value="#{processScope.detail}"
                               binding="#{backingBeanScope.backing_ProcessScope.ot1}"
                               id="ot1"/>setPropertyListener also should work
    <af:setPropertyListener from="#{bindings.Email.inputValue}" to="#{processScope.detail}" type="action"/>

  • Opening new window on button click from pdf without loosing session

    Hi,
    In my Java web applicaion on click of a link, we are opening a new window in which we are displaying a pdf. There are 5 buttons on this pdf.
    On clicking of this button again we are opening a application link in new window. But in this window we are not gettting our session, which is there in first two window.
    For opening new window from pdf button click we are using
    var dynamicUrl3 = myappurl;
    app.launchURL(dynamicUrl, true); 
    How can i open new window with the same sesion from the pdf button.
    Please help for the same.
    Thanks,
    Abhijit Mohite.

    Yes, with target="_blank" in a link or a form.Thanks for ur valuable suggestion. I changed the button to link.
    Its working fine now without JavaScript.
    Now i got another requirement. When user select some items and press a button in the new popup window, the window must close on button click and the parent window must refresh. This must also be done without using JavaScript.
    Is this possible? Please give me an idea to do this.
    Thanks.

  • Firefox 4 middle mouse button click acts different from v3

    clicking on the middle mouse button (not scrolling) acts like "open link in duplicated tab" rather than how it used to act like "open link in new tab".
    It places the new tab at the bottom/end of the list of tabs rather than how it used to as a child of the tab in which the middle button was clicked.
    Is there an option to change this behavior?

    jscher2000: THANK YOU. The thread was doubly useful.
    1. I had the same problem to cor-el's post to "Set the pref browser.tabs.insertRelatedAfterCurrent to true on the about:config page" as orwel had: it will not be changed.
    2. I disabled my addons one by one and found that THE PROBLEM WAS with Duplicate This Tab 1.2 When it is disabled, the center mouse click works as it used to -- and I assume this means 'correctly'. Certainly it's the way I want it to work:-)
    3. I am new to this support path. If you think the information I just posted can help those on the thread you pointed to, and you are so inclined, please inform them about Duplicate This Tab 1.2 should anyone there be using it.

  • Stage overflow settings for scroll to anchor

    Hi,
    I'm trying to do "scroll to anchor" functionality like the one here:  Edit fiddle - JSFiddle
    My code only works if the Stage's overflow is set to hidden.
    var anchorId = sym.$('#feature02');
    $('html, body').animate({scrollTop: anchorId.offset().top}, 500);
    I'm pulling in content from a json file (generated by a content management system), though, so I don't know how long the resultant page will be.  Also, it looks like the max Stage height setting is 10000, which is too short.
    So, overflow set to auto lets me see all of my content but kills my "scroll to anchor" functionality.  Also, an overflow set to auto causes a nasty double scroll bar on the windows side.
    Any thoughts?
    Thanks
    -Sherry

    Hi Heathrowe,
    Thanks for your reply.  Visible seems to both work for "scrolling to anchor" and fixing the nasty double scroll bar.  Thanks so much.
    Regarding #feature02:  I'm pulling in the data via a json file, then wrapping an anchor tag around the id:
    output += '<a id="feature0' + val.id + '" name="feature0' + val.id + '"> </a>';
    I'm then referring to it from the button with this:
    var anchorId = sym.$('#feature02');
    Which follows the "Work with elements directly" section of the JSAPI:
    "Accessing imported HTML content through actions can be done by using sym.$("#myId"); to target the ID or class of your element."
    Thanks again.  I'm embarking on a major Edge Animate / Kentico CMS project, so I can use all of the help that I can get.
    -Sherry

  • ALV: Right Button Click and Context Menu

    Hi Experts,
    I have to implement an ALV which should act on a right button click and show a context menu.
    Is this possible? I found only events for "on_double_click" or "on_link_click" and is it possible to show a context menu?
    Thanks in advanced.
    Best regards,
    Markus

    Hello Markus
    The relevant events are:
    CONTEXT_MENU_REQUEST
    USER_COMMAND
    Have a look at my sample report ZUS_SDN_ALV_CONTEXT_MENU_1.
    *& Report  ZUS_SDN_ALV_CONTEXT_MENU_1
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="910750"></a>
    *& Thread: ALV: Right Button Click and Context Menu
    *& Flow logic of screen 100 (no screen elements; ok_code = GD_OKCODE)
    *&    PROCESS BEFORE OUTPUT.
    *&      MODULE STATUS_0100.
    *&    PROCESS AFTER INPUT.
    *&      MODULE USER_COMMAND_0100.
    REPORT  zus_sdn_alv_context_menu_1.
    DATA:
      gd_okcode        TYPE ui_func,
      go_docking       TYPE REF TO cl_gui_docking_container,
      go_splitter      TYPE REF TO cl_gui_splitter_container,
      go_cell_top      TYPE REF TO cl_gui_container,
      go_cell_bottom   TYPE REF TO cl_gui_container,
      go_grid1         TYPE REF TO cl_gui_alv_grid,
      go_grid2         TYPE REF TO cl_gui_alv_grid,
      gs_layout        TYPE lvc_s_layo.
    DATA:
      gt_knb1          TYPE STANDARD TABLE OF knb1,
      gt_knvv          TYPE STANDARD TABLE OF knvv.
    *       CLASS lcl_eventhandler DEFINITION
    CLASS lcl_eventhandler DEFINITION.
      PUBLIC SECTION.
        CLASS-METHODS:
          handle_double_click FOR EVENT double_click OF cl_gui_alv_grid
            IMPORTING
              e_row
              e_column
              es_row_no
              sender,
          handle_context_menu_request FOR EVENT context_menu_request
                                                     OF cl_gui_alv_grid
            IMPORTING
              e_object
              sender,
          handle_user_command FOR EVENT user_command OF cl_gui_alv_grid
            IMPORTING
              e_ucomm
              sender.
    ENDCLASS.                    "lcl_eventhandler DEFINITION
    *       CLASS lcl_eventhandler IMPLEMENTATION
    CLASS lcl_eventhandler IMPLEMENTATION.
      METHOD handle_double_click.
    *   define local data
        DATA:
          ls_knb1      TYPE knb1.
        CHECK ( sender = go_grid1 ).
        READ TABLE gt_knb1 INTO ls_knb1 INDEX e_row-index.
        CHECK ( ls_knb1-kunnr IS NOT INITIAL ).
        CALL METHOD go_grid1->set_current_cell_via_id
          EXPORTING
    *        IS_ROW_ID    =
    *        IS_COLUMN_ID =
            is_row_no    = es_row_no.
    *   Triggers PAI of the dynpro with the specified ok-code
        CALL METHOD cl_gui_cfw=>set_new_ok_code( 'DETAIL' ).
      ENDMETHOD.                    "handle_double_click
      METHOD handle_context_menu_request.
    *   define local data
        DATA: lt_fcodes    TYPE ui_funcattr,
              ls_fcode     TYPE uiattentry,
              ls_func      TYPE ui_func,
              lt_func      TYPE ui_functions.
        "   Inactivate all standard functions
        CALL METHOD e_object->get_functions
          IMPORTING
            fcodes = lt_fcodes.
        LOOP AT lt_fcodes INTO ls_fcode.
          ls_func = ls_fcode-fcode.
          APPEND ls_func TO lt_func.
        ENDLOOP.
        e_object->disable_functions( lt_func ).
    "   Add new functions
        e_object->add_separator( ).
        CALL METHOD e_object->add_function
          EXPORTING
            fcode = 'XD03'
            text  = 'Call Transaction'.
        CALL METHOD e_object->add_function
          EXPORTING
            fcode = 'DETAILS'
            text  = 'Display Details'.
      ENDMETHOD.                    "handle_context_menu_request
      METHOD handle_user_command.
    *   define local data
        DATA:
          ls_knb1   TYPE knb1,
          ls_row    TYPE lvc_s_row,
          ls_col    TYPE lvc_s_col.
        "   NOTE: in case of CL_GUI_ALV_GRID the functions of a context menu
        "         are handled in method USER_COMMAND.
        CHECK ( e_ucomm = 'XD03'      OR
                e_ucomm = 'DETAILS' ).
        CALL METHOD sender->get_current_cell
          IMPORTING
            es_row_id = ls_row
            es_col_id = ls_col.
        CASE e_ucomm.
          WHEN 'XD03'.
            READ TABLE gt_knb1 INTO ls_knb1 INDEX ls_row-index.
            SET PARAMETER ID 'BUK' FIELD ls_knb1-bukrs.
            SET PARAMETER ID 'KUN' FIELD ls_knb1-kunnr.
            CALL TRANSACTION 'XD03' AND SKIP FIRST SCREEN.
          WHEN 'DETAILS'.
      "       NOTE: only for the sake of simplicity the event handler method
            "             is called
            CALL METHOD lcl_eventhandler=>handle_double_click
              EXPORTING
                e_row  = ls_row
                sender = go_grid1.
          WHEN OTHERS.
        ENDCASE.
      ENDMETHOD.                    "handle_user_command
    ENDCLASS.                    "lcl_eventhandler IMPLEMENTATION
    START-OF-SELECTION.
      SELECT        * FROM  knb1 INTO TABLE gt_knb1
             WHERE  bukrs  = '1000'.
    * Create docking container
      CREATE OBJECT go_docking
        EXPORTING
          parent                      = cl_gui_container=>screen0
          ratio                       = 90
        EXCEPTIONS
          OTHERS                      = 6.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Create splitter container
      CREATE OBJECT go_splitter
        EXPORTING
          parent            = go_docking
          rows              = 2
          columns           = 1
    *      NO_AUTODEF_PROGID_DYNNR =
    *      NAME              =
        EXCEPTIONS
          cntl_error        = 1
          cntl_system_error = 2
          OTHERS            = 3.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Get cell container
      CALL METHOD go_splitter->get_container
        EXPORTING
          row       = 1
          column    = 1
        RECEIVING
          container = go_cell_top.
      CALL METHOD go_splitter->get_container
        EXPORTING
          row       = 2
          column    = 1
        RECEIVING
          container = go_cell_bottom.
    * Create ALV grids
      CREATE OBJECT go_grid1
        EXPORTING
          i_parent          = go_cell_top
        EXCEPTIONS
          OTHERS            = 5.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Set event handler
      SET HANDLER:
        lcl_eventhandler=>handle_double_click         FOR go_grid1,
        lcl_eventhandler=>handle_context_menu_request FOR go_grid1,
        lcl_eventhandler=>handle_user_command         FOR go_grid1.
      CREATE OBJECT go_grid2
        EXPORTING
          i_parent          = go_cell_bottom
        EXCEPTIONS
          OTHERS            = 5.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Display data
      gs_layout-grid_title = 'Customers'.
      CALL METHOD go_grid1->set_table_for_first_display
        EXPORTING
          i_structure_name = 'KNB1'
          is_layout        = gs_layout
        CHANGING
          it_outtab        = gt_knb1
        EXCEPTIONS
          OTHERS           = 4.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      gs_layout-grid_title = 'Customers Details (Sales Areas)'.
      CALL METHOD go_grid2->set_table_for_first_display
        EXPORTING
          i_structure_name = 'KNVV'
          is_layout        = gs_layout
        CHANGING
          it_outtab        = gt_knvv  " empty !!!
        EXCEPTIONS
          OTHERS           = 4.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Link the docking container to the target dynpro
      CALL METHOD go_docking->link
        EXPORTING
          repid                       = syst-repid
          dynnr                       = '0100'
    *      CONTAINER                   =
        EXCEPTIONS
          OTHERS                      = 4.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * NOTE: dynpro does not contain any elements
      CALL SCREEN '0100'.
    * Flow logic of dynpro (does not contain any dynpro elements):
    *PROCESS BEFORE OUTPUT.
    *  MODULE STATUS_0100.
    *PROCESS AFTER INPUT.
    *  MODULE USER_COMMAND_0100.
    END-OF-SELECTION.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'STATUS_0100'.  " contains push button "DETAIL"
    *  SET TITLEBAR 'xxx'.
    * Refresh display of detail ALV list
      CALL METHOD go_grid2->refresh_table_display
    *    EXPORTING
    *      IS_STABLE      =
    *      I_SOFT_REFRESH =
        EXCEPTIONS
          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.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE user_command_0100 INPUT.
      CASE gd_okcode.
        WHEN 'BACK' OR
             'END'  OR
             'CANC'.
          SET SCREEN 0. LEAVE SCREEN.
    *   User has pushed button "Display Details"
        WHEN 'DETAIL'.
          PERFORM entry_show_details.
        WHEN OTHERS.
      ENDCASE.
      CLEAR: gd_okcode.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Form  ENTRY_SHOW_DETAILS
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM entry_show_details .
    * define local data
      DATA:
        ld_row      TYPE i,
        ls_knb1     TYPE knb1.
      CALL METHOD go_grid1->get_current_cell
        IMPORTING
          e_row = ld_row.
      READ TABLE gt_knb1 INTO ls_knb1 INDEX ld_row.
      CHECK ( syst-subrc = 0 ).
      SELECT        * FROM  knvv INTO TABLE gt_knvv
             WHERE  kunnr  = ls_knb1-kunnr.
    ENDFORM.                    " ENTRY_SHOW_DETAILS
    Regards
      Uwe

Maybe you are looking for

  • I keep on getting message that my start up disk is full. How do i resolve this?

    i keep on getting message that my start up disk is full. How do i resolve this?

  • Is this layout possible?

    Hello! Good to see there are still some iWeb lovers out there. I'm looking for a way to create a 'horizontal' looking website in iWeb. This is a good example: http://theorydesign.ca/ Is this possible? Do I have to work with a background image or some

  • Acrobat X Signature

    I am woking with Acrobat Pro 10.1.7 on mac OS 10.6.8. I made a new ink signature by scanning my signture and importing it in to Acrobat > Preferences > Security > New. That worked and I can see that signature under Preferences. When I try to sign a d

  • Random songs of mine are being deleted from my library

    Hey I am having issues with songs just randomly disappearing, and these are songs that I imported from CDs.  I really cant find a pattern, its just one or two songs from one album, five from another, etc.  Any help would be aprreciated, especially si

  • CCP - Desktop app greyed out (enabled by default)

    Trying to create a new package in the newest version of CCP doesn't allow me to disable the Creative Cloud Desktop App. It is ticked by default and greyed out. Why is this?