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

Delete ABAP Program Variant

Former Member
0 Likes
416

Hi,

Is there a way to block users from deleting the variants in an ABAP program?

The PROTECTED flag only protects against any changes...but allows deletion..strange!!!!

1 ACCEPTED SOLUTION
Read only

former_member156446
Active Contributor
0 Likes
384

Hi there

in VARID - SECU ( Authorization Group ) hope by some means you can use it.

2 REPLIES 2
Read only

Former Member
0 Likes
384
AT SELECTION-SCREEN.
  CASE sy-ucomm .
  WHEN 'VDEL' .
  MESSAGE 'Variant cannot be deleted' TYPE 'E'.
ENDCASE.
Read only

former_member156446
Active Contributor
0 Likes
385

Hi there

in VARID - SECU ( Authorization Group ) hope by some means you can use it.