SAP ABAP IMG Activity BD_SRM_ECM_RM_ATTR (BAdI: Set Records Management Attribute)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-RM (Application Component) SAP Records Management
     SRM_ECM_IMPL (Package) Records Management SPI (ECM) Implementation
IMG Activity
ID BD_SRM_ECM_RM_ATTR BAdI: Set Records Management Attribute  
Transaction Code S_YI2_53000002   (empty) 
Created on 20090514    
Customizing Attributes BD_SRM_ECM_RM_ATTR   BAdI: Set Records Management Attribute 
Customizing Activity BD_SRM_ECM_RM_ATTR   BAdI: Set Records Management Attribute 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BD_SRM_ECM_RM_ATTR    

This Business Add-In (BAdI) is used in the Records Management (RM) application component to use the Enterprise Content Management Integration Layer (ECMI). The BAdI allows you to add your own attributes to the attribute tables which are set during creation of a document (for example SRM_DOCUMENT_ID).

The fallback class method (GET_ATT_LIST) checks for the connection parameter SECOND_REF_RUL which contains the generation rule name. If no generation rule is available or multiple rules are available the unique document ID is generated using the DEFAULT generation rule. This document ID is then added to the attribute table for the SRM_DOCUMENT_ID attribute.

Parameters

Parameter    Type    Associated Type

IO_SESSION_INFO    Importing    IF_NWECM_SESSION_INFO

IV_RULE_TYPE    Importing    string

IO_SRM_POID    Importing    IF_SRM_POID

OT_RETURN    Exporting    BAPIRET2_T

CT_ATTR_TBL    Changing    SRMTT_ECM_PROPERTY_REQUESTED

Exceptions are available in CX_SRM_ECM_APPL_LOG.

Example

Requirements

Standard settings

A fallback class CL_BADI_ECM_SRM_ATTR_FALLBACK is called when there is no implementation for the BAdI.

Recommendation

Activities

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

Further notes

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 BD_SRM_ECM_RM_ATTR 0 B200000302 SAP Records Management 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20091014 
SAP Release Created in 703