Hierarchy

⤷

⤷

IMG Activity
ID | BD_SRM_ECM_NODENAME | BAdI: Restrict Node Name |
Transaction Code | S_YI2_53000001 | (empty) |
Created on | 20090514 | |
Customizing Attributes | BD_SRM_ECM_NODENAME | BAdI: Restrict Node Name |
Customizing Activity | BD_SRM_ECM_NODENAME | BAdI: Restrict Node Name |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | BD_SRM_ECM_NODENAME_CONSTRAINT |
This Business Add-In (BAdI) is used for the constraint of node names in the Records Management (RM) application component to use the Enterprise Content Management Integration Layer (ECMI).
The names to be displayed in the form of folders and files on the SAP NetWeaver Portal Drive are the names read from corresponding attributes of RM instances from the backend. These names created in RM may have various sets of illegal characters (either windows or ECMI) and variable lengths.
The method APPLY_NODE_NAME_CONSTRAINT is used to apply constraints (removing illegal characters and restricting the length to the ECMI-specific length) on the name and to keep business semantics in ECMI intact. The extensions and sequence numbers are out of scope and need to be handled by the caller or a wrapper method.
Parameters
Parameter Type Associated Type Description
IV_NAME Importing String Name as retrieved from RM
IV_WEBDAVNAME_ATTR Importing String Attribute to be used for WebDAV name
OV_WEBDAV_NAME Exporting SRM_ECM_NODE_NAME Name compliant with given constraints
OT_RETURN Exporting BAPIRET2_T Return parameter table
Exceptions are available in CX_SRM_ECM_APPL_LOG.
Example
Requirements
Standard settings
A fallback class CL_SRM_ECM_HIER_UTILS_FB is called when there is no implementation for the BAdI.
The algorithm to apply node name constraints is based on the phonetic approach. Any illegal characters and special names that the portal drive UI does not allow are removed. After each step, the length is checked until the criterion is met.
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 |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20091014 |
SAP Release Created in | 703 |