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

Functions

 getLogLineMessageType4rc rc_func ?strDefaultMessageType? args
 Calculates the correspondig message type (for tpwrite log lines) based on the input return code. More...
 
 getSessionLogChannel args
 Returns the Session log-file name of the current transfer session. If no session log-file name is available, the default LogChannel is used. More...
 
 setSessionLogChannel args
 Defines the session log file name channel based on the Teamcenter session information. More...
 
 sortIndexedInterfaceTable tab
 This function sort the result of an array names for an index array (e.g: BOM lines). More...
 

Variables

 SessionLogChannel
 

Function Documentation

◆ getLogLineMessageType4rc()

PL4X::CORE::getLogLineMessageType4rc   rc_func ?strDefaultMessageType? args  

Calculates the correspondig message type (for tpwrite log lines) based on the input return code.

Parameters
rc_func- return code for which the message type should be calculated
strDefaultMessageType- OPTIONAL - default: INTERN; Can be used to set DEBUG or any other message type as default
Returns
INTERN or ERROR based on the given rc_func

Referenced by T4X::CORE::getLogLineMessageType4rc().

◆ getSessionLogChannel()

PL4X::CORE::getSessionLogChannel   args  

Returns the Session log-file name of the current transfer session. If no session log-file name is available, the default LogChannel is used.

Parameters
none
Returns
Relative filename of the sessionlogfile

References tpco_getdefaultlogchannel().

Referenced by PL4X::LOG::ENTER(), T4X::CORE::getSessionLogChannel(), PL4X::LOG::LEAVE(), and PL4X::LOG::LOG().

◆ setSessionLogChannel()

PL4X::CORE::setSessionLogChannel   args  

Defines the session log file name channel based on the Teamcenter session information.

Parameters
args,none
Returns
none

References tpco_getdefaultlogchannel().

◆ sortIndexedInterfaceTable()

PL4X::CORE::sortIndexedInterfaceTable   tab  

This function sort the result of an array names for an index array (e.g: BOM lines).

Parameters
tablist of array name strings to sort with the following syntax: Name:XXX:YYY:1 Name:XXX:YYY:2 ...
Returns
sorted list

References tpco_fixstring().

Variable Documentation

◆ SessionLogChannel

SessionLogChannel
static