T4S4  19.1 C8540 A23673
Teamcenter Gateway for SAP S/4HANA API Reference
T4S::PIR::CUSTOM::ITEM::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 vendor number. More...
 
 getInfoRecordInfo ObjectKey AdditionalInfo args
 Customer specific Mapping function for the get pir infos. More...
 
 getTargetRevisionFromList ItemRevisionTagList args
 Customer specific Mapping function for the selection of the correct IR from a given list of IRs. More...
 
 SAP_PIRMapping2TC_Object Function ItemType ItemRevisionType ObjectKey AdditionalInfo args
 Customer specific Mapping function for the import/update of SAP pir info to a tc object. More...
 
 selectTC_CommercialPart Function MatNr
 Customer specific select function to identify the corresponding target commercial part revision. More...
 
 selectTC_Object Function ObjectKey AdditionalInfo args
 Customer specific select function to identify the corresponding target item revision. More...
 
 selectTC_Vendor Function VendorNumber
 Customer specific select function to identify the corresponding target vendor. 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...
 

Variables

 ImportInfo
 

Function Documentation

◆ cleanUp()

T4S::PIR::CUSTOM::ITEM::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
ObjectKeyobject key containing PurchaseInfoRecord number and Vendor Id
BatchJobStatusend status f the import batch job
AdditionalInfoadditional information
Returns
OK - success / anything else is interpreted as failure

◆ createTC_Object()

T4S::PIR::CUSTOM::ITEM::IMPORT::createTC_Object   Function ObjectKey AdditionalInfo args  

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

Parameters
FunctionImport function name, supports using same procedures and same namespace for different customer imports
ObjectKeyobject key containing PurchaseInfoRecord number and Vendor Id
AdditionalInfoadditional information
Returns

◆ getInfoRecordInfo()

T4S::PIR::CUSTOM::ITEM::IMPORT::getInfoRecordInfo   ObjectKey AdditionalInfo args  

Customer specific Mapping function for the get pir infos.

Parameters
ObjectKeyobject key containing PurchaseInfoRecord number and Vendor Id
AdditionalInfoadditional information
Returns

◆ getTargetRevisionFromList()

T4S::PIR::CUSTOM::ITEM::IMPORT::getTargetRevisionFromList   ItemRevisionTagList args  

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

Parameters
ItemRevisionTagListlist of tags found by selectTC_Object
Returns

◆ SAP_PIRMapping2TC_Object()

T4S::PIR::CUSTOM::ITEM::IMPORT::SAP_PIRMapping2TC_Object   Function ItemType ItemRevisionType ObjectKey AdditionalInfo args  

Customer specific Mapping function for the import/update of SAP pir info to a tc object.

Parameters
FunctionImport function name, supports using same procedures and same namespace for different customer imports
ItemTypeimport item type name
ItemRevisionTypeimport item revision type name
ObjectKeyobject key containing PurchaseInfoRecord number and Vendor Id
AdditionalInfoadditional information
Returns

◆ selectTC_CommercialPart()

T4S::PIR::CUSTOM::ITEM::IMPORT::selectTC_CommercialPart   Function MatNr  

Customer specific select function to identify the corresponding target commercial part revision.

Parameters
FunctionImport function name, supports using same procedures and same namespace for different customer imports
MaterialNumbermaterial numer of the commercial part
Returns
list of OK CommercialPartTag and CommercialPartRevTag anything else is treated as an error

◆ selectTC_Object()

T4S::PIR::CUSTOM::ITEM::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
ObjectKeyobject key containing PurchaseInfoRecord number and Vendor Id
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 SAP_PIRMapping2TC_Object


OK $ItemRevisionTag -> T4X will continue the import execution with proc SAP_PIRMapping2TC_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

◆ selectTC_Vendor()

T4S::PIR::CUSTOM::ITEM::IMPORT::selectTC_Vendor   Function VendorNumber  

Customer specific select function to identify the corresponding target vendor.

Parameters
FunctionImport function name, supports using same procedures and same namespace for different customer imports
VendorNumer
Returns
list of OK and VendorTag anything else is treated as an error

◆ updateTC_Object()

T4S::PIR::CUSTOM::ITEM::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
ObjectKeyobject key containing PurchaseInfoRecord number and Vendor Id
AdditionalInfoadditional information
Returns
OK - success / anything else is interpreted as failure

Variable Documentation

◆ ImportInfo

ImportInfo
static