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

Functions

 getObjectInfo TransactionId TargetTypeName ObjectKey args
 Customer specific Mapping function to retrieve the object information from SAP. More...
 
 getTcData2 ObjectClass ObjectType ObjectTag ObjectId ObjectRevisionId args
 This function is called to extract the Teamcenter Schedule data for a given object tag, the resulting Tc data is stored in the TcData buffer. More...
 
 SAP_Schedule2TC_Object TransactionId SourceObjectInfo TargetTypeName ResultStatus ObjectKey args
 Customer specific Schedule reverse mapping function template. More...
 
 TC_Object2SAP_Network TransactionId SourceObjectInfo TargetTypeName args
 Customer specific mapping function template for the transfer of Teamcenter schedule data to the corresponding SAP Network. More...
 
 TC_Object2SAP_ProjectDefinition TransactionId SourceObjectInfo TargetTypeName args
 Customer specific mapping function template for the transfer of Teamcenter schedule data to the corresponding SAP Project Definition. More...
 
 TC_Object2SAP_Schedule TransactionId SourceObjectInfo TargetTypeName args
 Customer specific mapping function template for the transfer of Teamcenter schedule data to the corresponding. More...
 
 TC_Object2SAP_WBSElement TransactionId SourceObjectInfo TargetTypeName args
 Customer specific mapping function template for the transfer of Teamcenter schedule data to the corresponding SAP Network. More...
 

Variables

 MappingInformation
 

Function Documentation

◆ getObjectInfo()

T4S::SCHEDULE::CUSTOM::MAPPING::getObjectInfo   TransactionId TargetTypeName ObjectKey args  

Customer specific Mapping function to retrieve the object information from SAP.

Parameters
TransactionIdunique ID for the transfer transaction
TargetTypeNamespecified transaction target type name for generic TC object transfer
ObjectKeySAP object id information
argsnot used
Returns
OK

◆ getTcData2()

T4S::SCHEDULE::CUSTOM::MAPPING::getTcData2   ObjectClass ObjectType ObjectTag ObjectId ObjectRevisionId args  

This function is called to extract the Teamcenter Schedule data for a given object tag, the resulting Tc data is stored in the TcData buffer.

Parameters
ObjectTagof the Tc Schedule.
argsnot used
Returns
ITK_ok (=0) or List of ITK status and error message.

◆ SAP_Schedule2TC_Object()

T4S::SCHEDULE::CUSTOM::MAPPING::SAP_Schedule2TC_Object   TransactionId SourceObjectInfo TargetTypeName ResultStatus ObjectKey args  

Customer specific Schedule reverse mapping function template.

Parameters
TransactionIdunique ID for the transfer transaction
SourceObjectInfosource object information dict structure
TargetTypeNamespecified transaction target type name for generic TC object transfer
ResultStatusTransfer Status The following values are valid:
  • SKIPPED the transfer was skipped
  • ERROR the transfer was stopped by an error
  • UNKNOWN the transfer was stopped by an unknown error
  • UPDATED_WITH_ERROR the transfer was stopped by an minor error in one of the additional transfer steps
  • CREATED, CHANGED, UPDATED and some other values are used for a successful transfer
ObjectKeySAP object id information
argsnot used
Returns
MappingStatus used by the following Tc object update function. The following values are valid:
  • OK T4S will update the Tc object based on the reverse mapping preferences and the reverse mapping buffer.
  • SKIPPED T4S will skip the TcData object
  • ERROR T4S will stop transfer and raise an error

◆ TC_Object2SAP_Network()

T4S::SCHEDULE::CUSTOM::MAPPING::TC_Object2SAP_Network   TransactionId SourceObjectInfo TargetTypeName args  

Customer specific mapping function template for the transfer of Teamcenter schedule data to the corresponding SAP Network.

Parameters
TransactionIdunique ID for the transfer transaction
SourceObjectInfosource object information dict structure
TargetTypeNamespecified transaction target type name for generic TC object transfer
argsnot used
Returns
MappingStatus used by the following transfer function. The following values are valid:
  • OK T4S will continue with the next transfer step
  • REVERSEMAPPINGONLY T4S will skip the transfer to SAP and will just do the reverse mapping
  • SKIPPED T4S will skip the transfer to SAP
  • ERROR T4S will stop transfer and raise an error

◆ TC_Object2SAP_ProjectDefinition()

T4S::SCHEDULE::CUSTOM::MAPPING::TC_Object2SAP_ProjectDefinition   TransactionId SourceObjectInfo TargetTypeName args  

Customer specific mapping function template for the transfer of Teamcenter schedule data to the corresponding SAP Project Definition.

Parameters
TransactionIdunique ID for the transfer transaction
SourceObjectInfosource object information dict structure
TargetTypeNamespecified transaction target type name for generic TC object transfer
argsnot used
Returns
MappingStatus used by the following transfer function. The following values are valid:
  • OK T4S will continue with the next transfer step
  • REVERSEMAPPINGONLY T4S will skip the transfer to SAP and will just do the reverse mapping
  • SKIPPED T4S will skip the transfer to SAP
  • ERROR T4S will stop transfer and raise an error

◆ TC_Object2SAP_Schedule()

T4S::SCHEDULE::CUSTOM::MAPPING::TC_Object2SAP_Schedule   TransactionId SourceObjectInfo TargetTypeName args  

Customer specific mapping function template for the transfer of Teamcenter schedule data to the corresponding.

Parameters
TransactionIdunique ID for the transfer transaction
SourceObjectInfosource object information dict structure
TargetTypeNamespecified transaction target type name for generic TC object transfer
argsnot used
Returns
MappingStatus used by the following transfer function. The following values are valid:
  • OK T4S will continue with the next transfer step
  • REVERSEMAPPINGONLY T4S will skip the transfer to SAP and will just do the reverse mapping
  • SKIPPED T4S will skip the transfer to SAP
  • ERROR T4S will stop transfer and raise an error

◆ TC_Object2SAP_WBSElement()

T4S::SCHEDULE::CUSTOM::MAPPING::TC_Object2SAP_WBSElement   TransactionId SourceObjectInfo TargetTypeName args  

Customer specific mapping function template for the transfer of Teamcenter schedule data to the corresponding SAP Network.

Parameters
TransactionIdunique ID for the transfer transaction
SourceObjectInfosource object information dict structure
TargetTypeNamespecified transaction target type name for generic TC object transfer
argsnot used
Returns
MappingStatus used by the following transfer function. The following values are valid:
  • OK T4S will continue with the next transfer step
  • REVERSEMAPPINGONLY T4S will skip the transfer to SAP and will just do the reverse mapping
  • SKIPPED T4S will skip the transfer to SAP
  • ERROR T4S will stop transfer and raise an error

Variable Documentation

◆ MappingInformation

MappingInformation
static