Entering content frame

Process documentationUsing Additional Filters Locate the document in its SAP Library structure

Purpose

You can create filter for general checks in the standard SAP System. You can use these additional filters to select product data for enterprise-specific checks. You can set up a filter for each object (for example, material or document) which data is read and displayed.

Example

You define a filter that only selects documents that have the name Smith as the author or person responsible.

Prerequisites

You must create a program for enterprise-specific filters. The program’s interface must be identical to the example program RCPDMEXTENDEDFILTERTEMPLATE .

Caution

Do not change the interface of the example program.

Process

  1. Display the source text of the example program RCPDMEXTENDEDFILTERTEMPLATE .
  2. This program contains a FORM routine for each object. You can take the parameters you require from this routine.

    Verify the interface of the FORM routine that you want to use to execute enterprise-specific filter checks, for example for documents FORM CHECK_DOCUMENT .

  3. Create the enterprise-specific filter program in the following steps:

Example

You only want documents to be filtered that have the person responsible as Smith:
check document_data-dwnam ne 'SMITH'

  1. Edit the filter you want to use to select enterprise-specific product data.

Example

Program name: Z_FILTER_DOC_SPECIALIST

FORM routine: SPECIALIST_CHECK_DOCUMENT

  1. Activate the enterprise-specific filter.

Result

The system runs a filter check all the way to the deepest explosion level when you start an explosion. On product data is returned that meets the criteria of the general and enterprise-specific filter checks.

Leaving content frame