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

Functions

 checkIfObjectExists ObjectType ObjectId args
 Function checks that for the given parameters (ObjectType and ObjectId) an object already exists in SAP. More...
 
 checkIfObjectExists4MaterialMaster ObjectType ObjectId args
 Function checks that for the given parameters (ObjectType and ObjectId) a material master already exists in SAP. More...
 
 getReservedNumber ObjectType args
 Function returns for the given parameters the corresponding next free object number. More...
 
 getReservedNumber4ChangeNumber ObjectType args
 Function returns for the given parameters the corresponding next free change number. More...
 
 getReservedNumber4DocumentInfoRecord ObjectType args
 Function returns for the given parameters the corresponding next free document number. More...
 
 getReservedNumber4MaterialNumber ObjectType args
 Function returns for the given parameters the corresponding next free material number. More...
 

Function Documentation

◆ checkIfObjectExists()

T4S::IDGEN::CUSTOM::checkIfObjectExists   ObjectType ObjectId args  

Function checks that for the given parameters (ObjectType and ObjectId) an object already exists in SAP.

Parameters
ObjectTypeused to specfiy the material type and the industry sector for material number
ObjectId
Returns
Status OK for found and ERROR for not found

◆ checkIfObjectExists4MaterialMaster()

T4S::IDGEN::CUSTOM::checkIfObjectExists4MaterialMaster   ObjectType ObjectId args  

Function checks that for the given parameters (ObjectType and ObjectId) a material master already exists in SAP.

Parameters
ObjectTypeused to specfiy the material type and the industry sector for material number
ObjectId
Returns
Status OK for found and ERROR for not found

◆ getReservedNumber()

T4S::IDGEN::CUSTOM::getReservedNumber   ObjectType args  

Function returns for the given parameters the corresponding next free object number.

Parameters
ObjectTypeused to specfiy the material type and the industry sector for material number
Returns
OK:<ObjectNr> or ERROR

◆ getReservedNumber4ChangeNumber()

T4S::IDGEN::CUSTOM::getReservedNumber4ChangeNumber   ObjectType args  

Function returns for the given parameters the corresponding next free change number.

Warning
The Change Master is already created after the function returns, so if someone cancels the Item creation, it will still be in SAP.
Parameters
ObjectTypeused to specify the change master
Returns
OK:<ChangeNo> or ERROR

◆ getReservedNumber4DocumentInfoRecord()

T4S::IDGEN::CUSTOM::getReservedNumber4DocumentInfoRecord   ObjectType args  

Function returns for the given parameters the corresponding next free document number.

Warning
The Document Info Record is already created after the function returns, so if someone cancels the Item creation, it will still be in SAP.
Parameters
ObjectTypeused to specify the document type
Returns
OK:<DocumentNo> or ERROR

◆ getReservedNumber4MaterialNumber()

T4S::IDGEN::CUSTOM::getReservedNumber4MaterialNumber   ObjectType args  

Function returns for the given parameters the corresponding next free material number.

Parameters
ObjectTypeused to specify the material type and the industry sector for material number
Returns
OK:<MatNr> or ERROR