SAP ABAP IMG Activity CFX_SEARCH (Filter Search Results)
Hierarchy
CPRXRPM (Software Component) SAP Portfolio and Project Management 6.0
   PLM-CFO (Application Component) Collaboration Folders
     CFX_FOLDERS (Package) Collaboration Folders: Folder and Documents
IMG Activity
ID CFX_SEARCH Filter Search Results  
Transaction Code S_PTD_51000038   (empty) 
Created on 20070706    
Customizing Attributes CFX_SEARCH   Filter Search Results 
Customizing Activity CFX_SEARCH   Filter Search Results 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name CFX_SEARCH    

Use

This Business Add-In (BAdI) is used in the cFolders component.

You can use this BAdI when you are searching for objects to assign to a folder object, for example to a document or an engineering change number (ECN). The BAdI uses the method SEARCH_OBJECTS to find all objects that match the search criteria. You can then create an implementation to filter the search result list according to your own requirements. SAP delivers 3 implementations to filter the objects. These implementations must be active in order to use the search when assigning objects to documents, manufacturer part numbers (MPN), and ECNs.

Requirements

Standard settings

The following implementations are active in the standard system:

  • CFX_FILTER_DOC

    This implementation filters objects when searching for documents to assign to a folder object. It filters for document objects with the extension .pdx or .zip. This implementation is called when the values of the I_OBJ_TYPE and I_TYPE_ID parameters in the method SEARCH_OBJECTS are initial.

  • CFX_FILTER_MPN

    This implementation filters internal materials that can be attached to an MPN according to whether the user has write access.

  • CFX_SEARCH

    This implementation filters objects that can be attached to an ECN, that are not already attached to another ECN, and for which the user has write access.

The BAdI is designed for multiple use. All active implementations are called and executed.

The BAdI is not filter-dependent.

Activities

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

See also:

This BAdI uses the interface IF_EX_CFX_SEARCH. For more information, display the interface in the Class Builder.

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG CFX_SEARCH 0 JSI0000002 Collaboration Folders 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20070706 
SAP Release Created in 450_700