Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
TiaXu
Product and Topic Expert
Product and Topic Expert
23,698

Blogs for DMS series:

Introduction of DMS

SAP Document Management Service is a content management solution on the Cloud Foundry environment of SAP BTP.

You can consume the SAP Document Management Service in different ways:

Document Management, repository option isn’t an independent offering. You can use it for storage purposes along with Document Management, integration option or Document Management, application option.

You can purchase Document Management, integration option or application option, for storage purposes, you can either connect to your own storage or use Document Management, repository option.

Your own storage should be CMIS-compliant, on-premise, or cloud repository.

Thus, you can consume the DMS by the following combination:

  • Document Management, integration option + your own storage
  • Document Management, integration option + Document Management, repository option
  • Document Management, application option + your own storage
  • Document Management, application option + Document Management, repository option

Usage of Document Management, repository option

Usage of Document Management, repository option is defined as an internal method. The Document Management Service, Repository Option can't be used as a standalone. It must be used with one of two options: Document Management Service, Application Option or Document Management Service, Integration Option.

As it's a commercial entitlement, no tiles appear in the cloud cockpit's. You should assign the entitlements of the Document Management, repository option to the same subaccount where Document Management, integration option or Document Management, application option instance is created.

In the global account, assign the entitlement to your subaccount:

Usage of Document Management, application option

Step 1: Subscribe to the Document Management, application option

In the subaccount, find the tile in the Service Marketplace:

Create an instance:

Step 2: Grant User Access

Create a new Role Collection, add corresponding scopes into it and assign the Role Collection to yourself:

  • SDMWeb_Admin
  • SDMWeb_User
  • SDMWeb_Migration

RoleRole Capabilities
SDM_Admin and SDMWeb_AdminProvide admin capabilities to a user. With admin capabilities, a user can add, sync, update, and delete repositories.
SDM_User and SDMWeb_UserProvide capabilities to use the web UI of Document Management Service, Application Option.
SDM_MigrationAdmin and SDMWeb_MigrationProvide admin capabilities to use the web UI for Document Management Migration. With admin capabilities, you can initiate the migration, check the status, and also download the logs.

Step 3: Connect to Document Management, Repository Option

In the Document Management, application option instance, select Go to Application.

You can see three different tiles:

  • Document Management that takes you to the web application for managing files and folders
  • Document Management Admin that helps the admin to manage repositories.
  • Document Management Service Migration to manage migration scenarios

Open the Document Management Admin tile, connect to Document Management, Repository Option by adding a repository:

ParameterRequiredValues
Repository TypeYesInternal
Display NameYesName of the repository that appears in the application.
DescriptionOptionalDescription of the repository.
Hashing AlgorithmOptionalLists the supported hashing algorithms to generate content hash for your documents. Choose None if you don't want to generate hash.
VersioningOptionalEnable the option if you want to maintain multiple versions of your documents.
Virus ScanOptionalEnable the option to scan the documents before you upload them. You can upload files of size up to 400 MB.
Disable for large filesOptionalThe option is available only if you enable virus scan. Enable the option to disable virus scan for file size greater than 400 MB.
CollaborationOptionalEnable the option to create collaboration repositories. For more information, see Collaboration Repositories for Shared Folders.

Step 4: Consume Document Management, application option

Open the Document Management tile, try to add folder or files as you like:

Step 5: Collaboration Repositories

Collaboration repository can create Share folder which is set as private by default. Then you can configure the access control to share with your collaborator.

More detailed information: https://help.sap.com/viewer/f6e70dd4bffa4b65965b43feed4c9429/Cloud/en-US/926d32b7cd5145acb93c4317f58...

Create a shared repository by checking Collaboration attribute as below:

Create a shared folder in the root path:

Add user to your shared folder:

Step 6: Access Application Option Repository Using API

You can access repositories onboarded via Document Management Service, Application Option through API by connecting to the instance of Document Management Service, Integration Option.

Create a Service Instance and Service Key for Document Management Service, Integration Option. For more information, see Creating a Service Instance and Service Key.

In the SAP BTP cockpit, choose Connectivity -> Destinations -> New Destination -> Service Instance.

Select the Service Instance that you created in the drop-down list. Enter the Name and Description.

Choose Next -> Save.

Open the Document Management Service admin view.

Choose the icon to edit your repository.

In the dialog box that appears, enter the destination name that you created in the field Service Instance Destination.

Choose Save to update your repository.

Consume API to connect your repository. For more information, see Connecting Your Own Repository to Document Management Service, Integration Option.

For example:

More details: https://help.sap.com/viewer/f6e70dd4bffa4b65965b43feed4c9429/Cloud/en-US/e5f4e592f37748759ecd551f3af...

References

Help Portal - SAP Document Management Service

7 Comments