T4S4  18.2 C7549 A21431
Teamcenter Gateway for SAP S/4HANA API Reference
TPSAP::MISCELLANEOUS Namespace Reference

Functions

 BapiUserGetDetail UserName ?CACHE_RESULTS?
 The method GetDetail returns the attributes of user USERNAME, as well as the profiles and activity groups that are assigned to that user. The result of the call is stored in the ::MiscResultDat array. Like the Address Data: ::MiscResultDat(ADDRESS:*); # all attributes around the user address ::MiscResultDat(ALIAS:USERALIAS); # Internet user alias more details about the resulting array attributes can be found in the SAP systems. More...
 
 Enqueue_Read args
 Checks if a SAP object is locked inside SAP. All input parameters are passed into the function using the global TCL array ::SAPDat: ::SAPDat(ENQUEUE:PARAMETER:GARG) -> Object Id and ::SAPDat(ENQUEUE:PARAMETER:GNAME) -> Object Table. More...
 
 RfcReadLongText args
 Reads the long text for a given SAP object. Example for a SAP material master (basic view text):

set ::SAPDat(ReadLongText:TEXT_LINES:TDOBJECT:1) "MATERIAL"
set ::SAPDat(ReadLongText:TEXT_LINES:TDNAME:1) $MaterialNumber
set ::SAPDat(ReadLongText:TEXT_LINES:TDID:1) "GRUN"

All input parameters are transported using the global TCL array ::SAPDat and the array pattern ENQUEUE. More...
 
 RfcReadTable args
 Reads the definition and the content of a given SAP database table. The data will be returned in an unstructured way using the DATA table. The FIELD table will return a list of fields and their position within DATA. In addition, FIELD can also be used to restrict the fields which should be extracted. OPTIONS can hold selection criteria in order to select the right data. Please refer to the SAP function module documentation for more information. More...
 

Variables

 CustomerBAPI
 
 FunctionModule
 
 isInitialized
 
 jco3JavaServer
 
 jcoFileChecksPerformed
 
 strJavaStartCmd
 

Function Documentation

◆ BapiUserGetDetail()

TPSAP::MISCELLANEOUS::BapiUserGetDetail   UserName ?CACHE_RESULTS?  

The method GetDetail returns the attributes of user USERNAME, as well as the profiles and activity groups that are assigned to that user. The result of the call is stored in the ::MiscResultDat array. Like the Address Data: ::MiscResultDat(ADDRESS:*); # all attributes around the user address ::MiscResultDat(ALIAS:USERALIAS); # Internet user alias more details about the resulting array attributes can be found in the SAP systems.

Parameters
UserName
CACHE_RESULTSTemporarily buffer results in work process
Returns
OK or ERROR and global TCL array ::MiscResultDat

References TPSAP::getSessionLogChannel().

◆ Enqueue_Read()

TPSAP::MISCELLANEOUS::Enqueue_Read   args  

Checks if a SAP object is locked inside SAP. All input parameters are passed into the function using the global TCL array ::SAPDat: ::SAPDat(ENQUEUE:PARAMETER:GARG) -> Object Id and ::SAPDat(ENQUEUE:PARAMETER:GNAME) -> Object Table.

All input parameters are transported using the global TCL array ::SAPDat and the array pattern ENQUEUE.

Returns
OK or ERROR and TCL array ::EnqueueResult

References TPSAP::getSessionLogChannel().

◆ RfcReadLongText()

TPSAP::MISCELLANEOUS::RfcReadLongText   args  

Reads the long text for a given SAP object. Example for a SAP material master (basic view text):

set ::SAPDat(ReadLongText:TEXT_LINES:TDOBJECT:1) "MATERIAL"
set ::SAPDat(ReadLongText:TEXT_LINES:TDNAME:1) $MaterialNumber
set ::SAPDat(ReadLongText:TEXT_LINES:TDID:1) "GRUN"

All input parameters are transported using the global TCL array ::SAPDat and the array pattern ENQUEUE.

Returns
OK or NOT_FOUND and global TCL array ::MiscResultDat

References TPSAP::getSessionLogChannel().

◆ RfcReadTable()

TPSAP::MISCELLANEOUS::RfcReadTable   args  

Reads the definition and the content of a given SAP database table. The data will be returned in an unstructured way using the DATA table. The FIELD table will return a list of fields and their position within DATA. In addition, FIELD can also be used to restrict the fields which should be extracted. OPTIONS can hold selection criteria in order to select the right data. Please refer to the SAP function module documentation for more information.

All input parameters are transported using the global TCL array ::SAPDat and the array pattern ReadTable.

Returns
OK and global TCL array ::MiscResultDat

References TPSAP::getSessionLogChannel().

Referenced by TPSAP::ECM::getObjectManagementTypesList().

Variable Documentation

◆ CustomerBAPI

CustomerBAPI
static

◆ FunctionModule

FunctionModule
static

◆ isInitialized

isInitialized
static

◆ jco3JavaServer

jco3JavaServer
static

◆ jcoFileChecksPerformed

jcoFileChecksPerformed
static

◆ strJavaStartCmd

strJavaStartCmd
static