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

Functions

 FuncLoc_getDetail args
 Retrieves detailed SAP functional location information. More...
 
 FuncLoc_getList args
 Matchcode search for functional locations in SAP. More...
 
 getExternalNumber InternalNumber
 Retrieves the SAP external functional location id for a given SAP internal functional location id. More...
 
 getInternalNumber ExternalNumber
 Retrieves the SAP internal functional location id for a given SAP external functional location id. More...
 
 initFuncLocStructure args
 Resets part the corresponding global TCL ::SAPDat array within the section FUNCLOC. More...
 

Detailed Description

This functiion required CALL TRANSACTION to be installed properly on the SAP system. All parameters are passed into the function using the global TCL array ::SAPDat. The array pattern is ::SAPDat(FuncLocLink:<SAP FIELD STRUCTURE>:<SAP FIELD NAME>) Example for FuncLoc FROM: ::SAPDat(FuncLocLink:VINET:TPVON) Example for FuncLoc TO: ::SAPDat(FuncLocLink:VINET:TPNACH)

Function Documentation

◆ FuncLoc_getDetail()

TPSAP::FUNCLOC::FuncLoc_getDetail   args  

Retrieves detailed SAP functional location information.

Parameters
argsnone
Returns
OK and global TCL array ::FuncLocResult or ERROR

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

Referenced by T4S::PROP::CUSTOM::MAPPING::GetFUNCLOCData().

◆ FuncLoc_getList()

TPSAP::FUNCLOC::FuncLoc_getList   args  

Matchcode search for functional locations in SAP.

Parameters
argsnone
Returns
OK and global TCL array ::FuncLocResult or ERROR

References TPSAP::getSessionLogChannel().

◆ getExternalNumber()

TPSAP::FUNCLOC::getExternalNumber   InternalNumber  

Retrieves the SAP external functional location id for a given SAP internal functional location id.

Parameters
InternalNumberSAP internal functional location id
Returns
External number

References TPSAP::getSessionLogChannel().

Referenced by T4S::FUNCLOC::CUSTOM::MAPPING::SAP_FuncLoc2TC_Object().

◆ getInternalNumber()

TPSAP::FUNCLOC::getInternalNumber   ExternalNumber  

Retrieves the SAP internal functional location id for a given SAP external functional location id.

Parameters
ExternalNumberSAP external functional location id
Returns
Internal number

References TPSAP::getSessionLogChannel().

Referenced by FuncLoc_getDetail().

◆ initFuncLocStructure()

TPSAP::FUNCLOC::initFuncLocStructure   args  

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

Parameters
argsnone
Returns

References TPSAP::getSessionLogChannel().