SAP ABAP IMG Activity 0ANF_BADI_CHECK (BAdI: Check Request Master Data)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       KS0C (Package) Customizing R/3 Cost Accounting
IMG Activity
ID 0ANF_BADI_CHECK BAdI: Check Request Master Data  
Transaction Code S_AL0_96000850   (empty) 
Created on 20020207    
Customizing Attributes 0ANF_BADI_CHECK   BAdI: Checks on Request Master Data 
Customizing Activity 0ANF_BADI_CHECK   BAdI: Checks on Request Master Data 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name APPREQUEST_UPDATE    

Use

Using this Business Add-In, you can run your own checks before making changes to apppropriation requests. To do so, you use the 'AT_SAVE' and 'BEFORE_BUSINESS_TRANSACTION' methods. The 'AT_SAVE' method is called before a save, and the 'BEFORE_BUSINESS_TRANSACTION' method is called before a business transaction is performed.

The 'AT_UPDATE' method makes it possible to update additional data when an appropriation request is saved.

Requirements

Standard settings

The Business Add-In is not active in the standard system. The Business Add-In can be used more than once.

Activities

To activate the Business Add-In, you have to create an active implementation. Remember that the Business Add-In is for multiple use, and therefore all active implementations are called and run through.

Example

Note that no system messages are allowed to be sent in the 'AT_UPDATE' method. Messages are allowed to be issued in the 'AT_SAVE' and 'BEFORE_BUSINESS_TRANSACTION' methods, but only when the ERROR_WITH_MESSAGE exception is triggered at the same time.

Also note that the 'commit work' statement cannot be performed within the methods, since this would lead to data inconsistencies on the database.

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 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20020207 
SAP Release Created in 470