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

disabling pushbuttons?

hi all,

How to disable the pushbutton. If there r 2 pushbuttons in a list, if i press 1 push

button the second one has to b disable.

Thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2008 at 06:56 AM

    Hi,

    if you have two buttons

    for eg: A, B are the pf keys

    then for condition one

    set pf_status excluding 'A'.

    for condtion two

    set pf_status excluding 'B'.

    then for condition one B will be activated

    and for condition two A will be activated

    if you have more than that

    declare like this

    DATA:

    BEGIN OF gt_status_except OCCURS 0,

    funktion LIKE t185f-fcode,

    END OF gt_status_except.

    in the status

    gt_status_except = 'A'. APPEND gt_status_except.

    gt_status_except = 'B'. APPEND gt_status_except.

    set pf_status excluding gtUstatus.

    now in this case both will be deactivated

    regards,

    Venkatesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2008 at 07:36 AM

    Hi,

    use like:

    DATA: ITAB TYPE TABLE OF CHAR5.

    SET PF-STATUS <UR STATUS> EXCLUDING ITAB

    WHERE ITAB CONTAINS THE FUNCTION CODE FOR YOUR PUSH BUTTON.

    Regards,

    Renjith Michael.

    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.