01-30-2008 6:48 AM
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
01-30-2008 6: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
01-30-2008 6: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
01-30-2008 7: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.