Skip to Content
author's profile photo
Former Member

ALV grid control

Dear All,

i have created ALV grid control,in application tool bar i have created one button ie 'Change',if the user select 'Change' then automatically i have to place 2 more buttons in application tool bar ie 'Order' & 'Notification'.

how to handle this situation...?

Thanks in Advance..

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • author's profile photo
    Former Member
    Oct 07, 2005 at 10:41 AM

    Hi,

    Use "SET PF-STATUS 'XXXX' EXCLUDING itab " addition.

    Fill this 'itab' with function codes to exclude,

    when you click on the 'Change' button remove the function codes from this itab.

    The itab should of type sy-ucomm.

    Set your pf-status in your PBO logic .

    regards,

    suresh.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 07, 2005 at 10:44 AM

    Hi Bala,

    you have to create two PF-STATUS for that screen you r talking about.

    say PF-001 an PF-002.

    in PF-001 you will make the 'change' button.

    in PF-002 you will make the 'order' an 'notify' button.

    Lets think the function code of the CHANGE button in CHNG.and think the screen no is 100.

    what you will do..

    module STATUS_0100 output.

    if sy-ucomm = 'CHNG

    set PF-STATUS 'PF-002'.

    CLEAR sy-ucomm.

    exit.

    endif.

    set PF-STATUS 'PF-001'.

    endmodule.

    hope this will help you..reward point if it helps you.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 07, 2005 at 11:15 AM

    Hi,

    tehere's no public method

    -> so try over event TOOLBAR and the parameter E_OBJECT

    regards Andreas

    Add comment
    10|10000 characters needed characters exceeded