Ansicht
Dokumentation

BADI_DMS_MDOC - BAdI: Enhancements for SAP Document Center

BADI_DMS_MDOC - BAdI: Enhancements for SAP Document Center

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

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

You can use this BAdI to enhance the following features of SAP Document Center:

  • Hierarchy structure of SAP Document Center
  • Default storage category to create documents
  • Root folders of the hierarchy
  • Document name

This BAdI is created under Enhancement Spot ES_DMS_MDOC.

This BAdI definition uses the standard interface IF_EX_DMS_MDOC.

The following methods have been defined in the BAdI:

  • GET_DIR_HIERARCHY_STRUCTURE
This method is used to customize the hierarchy structure of SAP Document Center.
By default, the public and private folders of the user appear as in document browser transaction.
If the user wants to modify the folder structure depending on his work requirements, this BAdI method can be implemented.
This method uses the following parameters:
Importing Parameters:
IS_MDOC_PROFILE:
This parameter contains SAP Document Center profile information.
IS_DIR_KEY:
This parameter contains the document info record (DIR) information of the top most folder in the hierarchy.
Changing Parameters:
ET_DOCUMENTFILES:
This parameter returns the original application files for the DIR key.
ET_DOCUMENTSTRUCTURE:
This parameter returns the hierarchy structure for the DIR key.
  • GET_DFLT_STORAGE_CATEGORY
This method is used to change the storage category during the creation of a document. The default storage category is the value maintained in the Customizing Profile Settings for SAP Document Centerunder Cross Applications-> Document Management-> Integration with SAP Document Center
This method uses the following parameters:
Importing Parameter:
IS_MDOC_PROFILE:
This parameter contains SAP Document Center profile information.
Changing Parameter:
CV_STORAGE_CAT:
This parameter returns the updated storage category.
  • GET_ROOT_FOLDERS
This method is used to modify the root folders in SAP Document Center repository.
This method uses the following parameters:
Importing Parameter:
IS_MDOC_PROFILE:
This parameter contains SAP Document Center profile information.
Changing Parameter:
CT_DIR_ROOT_FOL_KEYS:
This parameter returns the document keys for all the root folders.
  • GET_DOCUMENT_NAME
This method allows you to customize the name of the files that appears on the user interface.
This method uses the following parameters:
Importing Parameter:
IS_DIR_KEY:
This parameter contains the document info record (DIR) information of folders.
IS_DIR_FILE_KEY:
This parameter contains the document info record (DIR) information of files.
Changing Parameter:
CV_NAME:
This parameter returns the customized name of the file.






ABAP Short Reference   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 4627 Date: 20240523 Time: 223223     sap01-206 ( 45 ms )