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

VA02

Former Member
0 Likes
471

HI guys !

On VA02 main screen in some specific situations I have to disable some buttons (ie. "Delete Item", "Create Item"). Is it possible without modifying standard? And how to do it ?

Regards

Greg

4 REPLIES 4
Read only

former_member194669
Active Contributor
0 Likes
449

Check this, may be this will help you

http://www.saptechnical.com/Tutorials/ABAP/TransactionVariant/Create.htm

(I am not 100% sure about whether this will able to disable/enable buttons, but regarding fields it is working)

a®

Read only

0 Likes
449

Thx for quick answer, but it is not working on buttons. Is quite good solution for fields. I try to use GuiXT also (I can remove "delete" button from screen), but if user mark off "Activate GuiXT" in Customize Local Layout from Menu he still could delete item.

greg

Read only

0 Likes
449

Whether can you able find any userexit in PBO of the screen to control the buttons?

or in PAI , if user clicks the button you can give an message

if you could not control (disable/enable ) buttons

a®s

Edited by: a®s on Feb 6, 2008 1:33 PM

Read only

0 Likes
449

@ a®s

Thx for your answer... I looked at user exits and found in MV45AFZB user-exit USEREXIT_CHECK_XVBAP_FOR_DELET where I can disable deletion and write a message to user. It works very fine.

greg