Ansicht
Dokumentation

WCFV_DC_PARAMETER - Define Parameters for Shared Data Container

WCFV_DC_PARAMETER - Define Parameters for Shared Data Container

CPI1466 during Backup   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

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.

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.






General Material Data   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 2278 Date: 20240523 Time: 193820     sap01-206 ( 48 ms )