Creating Flow Logic File <Product>.flow 
For each configurable product whose components you want to display dynamically, a flow logic file called <product>.flow must be created, to match template <product>.html. If you are using the standard IPC commands, this file must contain the code shown below. IPC command GetCsticsAndAllValues provides all the necessary configuration data. The data is provided as one-dimensional fields in the enhanced ITS context.
Example
|
Name of characteristic to which value is assigned | |
assignedValueNames |
Value of characteristic to which value is assigned |
The field size is determined by
assignedValueCsticNames.dim.A complete list of export parameters is can be found in the documentation on the interface description for IPC commands under GetCsticsAndAllValues. The interface description is in the API documentation for the IPC (package com.sap.spc.remote.command -> Interface GetCsticAndAllValues).
This file can be extended by adding further customer-specific IPC commands. These must be called by inserting new module blocks.
<flow>
<state name="GetCsticGraphic">
<module name="GetCsticsAndAllValues" type="IPC">
<persistent name="spc_error_code"> </persistent>
<persistent name="spc_error_message"> </persistent>
</module>
</state>
<event name="onLoad" next_state="GetCsticGraphic"> </event>
</flow>