SAP ABAP IMG Activity S_CLB_ITEM_FACT (BAdI: StreamWork Item Factory)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-STW (Application Component) Social Media ABAP Integration Library
     S_STW_OL_COMMON (Package) Common Objects and def. of the Object Layer (comp. mode)
IMG Activity
ID S_CLB_ITEM_FACT BAdI: StreamWork Item Factory  
Transaction Code S_YI3_39000141   (empty) 
Created on 20120806    
Customizing Attributes S_CLB_ITEM_FACT   BAdI: StreamWork Item Factory 
Customizing Activity S_CLB_ITEM_FACT   BAdI: StreamWork Item Factory 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name STW_ITEM_FACTORY2    

Use

The Item Factory creates items. These items handle the various content types that are used within SAP Jam groups: Texts, tables, discussions, and file items are prominent examples.

SAIL does not support every SAP Jam item type out of the box and this is also not planned for the future. For example, SAP Jam might provide a new item type after SAIL has been delivered.

The BAdI implementations are not the classes that represent certain item types but rather factory classes that know how to create the classes that represent the item types. The item type to be created is identified as an importing parameter of the factory class.
These factory classes are distinguished using a SCOPE filter. The SCOPE value must be an application context as specified in view CLBV_APPLI_CONT.

Requirements

Standard settings

The default implementation uses the scope SAIL as a filter value:
This implementation is familiar with some basic item types, and at the very end - even if none of these basic types match the criteria - it delivers a generic item that provides the most basic attributes of an item.

Activities

For creating and using your own item types, proceed as follows:

  • Implement the item type.
  • Implement a class factory.
  • Define a scope value.
  • Add these as a BAdI implementation.

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 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20120806 
SAP Release Created in 740