SAP ABAP IMG Activity /AIN/PRF000001 (BAdI: Profile Deletion Check)
Hierarchy
AIN (Software Component) AIN 710: Add-On Installation
   AIE-AII (Application Component) Infrastructure
     /AIN/ACTIVITIES (Package) Auto-ID Activities
IMG Activity
ID /AIN/PRF000001 BAdI: Profile Deletion Check  
Transaction Code /AIN/71000027   (empty) 
Created on 20050822    
Customizing Attributes /AIN/PRF000001   Check If Profiles Can Be Deleted 
Customizing Activity /AIN/PRF000001   Check If Profiles Can Be Deleted 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /AIN/PRF000001    

Use

This Business Add-In (BAdI) is used to prevent the deletion of profiles in Customizing. You only use this BAdI if you create custom profiles that you then use in a custom-developed application. SAP delivered profiles and processes are automatically protected.

You do not need to implement this BAdI:

  • To prevent the deletion of SAP delivered profiles
  • To prevent the deletion of custom profiles used in an SAP delivered application process

You do not have to implement this BAdI, if you have created a profile and used it in, say, the printing functionality (for example, assigned the profile to GTIN and filter value). SAP Auto-ID Infrastructure (SAP AII) will not allow the deletion of such a profile. However, if you want to use a profile for an custom developed application, then you should implement this BAdI.

Although you can implement this BAdI to prevent the deletion of any customized profiles that you have created, it is primarily for internal use by SAP.

Requirements

You have developed one or more custom profiles that you use in custom-developed applications.

Standard settings

The following active implementations of this BAdI are delivered:

  • /AIN/ID_PRF000001

    This implementation prevents the deletion of any profiles that have been used in ID Customizing.

  • /AIN/PRN_PRF000001

    This implementation prevents deletion of profiles that have been used in tag commissioning / label printing

Activities

Example

The BAdI is always invoked when you try to delete a profile from Customizing. The process works as follows: someone attempts to delete a set of profiles from Customizing. The BAdI is then invoked and the list of profiles is passed to the BAdI implementation. If the system creates an error, the error message is displayed to the user and the profiles are not deleted.

See also

Methods

IS_PROFILE_DELETABLE

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG /AIN/PRF000001 0 /AIN/R4D0000002 Application 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20070221 
SAP Release Created in 400