Scroll scren at the top of page

Hi all,
I have a screen.in that scrren i having some mandatory fields.when we go down and wan tot go next screen and mandatory fields are initial.then it shows eror messages.
Now my query is that i want if any error message comes out then screen will automatically scrolled top of the page.
Suggess how is it posible.
Points will be sured max.
Thanks
Sanket sethi

Hi Sanketh,
           Here you need to do two things.
1.Create a <b>MessageArea</b> UI element in the place <b>where you want the error message to be displayed</b>. MessageArea automatically displays the message caused by <i>IWDMessageManager</i>. If you want to focus on the error message.
2.Just below <b>MessageArea</b> create a <b>LinkToAction</b> UI element then create an action <i>Focus</i> (No code is needed in this). Then whenever you populate error message add this line of code.
wdThis.wdGetAPI().requestFocus(wdThis.wdGetFocusAction());
Feel free to get back if there is any issue.If you have resolved please mention solution also before closing this.
regards,
Siva

Similar Messages

  • ITunes Store window automatically scrolls back to the top of the page

    Hey gang -
    I have a problem that is really quite funny except for the fact that I am so frustrated I could cry.
    Computer/software: MacBook OSX 10.4.11 with iTunes 7.6
    This just started on my Macbook: I open the iTunes store and when I try to navigate down the page, the second I "let go" of my scroll the window immediately scrolls back to the top of the page. This seems to be happening on all pages in the iTunes store. No other program seems to be affected, neither is my library within iTunes - just the store. This happens when I use the trackpad, the scroll bars and my bluetooth mouse.
    I can't get any iTunes content beyond the height of my Macbook window! It is maddening!
    I have closed and opened iTunes several times and rebooted twice. Any other ideas?
    Thank you!

    Hi There
    I had the same problem and im using iTunes 7.6.1 (9)
    The problem seems to be related to what kind of firewall your behind.
    The network I'm on at the moment is very strict and will not allow anything else than www basicly. So I connected to a different network via VPN and use it as my default gateway. iTunes stops scrolling back after I connect to this network (a restart of iTunes might be needed). And I think this is the only place that iTunes has acted up. Think it works fine at my home lan.
    Hope this helps and that you haven't thrown your mac out the window!

  • Scroll Bar in ALV Top Of Page

    Hi Ppl,
    I am using REUSE_ALV_COMMENTARY_WRITE to display top of page in ALV. The issue is i want to restrict the top-of-page height.
    As of now if i have 10 lines to print...the top-of-page comes with 10 lines in display.
    But i want some (say 4 or 5) to be visible with scroolbar and rest can be viewed by use of the scroll--bar movement!!
    Any soln?? Please reply
    Regards,
    Santosh!!

    Hi Santosh,
    I am not sure if that is possible by using FM approach. - REUSE_ALV_COMMENTARY_WRITE
    But yes its possible if you are using Docking Container. with split container approach. ie. OOPs .
    Refer sample code.
    Constants Declaration
    CONSTANTS: c_x             TYPE c          VALUE 'X',
               c_mode          TYPE char1      VALUE 'O',
               c_mask          TYPE char9      VALUE ',*.*,*.*.',
               c_error_log     TYPE tabname    VALUE 'ZERROR_LOG',
               c_succ          TYPE iconname   VALUE '@01@',    "#EC *
               c_fail          TYPE iconname   VALUE '@02@',
               c_object        TYPE emg_object VALUE 'PARTNER'," Legacy obj
               c_opbuk         TYPE opbuk_kk   VALUE 'UK01',
               c_split         TYPE c
                               VALUE cl_abap_char_utilities=>horizontal_tab,
               c_path          TYPE char100
                               VALUE '/local/data/interface/A28/DM/OUT'.
    *Variables Declaration
    DATA:  flg_pre     TYPE c,             " Flag -  Presentation browse
           flg_x       TYPE c,
           cnt_total   TYPE char8,         " Total Records processed
           cnt_success TYPE char8,         " Total Records success
           cnt_failed  TYPE char8,        " Total Records failed
           cnt_repeat  TYPE char8.
    *-- ALV Grid data declaration
          CLASS v_lcl_event_receiver DEFINITION
    CLASS lcl_event_receiver DEFINITION.
      PUBLIC SECTION.
        METHODS:
         handle_print_top_of_page FOR EVENT print_top_of_page OF
                                            cl_gui_alv_grid,
         handle_top_of_page       FOR EVENT top_of_page OF
                                            cl_gui_alv_grid.
    ENDCLASS.                    "o_lcl_event_receiver DEFINITION
          ALV Data declaration
    DATA : o_alvgrid          TYPE REF TO cl_gui_alv_grid,
           o_split            TYPE REF TO cl_gui_easy_splitter_container,
           o_dockingcontainer TYPE REF TO cl_gui_docking_container,
          <b> o_container_top    TYPE REF TO cl_gui_container,
           o_container_bot    TYPE REF TO cl_gui_container,
           o_html             TYPE REF TO cl_dd_document,</b>       o_event_receiver   TYPE REF TO lcl_event_receiver,
           ok_code            LIKE sy-ucomm,
           i_fieldcat         TYPE lvc_t_fcat,
           wa_fieldcat        TYPE lvc_s_fcat,
           wa_layout          TYPE lvc_s_layo.
          CLASS LCL_EVENT_RECEIVER IMPLEMENTATION
    CLASS lcl_event_receiver IMPLEMENTATION.
    *-- Top of Page
      METHOD handle_print_top_of_page.
      ENDMETHOD.                    "handle_print_top_of_page
      METHOD handle_top_of_page.
      ENDMETHOD.                    "handle_top_of_page
    ENDCLASS.                    "lcl_event_receiver IMPLEMENTATION
    *-- ALV List data declaration
    DATA:  i_field_cat1       TYPE slis_t_fieldcat_alv,
           w_lay_out1         TYPE slis_layout_alv,
           w_field_cat        TYPE slis_fieldcat_alv,
           i_events1          TYPE slis_t_event,
           w_event            TYPE slis_alv_event,
           w_print            TYPE slis_print_alv.
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'STANDARD'.
      SET TITLEBAR 'TITLE'.
    *-- Create Instances
      PERFORM f0040_create_object.
    *-- Create Field catalog
      PERFORM f0050_field_catalog
                        TABLES i_fieldcat
                        USING c_error_log.
    *-- Modify Field Catalog
      PERFORM f0060_modify_fldcatalog
                        TABLES i_fieldcat.
    *-- Set ALV Layout
      PERFORM f0070_layout.
    *-- Generate ALV Grid
      PERFORM f0080_display_list
                        TABLES  i_error
                                i_fieldcat
                          USING wa_layout.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Form  f0040_create_object
    FORM f0040_create_object .
      IF cl_gui_alv_grid=>offline( ) IS INITIAL.
    *-- Create Container
        CREATE OBJECT o_dockingcontainer
          EXPORTING
            ratio                     = '95'
         EXCEPTIONS
          cntl_error                  = 1
          cntl_system_error           = 2
          create_error                = 3
          lifetime_error              = 4
          lifetime_dynpro_dynpro_link = 5
          OTHERS                      = 6.
        IF sy-subrc NE 0.
          MESSAGE i000 WITH text-013.   " Error in object creation
          LEAVE LIST-PROCESSING.
        ENDIF.
    *--Create Splitter Container
        CREATE OBJECT o_split
          EXPORTING
            parent            = o_dockingcontainer
            sash_position     = 20
            with_border       = 0
          EXCEPTIONS
            cntl_error        = 1
            cntl_system_error = 2
            OTHERS            = 3.
    *--Get the containers of the splitter control
        o_container_top = o_split->top_left_container.
        o_container_bot = o_split->bottom_right_container.
      ENDIF.
      CREATE OBJECT o_alvgrid
         EXPORTING
           i_parent = o_container_bot.
    *-- Print Top of Page
      PERFORM f0041_top_of_page.
    ENDFORM.                    " f0040_create_object
    <b>&----
    *&      Form  f0041_top_of_page</b>
    FORM f0041_top_of_page .
      DATA: lws_text  TYPE sdydo_text_element.
      IF cl_gui_alv_grid=>offline( ) IS INITIAL.
    *-- Object for HTML top container
        CREATE OBJECT o_html
            EXPORTING style            = 'ALV_GRID'
                      background_color = 35.
    *-- Top of Page
        CALL METHOD o_alvgrid->list_processing_events
          EXPORTING
            i_event_name = 'TOP_OF_PAGE'
            i_dyndoc_id  = o_html.
    *-- Total Record Text
        CALL METHOD o_html->add_text
          EXPORTING
            text         = text-014
            sap_emphasis = text-017.
        CALL METHOD o_html->add_gap
          EXPORTING
            width = 8.
    **-- Total record Value
        lws_text = cnt_total.
        CALL METHOD o_html->add_text
          EXPORTING
            text         = lws_text
            sap_emphasis = text-017.
        CLEAR  lws_text.
        CALL METHOD o_html->new_line
          EXPORTING
            repeat = 1.
    **-- Total Success text
        CALL METHOD o_html->add_text
          EXPORTING
            text         = text-015
            sap_emphasis = text-017
            fix_lines    = c_x.
        CALL METHOD o_html->add_gap
          EXPORTING
            width = 12.
        lws_text = cnt_success.
        CALL METHOD o_html->add_text
          EXPORTING
            text         = lws_text
            sap_emphasis = text-017
            fix_lines    = c_x.
        CLEAR  lws_text.
        CALL METHOD o_html->new_line
          EXPORTING
            repeat = 1.
    *-- Total Failed text
        CALL METHOD o_html->add_text
          EXPORTING
            text         = text-016
            sap_emphasis = text-017
            fix_lines    = c_x.
        CALL METHOD o_html->add_gap
          EXPORTING
            width = 16.
        lws_text = cnt_failed.
        CALL METHOD o_html->add_text
          EXPORTING
            text         = lws_text
            sap_emphasis = text-017
            fix_lines    = c_x.
        CLEAR  lws_text.
    *-- Display Report Header
    <b>    CALL METHOD o_html->display_document
          EXPORTING
            parent = o_container_top.</b>
      ENDIF.
    ENDFORM.                    " f0041_top_of_page
    *&      Form  f0050_field_catalog
    FORM f0050_field_catalog  TABLES   p_fieldcat STRUCTURE lvc_s_fcat
                              USING value(p_structure).
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name       = p_structure
        CHANGING
          ct_fieldcat            = p_fieldcat[]
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
      IF sy-subrc <> 0.
        MESSAGE i000(zo_spa) WITH text-017.
        LEAVE LIST-PROCESSING.
      ENDIF.
    ENDFORM.                    " f0050_field_catalog
    *&      Form  f0070_layout
    FORM f0070_layout .
      wa_layout-zebra      = c_x.
      wa_layout-cwidth_opt = c_x.
    ENDFORM.                    " f0070_layout
    *&      Form  f0080_display_list
    FORM f0080_display_list  TABLES  p_output
                                     p_fieldcat
                             USING value(p_layout).
    *-- Display Report
      CALL METHOD o_alvgrid->set_table_for_first_display
        EXPORTING
          i_save                        = 'A'
          is_layout                     = p_layout
        CHANGING
          it_outtab                     = p_output[]
          it_fieldcatalog               = p_fieldcat[]
        EXCEPTIONS
          invalid_parameter_combination = 1
          program_error                 = 2
          too_many_lines                = 3
          OTHERS                        = 4.
      IF sy-subrc <> 0.
        MESSAGE i000(zo_spa) WITH text-022.    " Error in Displaying
        LEAVE LIST-PROCESSING.
      ENDIF.
    **-- Create Event object
      CREATE OBJECT o_event_receiver.
      SET HANDLER o_event_receiver->handle_print_top_of_page
                                     FOR o_alvgrid.
    ENDFORM.                    " f0080_display_list
    *&      Module  USER_COMMAND_0100  INPUT
    MODULE user_command_0100 INPUT.
      ok_code = sy-ucomm.
      CASE ok_code.
        WHEN 'EXIT' OR  'CANC'.
          PERFORM f4000_free_objects:
                   USING o_alvgrid 'ALV' text-031,
                   USING o_dockingcontainer 'DOCKING' text-032.
          LEAVE PROGRAM.
        WHEN 'BACK'.
          PERFORM f4000_free_objects:
                   USING o_alvgrid 'ALV' text-031,
                   USING o_dockingcontainer 'DOCKING' text-032.
          SET SCREEN '0'.
          LEAVE SCREEN.
        WHEN OTHERS.
          PERFORM f4000_free_objects:
                    USING o_alvgrid 'ALV' text-031,
                    USING o_dockingcontainer 'DOCKING' text-032.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Form  f4000_free_objects
    FORM f4000_free_objects  USING pobject
                            value(ptype)
                            value(ptext) TYPE c.
      DATA: lo_objectalv TYPE REF TO cl_gui_alv_grid.
      CASE ptype.
        WHEN 'ALV'.
          lo_objectalv = pobject.
          IF NOT ( lo_objectalv IS INITIAL ).
            CALL METHOD lo_objectalv->free
              EXCEPTIONS
                cntl_error        = 1
                cntl_system_error = 2
                OTHERS            = 3.
            CLEAR: pobject, lo_objectalv.
            PERFORM f4010_error_handle USING ptext.
          ENDIF.
        WHEN 'DOCKING'.
          DATA: lo_objectdock TYPE REF TO cl_gui_docking_container.
          lo_objectdock = pobject.
          IF NOT ( lo_objectdock IS INITIAL ).
            CALL METHOD lo_objectdock->free
              EXCEPTIONS
                cntl_error        = 1
                cntl_system_error = 2
                OTHERS            = 3.
            CLEAR: pobject, lo_objectdock.
            PERFORM f4010_error_handle USING ptext.
          ENDIF.
        WHEN OTHERS.
          sy-subrc = 1.
          PERFORM f4010_error_handle
                       USING text-031.
      ENDCASE.
    ENDFORM.                    " f4000_free_objects
    *&      Form  f4010_error_handle
    FORM f4010_error_handle  USING value(ptext) TYPE c.
      IF sy-subrc NE 0.
        CALL FUNCTION 'POPUP_TO_INFORM'
          EXPORTING
            titel = text-031
            txt2  = sy-subrc
            txt1  = ptext.
      ENDIF.
    ENDFORM.                    " f4010_error_handle
    Reward points if this Helps.
    Manish

  • How to Create a "FAQ" page where the top of page has all the Hyperlinks

    Hi,
    On iWeb, how do I Create a "FAQ" page where the top of page has all the Questions as Hyperlinks.
    The hyperlinks would not actually link to a separate page, but would automatically scroll the page to the spot where the question is answered.
    An good example is below:
    http://www.cardrunners.com/members/index.php?option=com_content&task=view&id=102 &Itemid=2
    Thanks for your help!

    Sarah,
    As is pointed out what you would like to do is old fashioned Anchors, real easy on a conventional site but not so easy in iWeb.
    I made an FAQ by just making questions followed by answers and increasing font size and using bold to make the questions stand out so it is easy to use.
    Much more work for you but will approximate what you are trying to achieve is this: On the FAQ page make your list of questions each of which you will make into a hyperlink to go to another page. For every question add a blank page to write the answer on. Uncheck the relevant box so that that page does not appear in the navigation bar. Write your answer on that page then under it make a hyperlink back to the FAQ page. The page would also by default have the normal navigation menu at the top, but adding a "Close Window" or "Back To FAQ" link that is actually just a hyperlink to the FAQ page is helpful for site visitors.
    While a lot of work to make the extra pages it should work well and solve your problem.
    The simplicity of iWeb soon provides problems as soon as you want to do more than the basics offered.

  • To display the typ, key field,info in the top-of -page event in OO ALV

    Hi all,
    I need to display the heading and the other select option details in the top-of-page  event in ooalv.How can the key ,typ and the info of top of event  in alv grid be passed in ooalv grid display.
    Regards,
    Arpita

    Check the blog.
    TOP_OF_PAGE in ALV  Using CL_GUI_ALV_GRID
    Now you have to use the method ADD_TEXT to populate the Select options details.
    I hope you know the Function to get the selection details
    RS_REFRESH_FROM_SELECTOPTIONS,. it will give into a table. so use that table and populate the TOP_OF_PAGE uisng the class CL_DD_DOCUMENT.

  • How i can show the selection screen input field in the top of page in alv

    hi ,
              how i can show the selection screen input field in the top of page in alv  grid output.
    tell me the process

    Hi,
    excample from my program:
    FORM topof_page.
      DATA: l_it_header   TYPE TABLE OF slis_listheader WITH HEADER LINE,
            l_info        LIKE l_it_header-info.
      DATA: l_it_textpool TYPE TABLE OF textpool WITH HEADER LINE.
      DATA: l_key LIKE l_it_textpool-key.
      READ TEXTPOOL c_repid INTO l_it_textpool LANGUAGE sy-langu.
      DEFINE m_selinfo.
        if not &1 is initial.
          clear l_it_header.
          l_it_header-typ   = 'S'.
          l_key = '&1'.
          translate l_key to upper case.
          read table l_it_textpool with key key = l_key.
          if sy-subrc = 0.
            shift l_it_textpool-entry left deleting leading space.
            l_it_header-key = l_it_textpool-entry  .
          endif.
          loop at &1.
            case &1-option.
              when 'EQ'
                or 'BT'
                or 'CP'.
                write &1-low to l_it_header-info.
              when others.
                write &1-low to l_it_header-info.
                concatenate &1-option
                            l_it_header-info
                       into l_it_header-info
                       separated by space.
            endcase.
            if not &1-high is initial.
              write &1-high to l_info left-justified.
              concatenate l_it_header-info
                          l_info
                     into l_it_header-info
                     separated by space.
            endif.
            if &1-sign = 'E'.
              concatenate ']'
                          l_it_header-info
                     into l_it_header-info.
            endif.
            append l_it_header.
            clear: l_it_header-key,
                   l_it_header-info.
          endloop.
        endif.
      END-OF-DEFINITION.
      m_selinfo: s_trmdat,
                 s_trmext,
                 s_trmint,
                 s_fkdat,
                 s_delno,
                 s_vbeln,
                 s_deact,
                 s_kdmat.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                it_list_commentary = l_it_header[].
    ENDFORM.
    I hope, this will help you.
    Regards
    Nicole

  • How to print the top of page part along with the ALV list and generate PDF

    HI all,
             I have created one ALV by using oops concept .
             and also am able to get the top of page where I have One standard logo on the right hand side
             and some details on the left side .
               Now my requirement is to while printing the list the logo and other top of page details should appear
               In the PDF output but currently while am pressing the print preview button only the alv data is coming
              am already using the method
        handle_top_of_page
          FOR EVENT print_top_of_page
                 OF cl_gui_alv_grid,
    may be am missing something ... How to get the top of page along with the logo printed ?

    Hi  Surya,
    After generating the grid display  click on print button,
    a spool number is generated. capture the spool number and convert it to pdf using the fm:
    CONVERT_ABAPSPOOLJOB_2_PDF  and save the file
    Hope this will solve your problem.
    Regards,
    R K.

  • How to capture the current info in the top-of-page event in Reuse block dis

    How to capture the current info in the top-of-page event in Reuse block dis

    Hi Geetha,
         If you don't have any information to pass the Heading Block, then why you are using this event ?
         please comment/ remove that TOP_OF_PAGE code. and use subtotal code in field catalog block.
          you can use below code for subtotal. 
          FORM field_catalog .
                    gs_fcat-do_sum = &2.
              fcat : 'WRBTR' '15' 'X' ' ' ' ' 'WRBTR' 'Amount',
           ENDFORM.
           Regards,
           Kunjan

  • Can we create the longer lines in the top-of-page in ALV Grid

    Dear Experts,
    I want to display longer characters in the TOP-OF-PAGE in the ALV GRID .
    ( more than 60 character up to 150 ).
    Is there any possible FM.
    Kindly provide.
    Regards
    R.Rajendran

    hI rANGA,
    I think upto 60 char is possible.
    Thanks
    Vincent

  • How to gve the colors to the TOP-OF-PAGE in ALV Grid Disply..

    i want to give 3 different colors in the top-of-page(there are three different lines each line should disply in different colors)...
      plaese tell me how can i do that...........

    Hi
    Try like this...
    form build_events.
      clear   gv_event.
      refresh i_events.
    Get the ALV events
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        exporting
          i_list_type     = 0
        importing
          et_events       = i_events
        exceptions
          list_type_wrong = 1
          others          = 2.
      if sy-subrc = 0.
        sort i_events by name.
      endif.
    Form for Top-of-Page ---------------------------------*
      read table i_events with key name = slis_ev_top_of_page
                                          into gv_event
                                          binary search.
      if sy-subrc = 0.
        move gc_top_of_page to gv_event-form.
        modify i_events from gv_event index sy-tabix.
      endif.
    Form for End-of-List ---------------------------------*
      read table i_events with key name = slis_ev_end_of_list
                                          into gv_event
                                          binary search.
      if sy-subrc = 0.
        move gc_end_of_list to gv_event-form.
        modify i_events from gv_event index sy-tabix.
      endif.
    Specify the ALV layout
      wa_layout-max_linesize = gv_linsz.
      wa_layout-min_linesize = gv_linsz.
    endform.                    " build_events
    form top_of_page_d.                                        
      format color col_heading.
      write: / 'Satyanarayana'
      format color col_total.
      write: / 'Sayana'.
      format reset.
    endform.
    Satya.

  • How to give colors to the top-of-page in ALV Grid

    How to give colors to the top-of-page in ALV Grid
    in table GT_LIST_TOP_OF_PAGE i am filling 3 rows ,i need 3 different colors to be displyed on top-of-page(one color to one row)
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
    I_LOGO = 'ENJOYSAP_LOGO'
    IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.
    please help mee

    HI Kranthi,
    Check out teh foll. link,
    http://www.sapfans.com/forums/viewtopic.php?t=52107
    Hope this helps.

  • I downloaded Mavericks and now when I google a topic and select I then cannot scroll back to the original google page?

    I downloaded Mavericks and now when I google a topic and select one, I then cannot scroll back to the original google page if I wish to try a different answer?

    Sorry, I'm not very good at describing the problem.   If I had multiple browser pages open, prior to downloading Maverick I could swipe the mouse to go back or forward as required.   Now if I google a subject and the page comes up with all the choices and I pick one, I now cannot swipe back to the first page , I have to re-open google each time, type in my seach and start from scratch.  

  • How to give colors to the top-of-page in ALV List Display

    how to give colors to the top-of-page in ALV List Display....

    Check this blog.........
    It provides your required output...........
    /people/vijaybabu.dudla/blog/2006/07/21/topofpage-in-alv-using-clguialvgrid
    See the point 7 for complete code...
    Regards,
    Pavan

  • Display of date range in the top-of-page of report

    have a question like this.
    i have a date range selection on the selection screen where the user will enter the range from this to this.
    now whatever period he will enter,that range should be displayed on the output of the report in the top-of page.
    can we do like this.
    plz explain.
    thanks!

    Hi,
    Use the below logic.
    data:      events      type  slis_t_event,
          event       type  slis_alv_event,
          heading     type  slis_t_listheader,
          hline       type  slis_listheader,
    start-of-selection.
    "get the data into the internal table and fill your fieldcatalog table.
    then fill the event ... ie top of page like this.
      CLEAR event.
      event-name = slis_ev_top_of_page.
      event-form = form_name.
      APPEND event TO events.
    then fill the comments to display in the top of page event.
    DATA: text(50).
      CLEAR hline.
      hline-typ  = 'H'.
      hline-info = "report title".
      APPEND hline TO heading.
      CLEAR: hline,text.
      read table s_pernr index 1.
      IF s_pernr-low IS NOT INITIAL.
        WRITE: 'Sal Code:' TO text.
        WRITE: s_pernr-low TO text+15.
      ENDIF.
      IF s_pernr-high IS NOT INITIAL.
        WRITE: 'to' TO text+25.
        WRITE: s_pernr-high TO text+28.
      ENDIF.
      hline-typ  = 'S'.
      hline-info = text.
      APPEND hline TO heading.
    and then...
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         i_callback_program                = sy-repid
         it_fieldcat                       = ist_fcat[]
          it_events                         = events[]
        TABLES
          t_outtab                          = ist_main[]
       EXCEPTIONS
         program_error                     = 1
         OTHERS                            = 2
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    and then create a subroutine for top of page.
    FORM top_of_page.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary       = heading[]
          I_LOGO                   =
          I_END_OF_LIST_GRID       =
          I_ALV_FORM               =
    ENDFORM.                    "TOP_OF_PAGE
    regards,
    Santosh Thorat

  • A variable from START-OF-SELECTION to be displayed at the TOP-OF-PAGE?

    Hi
    I want to display a variable (by WRITE ststement) which is populated under the the event start-of-selection in the top-of-page event.
    Is it possible to do that and if yes then How can I do it?
    Thanks

    i think top-of-page will trigger when it gets the first write statement. so
    start-of-selection.
    var = 100.
    write : / 'This is in start-of-selection'.
    top-of-page.
    write : / var.
    so the thing is you have to assign the value to your variable before first write statement.
    regards
    shiba dutta

