T4S4  18.2 C7549 A21431
Teamcenter Gateway for SAP S/4HANA API Reference
CONFIGURATION::MANAGER::Util Namespace Reference

Commands to receive and edit the configuration. More...

Functions

 applyConfiguration
 Stores all edited settings permanently, i.e. writes those settings to the tpds.overlay. More...
 
 assureConfigIsLoadedInSHM
 Checks if CONFIG.SETUP.BASE is already existing in the shared memory, otherwise it is loaded. More...
 
 discardConfiguration
 Discards temporary changes, i.e. edited settings that have not been applied yet and reloads the settings from the configuration files. More...
 
 getConfigKey key
 Gets the currently configured value of a certain setting from CONFIG.SETUP.BASE. More...
 
 getCurrentConfig
 Returns the temporary configuration stored in CONFIG.SETUP.BASE. More...
 
 setConfigKey key value
 Sets a value for a given key of CONFIG.SETUP.BASE temporarily. More...
 

Detailed Description

Commands to receive and edit the configuration.

Function Documentation

◆ applyConfiguration()

CONFIGURATION::MANAGER::Util::applyConfiguration

Stores all edited settings permanently, i.e. writes those settings to the tpds.overlay.

Parameters
none
Returns
nothing

References assureConfigIsLoadedInSHM().

◆ assureConfigIsLoadedInSHM()

CONFIGURATION::MANAGER::Util::assureConfigIsLoadedInSHM

Checks if CONFIG.SETUP.BASE is already existing in the shared memory, otherwise it is loaded.

Parameters
none
Returns
nothing

References tpco_shmexists().

Referenced by applyConfiguration(), and getCurrentConfig().

◆ discardConfiguration()

CONFIGURATION::MANAGER::Util::discardConfiguration

Discards temporary changes, i.e. edited settings that have not been applied yet and reloads the settings from the configuration files.

Parameters
none
Returns
nothing

References tpco_shmdelete(), and tpco_shmexists().

◆ getConfigKey()

◆ getCurrentConfig()

CONFIGURATION::MANAGER::Util::getCurrentConfig

Returns the temporary configuration stored in CONFIG.SETUP.BASE.

Parameters
none
Returns
Content of CONFIG.SETUP.BASE
2  puts "[lindex $setting 0] is set to [lindex $setting 1]"
3 }

References assureConfigIsLoadedInSHM(), and tpco_shmget().

Referenced by getConfigKey(), and setConfigKey().

◆ setConfigKey()