Show TOC

Function documentationLinking Documents with Application Objects

 

You can link documents with any number of application objects.

Prerequisites

For an application object that is integrated with the Document Management Service, the following details must be defined in Customizing:

  • Document types that use the application object

  • Function module for determining the where-used list for a document

  • Function module that checks if the document is used in an application object

    The module is called before the deletion or archiving of a document.

  • Optional: a function module that displays the application object when the where-used list is called

Features

The link is made possible by the integration of the interfaces of the Document Management Service with the application objects.

Links between documents and application objects can be stored and accessed centrally or on an application-specific basis. For individual application objects, you can decide if you want to use the application-specific link or the central link.

You integrate this central management of links in your individual applications using Application Programming Interfaces (APIs). The following functions are supported:

  • Create

    Using the function module FKKDMS_CONNECTION_INSERT, you can link documents or unprinted correspondence with an application object. After the correspondence is printed using the print workbench or correspondence history, the system automatically adds the correspondence to the Document Management Service. You can use the function module FKKDMS_CONNECTION_INSERT to link correspondence with an application object even before the correspondence is printed. After the correspondence is printed, and thereby added to the Document Management Service, the system automatically updates the links with the information about the documents.

  • Delete

    You can use the function module FKKDMS_CONNECTION_DELETE to delete links between application objects and documents.

  • Selection

    Using the function module FKKDMS_CONNECTION_SELECT, you can select documents that are linked to an application object.

Activities

If you do not want to use the central function for linking documents, define the following in Customizing by choosing Start of the navigation path Basic Functions Next navigation step Document Management Service Next navigation step Define Application Objects End of the navigation path:

  • A function module that checks if a document can be deleted.

    A document cannot be deleted if it is used by an application object, for example.

  • A function module that returns information as to which application objects use a document.