Maybe you are looking for

  • How to tally P&L YTD data with R/3

    Dear Friends, Daily we are loading data 0FI_GL_4 data source to GL cube. In GL two types accounts available. 1.Balance sheet items. 2.P&L items. Balcne sheet items allways carry foward the last years balacne.So my closing balance is tallying with R/3

  • Adobe Photoshop Elements 12 Clip Art/Graphics

    Hello, I am taking an on-line digital scrapbooking class at my local community college.  We are using Adobe Photoshop Elements 12.  I have been trying to get help so that I am able to see the clip art that my class is using.  Yesterday before I unins

  • Problem on Posting Parked Invoices during MIRO

    Hi SAP Gurus! Good day! I'm experiencing a problem during posting Parked Invoices thru MIRO. First I've parked invoices thru MIR7, then when I go to MIRO to post the invoices, the Parked Invoices are not reflected in the "Worklist". What is the possi

  • Help inserting Fireworks pop-up menu into Dreamweaver

    I wonder if anyone can help me with pop-up menu insertion process. I create the menu in Fireworks and export it to Dreamweaver. I place the menu in a fresh test document and it works perfectly every time, but when I go through the exact same series o

  • Regular expressions and backreference

    Hello! I am trying to use backreferences in REGEXP in the PERL-style, where I want to match my regular expression and later refer to the grouped values. I can read that those are referecenced with \1 .. \9, but I simply cant get it to work. Here is a