T4S4  19.1 C8540 A23673
Teamcenter Gateway for SAP S/4HANA API Reference
T4S::VARIANT::CUSTOM::TOOLBOX::MAPPING Namespace Reference

Functions

 checkOptionTransfer4Skipped TransactionId SourceObjectInfo TargetTypeName strFamilyType ?intFamilyPositionIndex? args
 Customer specific object mapping function template for family/characteristic transfer skips. This function can be used to deside wheter the transfer (create/update) to SAP should be skipped or not. More...
 
 getConfigurationProfileName TransactionId SourceObjectInfo TargetTypeName args
 Customer specific object mapping function template for getting the configuration profile name. More...
 
 getFamilyObjectId TransactionId SourceObjectInfo TargetTypeName Cfg0Family args
 Customer specific object mapping function template for getting the object ID for a given TC family. More...
 
 getMaterialNumber4ProdConfContext TransactionId SourceObjectInfo TargetTypeName Cfg0ConfiguratorPerspective Cfg0ContextObjectType args
 Customer specific object mapping function template to get the material number for the Material Master Variant Class assignment. More...
 
 getSapVariantClassType TransactionId SourceObjectInfo TargetTypeName args
 Customer specific object mapping function template to get the SAP variant class type. More...
 
 getTcOptionValue TransactionId SourceObjectInfo TargetTypeName intTcValuePositionIndex FamilyDataType ?OptionValueType? args
 Customer specific object mapping function template for getting the value for a given family value index. More...
 
 mapConfigurationProfile TransactionId SourceObjectInfo TargetTypeName Cfg0ConfiguratorPerspective Cfg0ContextObjectType args
 Customer specific object mapping function template to map the SAP configuration profile related data. More...
 

Function Documentation

◆ checkOptionTransfer4Skipped()

T4S::VARIANT::CUSTOM::TOOLBOX::MAPPING::checkOptionTransfer4Skipped   TransactionId SourceObjectInfo TargetTypeName strFamilyType ?intFamilyPositionIndex? args  

Customer specific object mapping function template for family/characteristic transfer skips. This function can be used to deside wheter the transfer (create/update) to SAP should be skipped or not.

Parameters
TransactionIdUnique ID for the transfer transaction
SourceObjectInfosource object information dict structure
TargetTypeNameSpecified transaction target type name for generic TC object transfer
strFamilyTypeTC family type (e. g. Cfg0LiteralValueFamily or Cfg0ProductModelFamily)
intFamilyPositionIndex- TcData Index of the actual processed TC family - Optional (default = Empty) Must be be provided during a TC product item/dictionary transfer
Returns
MappingStatus used by the following transfer function. The following values are valid:
  • OK T4S will continue with the next transfer step
  • SKIPPED T4S will skip the transfer to SAP

◆ getConfigurationProfileName()

T4S::VARIANT::CUSTOM::TOOLBOX::MAPPING::getConfigurationProfileName   TransactionId SourceObjectInfo TargetTypeName args  

Customer specific object mapping function template for getting the configuration profile name.

Parameters
TransactionIdUnique ID for the transfer transaction
SourceObjectInfosource object information dict structure
TargetTypeNameSpecified transaction target type name for generic TC object transfer
Returns
Configuration Profile Name

◆ getFamilyObjectId()

T4S::VARIANT::CUSTOM::TOOLBOX::MAPPING::getFamilyObjectId   TransactionId SourceObjectInfo TargetTypeName Cfg0Family args  

Customer specific object mapping function template for getting the object ID for a given TC family.

Parameters
TransactionIdUnique ID for the transfer transaction
SourceObjectInfosource object information dict structure
TargetTypeNameSpecified transaction target type name for generic TC object transfer
Cfg0FamilyTC family
Returns
FamilyObjectId

◆ getMaterialNumber4ProdConfContext()

T4S::VARIANT::CUSTOM::TOOLBOX::MAPPING::getMaterialNumber4ProdConfContext   TransactionId SourceObjectInfo TargetTypeName Cfg0ConfiguratorPerspective Cfg0ContextObjectType args  

Customer specific object mapping function template to get the material number for the Material Master Variant Class assignment.

Parameters
TransactionIdUnique ID for the transfer transaction
SourceObjectInfosource object information dict structure
TargetTypeNameSpecified transaction target type name for generic TC object transfer
Cfg0ConfiguratorPerspective
Cfg0ContextObjectType
Returns
Material number

◆ getSapVariantClassType()

T4S::VARIANT::CUSTOM::TOOLBOX::MAPPING::getSapVariantClassType   TransactionId SourceObjectInfo TargetTypeName args  

Customer specific object mapping function template to get the SAP variant class type.

Parameters
TransactionIdUnique ID for the transfer transaction
SourceObjectInfosource object information dict structure
TargetTypeNameSpecified transaction target type name for generic TC object transfer
Returns
SAP variant class type

◆ getTcOptionValue()

T4S::VARIANT::CUSTOM::TOOLBOX::MAPPING::getTcOptionValue   TransactionId SourceObjectInfo TargetTypeName intTcValuePositionIndex FamilyDataType ?OptionValueType? args  

Customer specific object mapping function template for getting the value for a given family value index.

Parameters
TransactionIdUnique ID for the transfer transaction
SourceObjectInfosource object information dict structure
TargetTypeNameSpecified transaction target type name for generic TC object transfer
intTcValuePositionIndex
FamilyDataType
OptionValueTypeOptional (Default Cfg0LiteralOptionValue)
Returns
Tc Option Value

◆ mapConfigurationProfile()

T4S::VARIANT::CUSTOM::TOOLBOX::MAPPING::mapConfigurationProfile   TransactionId SourceObjectInfo TargetTypeName Cfg0ConfiguratorPerspective Cfg0ContextObjectType args  

Customer specific object mapping function template to map the SAP configuration profile related data.

Parameters
TransactionIdUnique ID for the transfer transaction
SourceObjectInfosource object information dict structure
TargetTypeNameSpecified transaction target type name for generic TC object transfer
Cfg0ConfiguratorPerspective
Cfg0ContextObjectType
Returns
SAP variant class type