cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Button in VA02

Former Member
0 Kudos

Hi,

My requirement is to disable a button which is present on one tab of a screen at header level on a particular condition .Button is not present on additional data tab A and B.So,is there is any way ,by which we can achive it.

I tried with USEREXIT_FIELD_MODIFICATION,but still not able to disable it.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I am giving the code how to disable standard fields using user-exit.

u can disable fields in VA02 by using user exit MV45AFZB.

inside the user-exit write down this code.

if vbak-vbeln eq <value> and sy- tcode eq VA02.

call transaction VA03 and skip first screen.

leave to screen (screen number of VA03).

endif.

Former Member
0 Kudos

Hi,

Try with transaction and Screen variant concept.

use the tcode:SHD0 (SHD zero)

identify the program(Screen) and screen number

Activate the standard variant.

Thanks and regards

Saju.S