Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to deactivate button after click??

Former Member
0 Likes
576

hello experts,

how to deactivate button after click???

there are 2 buttons

Download | Add

now if i click on download the download button should get deactive.....n Add button position should not change..

thanks in advance.

hello experts,

how to deactivate button after click???

there are 2 buttons

Download | Add

now if i click on download the download button should get deactive.....n Add button position should not change..

thanks in advance.

3 REPLIES 3
Read only

Former Member
0 Likes
552

Hi,

<b>pls try to use loop at screen.</b>.

if needed i will send you the coding :

<b>reward pts if found usefull :)</b>

Regards

Sathish

Read only

former_member194669
Active Contributor
0 Likes
552

Hi,

1. Declare an internal table of type sy-ucomm. i.e.

DATA : it_fcode TYPE TABLE OF sy-ucomm.

2. Append Function Codes of the options in the Menu that you want to deactivate to the above declared internal table. For e.g. If DWL & ADD are the Function Codes of options that need to be deactivated then,

APPEND 'DWL' TO it_fcode.

APPEND 'ADD' TO it_fcode.

3. Set PF_-Status as shown below.

SET PF-STATUS 'status_name' EXCLUDING it_fcode.

4. Now, the options in the menu bar with Function Codes 'DWL' & 'ADD' will be deactivated.

aRs

pOINTS ARE ALWAYS WELCOME

Read only

Former Member
0 Likes
552

hello experts,

any other suggestion?