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

Functions

 cleanUp Function ObjectKey BatchJobStatus AdditionalInfo args
 Customer specific function to start an additional customer specific cleanUp after the normal update. More...
 
 createTC_Object Function ObjectKey AdditionalInfo args
 Customer specific function for the creation of a Tc item based on a material number. More...
 
 createTCBOMview_Object ItemRevisionTag AdditionalInfo args
 Customer specific create function to create the corresponding target BOM view revision. More...
 
 getCurrentTcBomInfo BomViewTag AdditionalInfo args
 
 getImportBomInfo ObjectKey AdditionalInfo args
 
 getTargetRevisionFromList ItemRevisionTagList args
 Customer specific Mapping function for the selection of the correct IR from a given list of IR's. More...
 
 importBOM2TcBOM BomViewTag CurrentTcBomList SAPBOMList AdditionalInfo args
 
 SAP_FunctionalLocationBillOfMaterialMapping2TC_Object Function ItemType ItemRevisionType ObjectKey AdditionalInfo args
 Customer specific Mapping function for the import/update of SAP bill of material info to a tc item. More...
 
 selectTC_Object Function ObjectKey AdditionalInfo args
 Customer specific select function to identify the corresponding target item revision. More...
 
 selectTCBOMview_Object ItemRevisionTag AdditionalInfo args
 Customer specific select function to identify the corresponding target BOM view revision. More...
 
 updateTC_Object Function ItemTag ItemRevisionTag ItemType ItemRevisionType ObjectKey AdditionalInfo args
 Customer specific function to start an additional customer specific post-action after the normal update. More...
 

Function Documentation

◆ cleanUp()

T4S::FUNCLOC_BOM::CUSTOM::IMPORT::cleanUp   Function ObjectKey BatchJobStatus AdditionalInfo args  

Customer specific function to start an additional customer specific cleanUp after the normal update.

Parameters
FunctionImport function name, supports using same procedures and same namespace for different customer imports
ObjectKeydict containing TPLNR Functional Location Id WERKS Plant STLAN Bom Usage
BatchJobStatusend state of the import batch job
AdditionalInfoadditional information
Returns

◆ createTC_Object()

T4S::FUNCLOC_BOM::CUSTOM::IMPORT::createTC_Object   Function ObjectKey AdditionalInfo args  

Customer specific function for the creation of a Tc item based on a material number.

Parameters
FunctionImport function name, supports using same procedures and same namespace for different customer imports
ObjectKeydict containing TPLNR Functional Location Id WERKS Plant STLAN Bom Usage or containing MATNR for the material master number for the BOM Line object
AdditionalInfoadditional information
Returns

◆ createTCBOMview_Object()

T4S::FUNCLOC_BOM::CUSTOM::IMPORT::createTCBOMview_Object   ItemRevisionTag AdditionalInfo args  

Customer specific create function to create the corresponding target BOM view revision.

Parameters
ItemRevisionTag
AdditionalInfoadditional information
Returns

◆ getCurrentTcBomInfo()

T4S::FUNCLOC_BOM::CUSTOM::IMPORT::getCurrentTcBomInfo   BomViewTag AdditionalInfo args  
Parameters
BomViewTag
AdditionalInfoadditional information
Returns

◆ getImportBomInfo()

T4S::FUNCLOC_BOM::CUSTOM::IMPORT::getImportBomInfo   ObjectKey AdditionalInfo args  
Parameters
ObjectKeydict containing PSPNR MATNR WERKS STLAN STLAL
AdditionalInfoadditional information
Returns

◆ getTargetRevisionFromList()

T4S::FUNCLOC_BOM::CUSTOM::IMPORT::getTargetRevisionFromList   ItemRevisionTagList args  

Customer specific Mapping function for the selection of the correct IR from a given list of IR's.

Parameters
ItemRevisionTagListlist with hexed itemRevision tags found by the selectTC_Object
Returns

