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

Functions

 callCustomerRuleHandler TransactionId Action RuleName ItemType ItemRevisionType args
 Customer specific Equipment BOM RuleHandler function template. More...
 
 ctrlAfterMultiTransferLoop TransactionId TransferIndex TransferStatus args
 Customer specific mapping function to control the MultiTransferLoop. This function is called after every transfer within such a loop. It can be used to perform any action in between two transfers or to cancel the loop by modified the returned status. More...
 
 ctrlAfterMultiTransferLoop_ContinueOnError TransactionId TransferIndex TransferStatus args
 Customer specific mapping function to control, if the MultiTransferLoop should continue even if there was an error in the previous transfer during the loop. More...
 
 ctrlBeforeMultiTransferLoop TransactionId TransferIndex args
 Customer specific mapping function to control the MultiTransferLoop. This function is called before every transfer within such a loop. It can be used to perform any action in between two transfers. More...
 
 getTcData ObjectTag args
 This function is called to extract the Equipment BOM data for a given BOM view tag, the resulting Tc data is stored in the TcData buffer. More...
 
 SAP_BillOfMaterial2TC_Object TransactionId Status args
 Customer specific Equipment BOM reverse mapping function template. More...
 
 TC_Object2SAP_BillOfMaterial TransactionId ItemType ItemRevisionType args
 Customer specific Equipment BOM header mapping function template. More...
 
 TC_Object2SAP_BillOfMaterialPosition TransactionId PositionIndex ItemType ItemRevisionType args
 Customer specific Equipment BOM position mapping function template. More...
 
 TC_Object2SAP_BillOfMaterialPostAction TransactionId ItemType ItemRevisionType MappingStatus args
 This function is called AFTER the general mapping and can be used to perform additional steps after the header and position mapping. More...
 

Variables

 BomPositionInfo
 

Function Documentation

◆ callCustomerRuleHandler()

T4S::EQUIBOM::CUSTOM::MAPPING::callCustomerRuleHandler   TransactionId Action RuleName ItemType ItemRevisionType args  

Customer specific Equipment BOM RuleHandler function template.

Parameters
TransactionIdunique ID for the transfer transaction
ActionWork flow action
RuleNamespecified rule name in the work flow arguments named "-user_rule". If the argument is not specified the value is "Default"
ItemType
ItemRevisionType
argsnot used
Returns
EPM_nogo or EPM_go

◆ ctrlAfterMultiTransferLoop()

T4S::EQUIBOM::CUSTOM::MAPPING::ctrlAfterMultiTransferLoop   TransactionId TransferIndex TransferStatus args  

Customer specific mapping function to control the MultiTransferLoop. This function is called after every transfer within such a loop. It can be used to perform any action in between two transfers or to cancel the loop by modified the returned status.

Parameters
TransactionIdUnique ID for the transfer transaction
TransferIndexThe MultiTransferLoop index
TransferStatusThe status of the previously performed transfer
argsNot used
Returns
Status of the transfer

◆ ctrlAfterMultiTransferLoop_ContinueOnError()

T4S::EQUIBOM::CUSTOM::MAPPING::ctrlAfterMultiTransferLoop_ContinueOnError   TransactionId TransferIndex TransferStatus args  

Customer specific mapping function to control, if the MultiTransferLoop should continue even if there was an error in the previous transfer during the loop.

Parameters
TransactionIdUnique ID for the transfer transaction
TransferIndexThe MultiTransferLoop index
TransferStatusThe status of the previously performed transfer
argsNot used
Returns
TRUE -> Loop will continue in case of an ERROR; FALSE -> Loop will stop in case of an ERROR (default)

◆ ctrlBeforeMultiTransferLoop()

T4S::EQUIBOM::CUSTOM::MAPPING::ctrlBeforeMultiTransferLoop   TransactionId TransferIndex args  

Customer specific mapping function to control the MultiTransferLoop. This function is called before every transfer within such a loop. It can be used to perform any action in between two transfers.

Parameters
TransactionIdUnique ID for the transfer transaction
TransferIndexThe MultiTransferLoop index
argsNot used
Returns
Status to control the loop (OK (=continue), SKIPPED (=skip this transfer) or ERROR (=stop loop))

◆ getTcData()

T4S::EQUIBOM::CUSTOM::MAPPING::getTcData   ObjectTag args  

This function is called to extract the Equipment BOM data for a given BOM view tag, the resulting Tc data is stored in the TcData buffer.

Parameters
ObjectTagof the BOM view that represents the WBS BOM in Tc.
argsnot used
Returns
ITK_ok (=0) or List of ITK status and error message.

◆ SAP_BillOfMaterial2TC_Object()

T4S::EQUIBOM::CUSTOM::MAPPING::SAP_BillOfMaterial2TC_Object   TransactionId Status args  

Customer specific Equipment BOM reverse mapping function template.

Parameters
TransactionIdunique ID for the transfer transaction
StatusTransfer 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
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_BillOfMaterial()

T4S::EQUIBOM::CUSTOM::MAPPING::TC_Object2SAP_BillOfMaterial   TransactionId ItemType ItemRevisionType args  

Customer specific Equipment BOM header mapping function template.

Parameters
TransactionIdunique ID for the transfer transaction
ItemType
ItemRevisionType
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_BillOfMaterialPosition()

T4S::EQUIBOM::CUSTOM::MAPPING::TC_Object2SAP_BillOfMaterialPosition   TransactionId PositionIndex ItemType ItemRevisionType args  

Customer specific Equipment BOM position mapping function template.

Parameters
TransactionIdunique ID for the transfer transaction
PositionIndexTc BOMLine index
ItemType
ItemRevisionType
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_BillOfMaterialPostAction()

T4S::EQUIBOM::CUSTOM::MAPPING::TC_Object2SAP_BillOfMaterialPostAction   TransactionId ItemType ItemRevisionType MappingStatus args  

This function is called AFTER the general mapping and can be used to perform additional steps after the header and position mapping.

Parameters
TransactionIdUnique ID for the transfer transaction
PositionIndexTc BOMLine index
ItemType
ItemRevisionType
MappingStatus
argsNot used
Returns
OK

Variable Documentation

◆ BomPositionInfo

BomPositionInfo
static