Ansicht
Dokumentation

BD_SRM_ECM_NODENAME1 - BAdI: Restrict Node Name

BD_SRM_ECM_NODENAME1 - BAdI: Restrict Node Name

PERFORM Short Reference   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

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.

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.

BAPIRET2_T

BAPIRET2_T

BAPIRET2_T

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.

BAPIRET2_T

BAPIRET2_T

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

BAPIRET2_T






rdisp/max_wprun_time - Maximum work process run time   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 3433 Date: 20240524 Time: 011848     sap01-206 ( 119 ms )