SAP ABAP IMG Activity PK_REVERSAL (BAdI: Canceling Kanbans)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       MD05 (Package) Development class KANBAN
IMG Activity
ID PK_REVERSAL BAdI: Canceling Kanbans  
Transaction Code S_KA5_12001385   (empty) 
Created on 20021220    
Customizing Attributes PK_REVERSAL   BAdI: Canceling Kanbans 
Customizing Activity PK_REVERSAL   BAdI: Canceling Kanbans 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name PK_REVERSAL    

Use

This Business Add-In (BAdI) is used in component Kanban (PP-KAB)

You can use this BAdI to cancel kanbans. This means that it is possible to execute user-specific checks and functions when a kaban's status changes in the case of a cancellation, without changing the standard data.

Requirements

Standard settings

The Business Add-In is not called until all of the other cancellation activities have been executed and before the modified kanban data is posted. This means that when the BAdI is called, the system knows whether the processing involved in cancellation has been executed successfully, or whether the kanban has been set to status Errors.

The method of the Business Add-Ins only has import parameters, therefore it cannot influence the kanban processing by changing any data. Since the call comes before the kanban data is updated, the data cannot be changes in the database.

Once the implementation has been activated, the system calls this BAdI at every cancellation activity without any extra Customizing settings.

Recommendation

If other updates are made in the Business Add-In method, then the statement "COMMIT WORK" must not be executes. The COMMIT WORK command occurs at the end of the processing in the calling program.

Activities

Create an implementation of the Business Add-Ins and implement interface method IF_EX_PK_REVERSAL~EXIT_REVERSAL. Activate the implementation.

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 3   Nonrequired 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 PK_REVERSAL 0 HLA0006760 KANBAN 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20030120 
SAP Release Created in 470