SAP ABAP IMG Activity WCFV_DC_PARAM (Define Parameters for Shared Data Container)
Hierarchy
WEBCUIF (Software Component) SAP Web UI Framework
   CA-WUI (Application Component) WebClient UI
     WCF_IMG_STRUCTURE (Package) Structure and Activities for WEBCUIF IMG
IMG Activity
ID WCFV_DC_PARAM Define Parameters for Shared Data Container  
Transaction Code S_A0F_96000107   (empty) 
Created on 20090811    
Customizing Attributes WCFV_DC_PARAM   Define Parameters for Shared Data Container 
Customizing Activity WCFV_DC_PARAM   Define Parameters for Shared Data Container 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name WCFV_DC_PARAM    

Use

In this Customizing activity, you can make settings for the shared data container available for configuring guided activity pages. You can use the shared data container to enable the sharing of objects from the business object layer (BOL) between the step views within a guided activity page.

In this Customizing activity, you define a data context parameter for each BOL object that you want to add to the shared data container. Without this parameter, you cannot add a BOL object to the shared data container.

The shared data container is connected to the attribute DATA_CONTEXT of the interface IF_BSP_DLC_TBUI. As soon as a step view has been bound, the attribute DATA_CONTEXT is available in the view controller of the step view, provided that the view controller has implemented interface IF_BSP_DLC_TBUI.

The attribute DATA_CONTEXT provides the following methods:

  • SET_SHARED_DATA

    This method is used for adding BOL objects to the shared data container.

  • GET_SHARED_DATA

    This method is used for accessing BOL objects that are located in the shared data container.

Requirements

Standard settings

Activities

You can assign a data context parameter to multiple BOL objects. If the input parameter IV_REPLACE_EXISTING of method SET_SHARED_DATA is set to FALSE, you can add multiple BOL objects that are assigned to the same data context parameter to the shared data container.

By default, the input parameter IV_REPLACE_EXISTING is set to TRUE. If the parameter is set to TRUE, an existing entry in the shared data container is overwritten by a new entry to the shared data container, if the new entry has the same data context parameter assigned to it.

To retrieve all entities in the shared data container that are assigned to the same data context parameter, you can use input parameter IV_RETURN_COLLECTION in method GET_SHARED_DATA.

Example

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
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 WCFV_DC_PARAM 0 PNF0000011 WebClient UI 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
WCFV_DC_PARAM V - View SM30  
History
Last changed by/on SAP  20090821 
SAP Release Created in 701