◆ importBOM2TcBOM()

T4S::FUNCLOC_BOM::CUSTOM::IMPORT::importBOM2TcBOM   BomViewTag CurrentTcBomList SAPBOMList AdditionalInfo args  
Parameters
BomViewTag
CurrentTcBomListTeamcenter BOM lines data
SAPBOMListSAP BOM lines data
AdditionalInfoadditional information
Returns
Status of the action (OK or Error)

◆ SAP_FunctionalLocationBillOfMaterialMapping2TC_Object()

T4S::FUNCLOC_BOM::CUSTOM::IMPORT::SAP_FunctionalLocationBillOfMaterialMapping2TC_Object   Function ItemType ItemRevisionType ObjectKey AdditionalInfo args  

Customer specific Mapping function for the import/update of SAP bill of material info to a tc item.

Parameters
FunctionImport function name, supports using same procedures and same namespace for different customer imports
ItemTypeimport item type name
ItemRevisionTypeimport item revision type name
ObjectKeydict containing TPLNR Functional Location Id WERKS Plant STLAN Bom Usage
AdditionalInfoadditional information
Returns
OK

◆ selectTC_Object()

T4S::FUNCLOC_BOM::CUSTOM::IMPORT::selectTC_Object   Function ObjectKey AdditionalInfo args  

Customer specific select function to identify the corresponding target item revision.

Parameters
FunctionImport function name, supports using same procedures and same namespace for different customer imports
ObjectKeydict containing TPLNR Functional Location Id WERKS Plant STLAN Bom Usage
AdditionalInfoadditional information
Returns
Return code used by the following import function. The following values are valid:
FOUND $ItemRevisionTag -> T4X will continue the import execution with proc selectTCBOMview_Object


OK $ItemRevisionTag -> T4X will continue the import execution with proc selectTCBOMview_Object
NOT_FOUND $ErrorMessage -> T4X will continue the import execution with proc createTC_Object (using search query)
ITEMID_DOESNT_EXIST $ErrorMessage -> T4X will continue the import execution with proc createTC_Object (using ITK::ITEM_exists)
SKIPPED -> T4X will stop the import execution successfully without an error
any other return value -> T4X treats it as an error, there by customised error returns with info when/why the error occured are supported

◆ selectTCBOMview_Object()

T4S::FUNCLOC_BOM::CUSTOM::IMPORT::selectTCBOMview_Object   ItemRevisionTag AdditionalInfo args  

Customer specific select function to identify the corresponding target BOM view revision.

Parameters
ItemRevisionTag
AdditionalInfoadditional information
Returns
Return code used by the following import function. The following values are valid:
FOUND $BomViewRevisionTag -> T4X will continue the import execution with proc importBOM2TcBOM


OK $BomViewRevisionTag -> T4X will continue the import execution with proc importBOM2TcBOM
NOT_FOUND $ErrorMessage -> T4X will continue the import execution with proc createTCBOMview_Object
ITEMID_DOESNT_EXIST $ErrorMessage -> T4X will continue the import execution with proc createTCBOMview_Object
SKIPPED -> T4X will stop the import execution successfully without an error
any other return value -> T4X treats it as an error, there by customised error returns with info when/why the error occured are supported

◆ updateTC_Object()

T4S::FUNCLOC_BOM::CUSTOM::IMPORT::updateTC_Object   Function ItemTag ItemRevisionTag ItemType ItemRevisionType ObjectKey AdditionalInfo args  

Customer specific function to start an additional customer specific post-action after the normal update.

Parameters
FunctionImport function name, supports using same procedures and same namespace for different customer imports
ItemTaghexed import item tag
ItemRevisionTaghexed import item revision tag
ItemTypeimport item type name
ItemRevisionTypeimport item revision type name
ObjectKeydict containing TPLNR Functional Location Id WERKS Plant STLAN Bom Usage
AdditionalInfoadditional information
Returns
OK or errorMsg