Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • Posted on 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 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.