![]() |
T4S4
18.2 C7549 A21431
Teamcenter Gateway for SAP S/4HANA API Reference
|
Functions | |
checkConnection2SAP ?Mode? ?TargetType? ?TransAction? | |
Read the current stored SAP login info's and tests the connection. More... | |
checkConnection2SAP4Batchjob SessionId ?Mode? ?TargetType? ?TransAction? | |
Read the current stored SAP login info's for a given Teamcenter Session Id and tests the connection. More... | |
checkConnection2SAP4Session SessionId ?Mode? ?TargetType? ?TransAction? | |
Read the current stored SAP login info's for a given Teamcenter Session Id and tests the connection. More... | |
checkConnection2SAP4Transaction SessionId TransactionId ?Mode? ?TargetType? ?TransAction? | |
Read the current stored SAP login info's for a given Teamcenter Session Id and tests the connection. More... | |
deleteConnectionInfo System Client ?Mode? ?TargetType? ?TransAction? | |
deleteConnectionInfo deletes the SAP technical user connection info from the internal shared memory buffer defined by the T4S::CONNECTION2SAP::setConnectionInfoPlain2 or T4S::CONNECTION2SAP::setConnectionInfo2 call for specific parameter combination. More... | |
getWebGuiConfig ?System? ?Client? | |
getWebGuiConfig returns the URL configuration information to start the URL based GUI for a given SAP system More... | |
selectActiveConnection2SAP SessionId SAPSystem Client args | |
defines a given SAP System/Client as active More... | |
setConnectionInfo2 System Client CryptUser CryptPasswd Language ?Mode? ?TargetType? ?TransAction? | |
setConnectionInfo2 stores the encrypted connection info into the internal shared memory buffer. More... | |
setConnectionInfoPlain2 System Client User Passwd Language ?Mode? ?TargetType? ?TransAction? | |
setConnectionInfoPlain2 encrypts the user and password and stores the connection info into the internal shared memory buffer. More... | |
storeWebGuiConfig System Client BaseUrl ?UsePortalGui? ?GuiType? | |
storeWebGuiConfig stores the configuration information for a given SAP system that is used to build the corresponding URL for the browser call into the internal shared memory buffer More... | |
testSAPLogin args | |
testSAPLogin read the current stored SAP login info's for the testscript env and tests the connection More... | |
validateAccess2SCSI_GET_SYSTEM_INFO args | |
This call validates if T4S can call SCSI_GET_SYSTEM_INFO. More... | |
validatePasswordState4User SessionId | |
This function validates, if the current user password is expired for the current connection. More... | |
verifyConnection2SAPSytem4Session SessionId SapSystem SapClient ?Mode? ?TargetType? ?TransAction? | |
Read the current stored SAP login info's for a given Teamcenter Session Id, SAP System/client and tests the connection. More... | |
T4S::CONNECTION2SAP::checkConnection2SAP | ?Mode? ?TargetType? ?TransAction? | ||
Read the current stored SAP login info's and tests the connection.
Mode | Transfer mode like WORKFLOW, PORTAL, BATCH, RTP, LOV, ... default = "*" for all. |
TargetType | SAP target object type like MM, ECM, ... default = "*" for all. |
TransAction | transfer action in the GUI like CREATE, CHANGE, ... default = "*" for all. |
References T4X::CORE::getSessionLogChannel(), T4X::CORE::storeMessage2(), tpco_formatHEX16(), tpwrite(), and validateAccess2SCSI_GET_SYSTEM_INFO().
Referenced by T4X::CONNECTION2EA::checkConnection2EA().
T4S::CONNECTION2SAP::checkConnection2SAP4Batchjob | SessionId ?Mode? ?TargetType? ?TransAction? | ||
Read the current stored SAP login info's for a given Teamcenter Session Id and tests the connection.
SessionId | unique session ID for the users Teamcenter session |
Mode | Transfer mode like WORKFLOW, PORTAL, BATCH, RTP, LOV, ... default = "*" for all. |
TargetType | SAP target object type like MM, ECM, ... default = "*" for all. |
TransAction | transfer action in the GUI like CREATE, CHANGE, ... default = "*" for all. |
References T4X::CONNECTION2EA::checkConnection2EA4Batchjob().
T4S::CONNECTION2SAP::checkConnection2SAP4Session | SessionId ?Mode? ?TargetType? ?TransAction? | ||
Read the current stored SAP login info's for a given Teamcenter Session Id and tests the connection.
SessionId | unique session ID for the users Teamcenter session |
Mode | Transfer mode like WORKFLOW, PORTAL, BATCH, RTP, LOV, ... default = "*" for all. |
TargetType | SAP target object type like MM, ECM, ... default = "*" for all. |
TransAction | transfer action in the GUI like CREATE, CHANGE, ... default = "*" for all. |
References T4X::CONNECTION2EA::checkConnection2EA4Session().
T4S::CONNECTION2SAP::checkConnection2SAP4Transaction | SessionId TransactionId ?Mode? ?TargetType? ?TransAction? | ||
Read the current stored SAP login info's for a given Teamcenter Session Id and tests the connection.
TransactionId | unique logfile name to log messages in the trans log file |
SessionId | unique session ID for the users Teamcenter session |
Mode | Transfer mode like WORKFLOW, PORTAL, BATCH, RTP, LOV, ... default = "*" for all. |
TargetType | SAP target object type like MM, ECM, ... default = "*" for all. |
TransAction | transfer action in the GUI like CREATE, CHANGE, ... default = "*" for all. |
References T4X::CONNECTION2EA::checkConnection2EA4Transaction().
T4S::CONNECTION2SAP::deleteConnectionInfo | System Client ?Mode? ?TargetType? ?TransAction? | ||
deleteConnectionInfo deletes the SAP technical user connection info from the internal shared memory buffer defined by the T4S::CONNECTION2SAP::setConnectionInfoPlain2 or T4S::CONNECTION2SAP::setConnectionInfo2 call for specific parameter combination.
System | SAP System Id |
Client | SAP Client Id (e.g. 800) |
Mode | Transfer mode like WORKFLOW, PORTAL, BATCH, RTP, LOV, ... default = "*" for all. |
TargetType | SAP target object type like MM, ECM, ... default = "*" for all. |
TransAction | transfer action in the GUI like CREATE, CHANGE, ... default = "*" for all. |
References T4X::CONNECTION2EA::deleteConnectionInfo().
T4S::CONNECTION2SAP::getWebGuiConfig | ?System? ?Client? | ||
getWebGuiConfig returns the URL configuration information to start the URL based GUI for a given SAP system
System | optional, if it is not specified we use the information about the current connection |
Client |
References tpco_shmget().
T4S::CONNECTION2SAP::selectActiveConnection2SAP | SessionId SAPSystem Client args | ||
defines a given SAP System/Client as active
SessionId | unique session ID for the users Teamcenter session or if you specific "*" the default connection for all sessions. |
SAPSystem | SAP system identification used in the destination definition of the sapnwrfc.ini |
Client | SAP client identification (e.g. 800) |
Configuration samples
References T4X::CONNECTION2EA::selectActiveConnection2EA().
T4S::CONNECTION2SAP::setConnectionInfo2 | System Client CryptUser CryptPasswd Language ?Mode? ?TargetType? ?TransAction? | ||
setConnectionInfo2 stores the encrypted connection info into the internal shared memory buffer.
System | SAP system identification used in the destination definition of the sapnwrfc.ini |
Client | The Client id that is used as to login. |
CryptUser | Encrypted SAP user id string |
CryptPasswd | Encrypted password string for the SAP specified user id |
Language | Specifies the two-character ISO-Code (like EN for English, KO for Korean) base logon language. |
Mode | Transfer mode like WORKFLOW, PORTAL, BATCH, RTP, LOV, ... default = "*" for all. |
TargetType | SAP target object type like MM, ECM, ... default = "*" for all. |
TransAction | transfer action in the GUI like CREATE, CHANGE, ... default = "*" for all. |
Configuration samples
References T4X::CONNECTION2EA::setConnectionInfo().
T4S::CONNECTION2SAP::setConnectionInfoPlain2 | System Client User Passwd Language ?Mode? ?TargetType? ?TransAction? | ||
setConnectionInfoPlain2 encrypts the user and password and stores the connection info into the internal shared memory buffer.
System | SAP system identification used in the destination definition of the sapnwrfc.ini |
Client | The Client id that is used as to login. |
User | SAP user id |
Passwd | Password for the SAP specified user id |
Language | Specifies the two-character ISO-Code (like EN for English, KO for Korean) base logon language. |
Mode | Transfer mode like WORKFLOW, PORTAL, BATCH, RTP, LOV, ... default = "*" for all. |
TargetType | SAP target object type like MM, ECM, ... default = "*" for all. |
TransAction | transfer action in the GUI like CREATE, CHANGE, ... default = "*" for all. |
Configuration samples
References T4X::CONNECTION2EA::setConnectionInfo().
T4S::CONNECTION2SAP::storeWebGuiConfig | System Client BaseUrl ?UsePortalGui? ?GuiType? | ||
storeWebGuiConfig stores the configuration information for a given SAP system that is used to build the corresponding URL for the browser call into the internal shared memory buffer
System | SAP system identification used in the destination definition of the sapnwrfc.ini |
Client | |
BaseUrl | Fix part of the URL to call |
UsePortalGui | Defines if the SAP transaction is called via the SAP portal or via the SAPgui for HTML. default = false |
GuiType | (WebGui|WinGui) defines if the SAPgui for Windows or the SAPgui for HTML is used default = WebGui |
Configuration samples
References tpco_shmset().
T4S::CONNECTION2SAP::testSAPLogin | args | ||
testSAPLogin read the current stored SAP login info's for the testscript env and tests the connection
args | none |
References T4X::CONNECTION2EA::testEALogin().
T4S::CONNECTION2SAP::validateAccess2SCSI_GET_SYSTEM_INFO | args | ||
This call validates if T4S can call SCSI_GET_SYSTEM_INFO.
References T4X::CORE::getSessionLogChannel(), TPSAP::getSystemInfoWithReleaseVersion(), and tpwrite().
Referenced by checkConnection2SAP().
T4S::CONNECTION2SAP::validatePasswordState4User | SessionId | ||
This function validates, if the current user password is expired for the current connection.
SessionId |
References TPSAP::RfcGetAttributes().
T4S::CONNECTION2SAP::verifyConnection2SAPSytem4Session | SessionId SapSystem SapClient ?Mode? ?TargetType? ?TransAction? | ||
Read the current stored SAP login info's for a given Teamcenter Session Id, SAP System/client and tests the connection.
SessionId | unique session ID for the users Teamcenter session |
SapSystem | |
SapClient | |
Mode | Transfer mode like WORKFLOW, PORTAL, BATCH, RTP, LOV, ... default = "*" for all. |
TargetType | SAP target object type like MM, ECM, ... default = "*" for all. |
TransAction | transfer action in the GUI like CREATE, CHANGE, ... default = "*" for all. |
References T4X::CONNECTION2EA::verifyConnection2EASystem4Session().