Skip to Content
author's profile photo Former Member
Former Member

stand tool bar options not working set_table_for_first_display

Hi,

I copied the standard gui status from salv_table_standard to a zsalv_stanard.

I created a container and displayed the data in the form of a grid using the method set_table_for_first_display.

When I execute the program and click on the tool bar options non of those are working...

I set the pf-status to Zsalv_standard in PBO.

Can anyone please guide me where am i going wrong...

Sri

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Nov 11, 2009 at 11:23 PM

    Hi,

    set_table_for_first_display is not SALV.

    You can not randomly put programs, classes and PF-Status together and expect it works.

    Regards,

    Clemens

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      You can copy standard GUI-STATUS for Standard full screen

      display or Pop-up display from standard

      Function Group 'SALV_METADATA_STATUS'

      Use this for diplay of status :

      CALL METHOD go_table->set_screen_status

      EXPORTING

      report = gv_cprog

      pfstatus = gc_gui_status

      set_functions = go_table->c_functions_all.

  • Posted on Nov 11, 2009 at 11:27 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 12, 2009 at 01:42 AM

    Hello ,

    try

    call method g_grid%->set_table_for_first_display

    exporting

    i_save = p_save_layout%

    i_default = 'X'

    is_layout = ps_layout%

    is_variant = ps_variant%

    it_toolbar_excluding = pt_exclude%

    changing

    it_outtab = pt_alv_tab1[]

    it_fieldcatalog = pt_fieldcat%[].

    call method g_grid%->set_toolbar_interactive.

    regards

    Prabhu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 12, 2009 at 03:13 AM

    You can dirctly write below code to activate all the functions in ALV

    *-- activate ALV generic Functions

    go_functions = go_table->get_functions( ).

    go_functions->set_all( abap_true ).

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.