T4S4  18.1 C7177 A20283
Teamcenter Gateway for SAP S/4HANA API Reference
TPSAP::ROUTING Namespace Reference

Functions

 checkRoutingExistence TaskListGroup GroupCounter ?ValidFrom? ?ValidTo? args
 Checks if a routing exists in SAP. More...
 
 getHighestGroup ?From? ?To? ?PlanType? args
 Gets the highest group for a given range using a T4S custom ABAP. More...
 
 initRoutingDataStructure args
 Resets part of the corresponding global TCL ::SAPDat array within the section Routing. More...
 
 RoutingGetDetail Group GroupCounter ?ChangeNumber? ?ValidFrom? ?ValidTo? ?BomUsage? ?Profile? ?Application? ?PlanType? ?blnOnlyHeader? ?blnOnlyOperations? ?blnReadDependencies? args
 Retrieves information about an existing SAP Routing. More...
 
 RoutingGetMapl MatNr ?Plant? ?PlanType? ?Skip_Deleted? ?Valid_From? args
 Retrieves information about all groups assigned to a given material. More...
 
 RoutingSequenceGetAll Group ?GroupCounter? ?PlanType? args
 Retrieves information about all sequences for an existing SAP Routing (even deleted sequences). More...
 

Function Documentation

◆ checkRoutingExistence()

TPSAP::ROUTING::checkRoutingExistence   TaskListGroup GroupCounter ?ValidFrom? ?ValidTo? args  

Checks if a routing exists in SAP.

Parameters
TaskListGroup
GroupCounter
ValidFrom(optional - empty)
ValidTo(optional - 99991231)
argsnone
Returns
OK or ERROR

References TPSAP::getSessionLogChannel(), tpco_scanHEX16(), and tpwrite().

◆ getHighestGroup()

TPSAP::ROUTING::getHighestGroup   ?From? ?To? ?PlanType? args  

Gets the highest group for a given range using a T4S custom ABAP.

Parameters
From(optional - empty)
To(optional - empty)
PlanType(optional - Default: N (=Standard Routing))
Returns
OK and PLNNR

References TPSAP::getSessionLogChannel(), tpco_scanHEX16(), and tpwrite().

◆ initRoutingDataStructure()

TPSAP::ROUTING::initRoutingDataStructure   args  

Resets part of the corresponding global TCL ::SAPDat array within the section Routing.

Parameters
argsnone
Returns

References TPSAP::getSessionLogChannel().

◆ RoutingGetDetail()

TPSAP::ROUTING::RoutingGetDetail   Group GroupCounter ?ChangeNumber? ?ValidFrom? ?ValidTo? ?BomUsage? ?Profile? ?Application? ?PlanType? ?blnOnlyHeader? ?blnOnlyOperations? ?blnReadDependencies? args  

Retrieves information about an existing SAP Routing.

Parameters
Group
GroupCounter
ChangeNumber(optional - empty)
ValidFrom(optional - empty)
ValidTo(optional - empty)
BomUsage(optional - empty)
Profile(optional - empty)
Application(optional - empty)
PlanType(optional - 'N' -> N = Standard Routing; Q = Inspection Plan; S = Reference Set of Operations)
blnOnlyHeader(optional - '' -> '' = NO (read all); 'X' = YES (read only header))
blnOnlyOperations(optional - '' -> '' = NO (read all); 'X' = YES (read only header + operations))
blnReadDependencies(optional - '' -> '' = NO; 'X' = YES (read operation dependencies as well))
Returns
OK and global TCL array ::RoutingResultDat or ERROR and error message as TCL list

References T4X::CORE::getSessionLogChannel(), TPSAP::getSessionLogChannel(), tpco_scanHEX16(), and tpwrite().

◆ RoutingGetMapl()

TPSAP::ROUTING::RoutingGetMapl   MatNr ?Plant? ?PlanType? ?Skip_Deleted? ?Valid_From? args  

Retrieves information about all groups assigned to a given material.

Parameters
MatNr
Plant(optional - empty)
PlanType(optional - 'N' -> N = Standard Routing; Q = Inspection Plan; S = Reference Set of Operations)
Skip_Deleted(optional - 'X')
Valid_From(optional - empty)
Returns
OK and global TCL array ::RoutingResultDat, NOT_FOUND or ERROR with Error messages

References TPSAP::getSessionLogChannel().

◆ RoutingSequenceGetAll()

TPSAP::ROUTING::RoutingSequenceGetAll   Group ?GroupCounter? ?PlanType? args  

Retrieves information about all sequences for an existing SAP Routing (even deleted sequences).

Parameters
Group
GroupCounter(optional - empty)
PlanType(optional - 'N' -> N = Standard Routing; Q = Inspection Plan; S = Reference Set of Operations)
argsnone
Returns
OK and global TCL array ::RoutingResultDat, NOT_FOUND or ERROR with Error messages

References TPSAP::getSessionLogChannel(), tpco_scanHEX16(), and tpwrite().