SAP ABAP IMG Activity DOCUMENT_STATUS02 (BAdI: Change Document Status (can be used more than once))
Hierarchy
BBPCRM (Software Component) BBPCRM
   CA-DMS (Application Component) Document Management System
     CV (Package) Application Development: R/3 Document Management
IMG Activity
ID DOCUMENT_STATUS02 BAdI: Change Document Status (can be used more than once)  
Transaction Code S_EBJ_98000073   (empty) 
Created on 20120529    
Customizing Attributes DOCUMENT_STATUS02   BAdI: Change Document Status (can be implemented more than once) 
Customizing Activity DOCUMENT_STATUS02   BAdI: Change Document Status (can be implemented more than once) 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name DOCUMENT_STATUS02    

Use

This Business Add-In (BAdI) is used in the Document Management (CA-DMS) component.

This BAdI enables you to overwrite the SAP standard system response for manually setting or deleting the document status. This BAdI can be used several times, for example, to implement additional authorization checks that check whether a user is authorized to set a new status or delete the current status when the document status is changed.

If you want to cancel the status change in the Business-Add-In method (BAdI method) AFTER_CHANGE_STATUS , trigger the exception CANCEL.

Requirements

Standard settings

For more information about the standard settings (filters, single or multiple use), see the Enhancement Spot Element Definitions tab page in the BAdI Builder (transaction SE18).

Activities

For information on how to implement the BAdIs in the enhancement framework, see the SAP Library of the SAP NetWeaver Platform on the SAP Help portal at http://help.sap.com/nw_platform. Choose a Release and then Application Help. In the SAP Library, choose SAP NetWeaver library: Function-Based View --> Application Server --> Application Server ABAP --> Application Development on AS ABAP --> ABAP Customer Development --> Enhancement Framework.

Example

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 DOCUMENT_STATUS02 0 HLB0006401 Document Management System 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20120529 
SAP Release Created in 607