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 button programmatically

Former Member
0 Likes
717

Hello,

Is it possible to disable the "Reject document" button from the header of the sales orders (tx-va02). I need to disable it programaticaly (user exit, ...)

Thanks,

Ricard.

4 REPLIES 4
Read only

roberto_vacca2
Active Contributor
0 Likes
678

Hi.

Solutions maybe MV45AFZZ  user-exit or explicit enhancement.

Try it. Hope to help.

Bye

Read only

Former Member
0 Likes
678

try to use  tcode  SHD0 to disable

Read only

Former Member
0 Likes
678

Hi,

I tried with MV45AFZZ but i can't "catch" the button to disable it. On the other hand, shd0 does not work, button still appears.

Thanks,

Ricard.

Read only

0 Likes
678

If you want to disable phisically the button, you can disable it only from the PBO of your screen. For this kind of purpose you should use an implicit enhancement but that's not a good solution in time. You should catch the sy-ucomm from MV45AFZZ or from the BADI, at user-command and stop user action.