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

Disable Screen Elements & Application toolbar elements!

Former Member
0 Likes
869

Hi All,

Just a quick requirement.

I'm using 4 buttons on Application tool bar. And 4 buttons on Screen.

Once i click on any particular button, it should run few subroutines using Perform based on my requirements and once the processing is completed i need to disable all the 4 Application Tool bar buttons as well as Screen element buttons.

Thus, not allowing the user to perform the similar action repeatedly.

Please help to input your earliest suggestions.

Points guaranteed for your precious time

Thank you!

Regards,

Sundar.

6 REPLIES 6
Read only

Former Member
0 Likes
839

Hi,

i think you can create another screen with the same kind of nature of the

previous screen and dont give the buttons in that screen

if the user want to come back to original screen

give the previous screen name and set it

reward points if helpful

thanks & regards,

venkatesh

Read only

0 Likes
839

Hi,

My output is an ALV Grid.

On the ALV grid screen, the 4 buttons are used in Application toolbar, and other 4 on screen.

My requirement is to "Gray Out" (disable) all the buttons once the processiing is done.

Thanks!

Rgds,

Sundar.

Read only

Former Member
0 Likes
839

Hi

Based on your requirement, you need to

<b>LOOP AT SCREEN</b> and disable the required elements.

Regards

Raj

Read only

0 Likes
839

Raj,

Using Loop At Screen, i can disable the screen elements.

And using the f_check_functn_code_4_toolbar and filling up the internal table lit_exclude i can disable the respective Application Tool bar buttons.

But, as of now, any shortcuts available? Any tricks n tips?

Thanks.

Rgds,

Sundar.

Read only

Former Member
0 Likes
839

Hi,

when the user is clicking the buttons for the first time then only the code should work

then put a counter

when the user clicks for the first time increase the counter

if the counter is greater than one then give a message like already action done

endif.

that is only when the counter is one then only process for the subsequent code..

other wise give an information message to user....

i hope this will work for your requirement but not exactly which you are asking...

this will not do the greying of the buttons..

thanks & regards,

venkatesh

Read only

Former Member
0 Likes
839

Done!