![]() |
T4S4
18.1 C7177 A20283
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... | |
checkConnection2SAP_legacy ?Mode? ?TargetType? ?TransAction? | |
Read the current stored SAP login info's 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... | |
formatSystemClientId SAPSystem Client args | |
returns given SAP System and Client in a defined string format 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... | |
setConnectionInfo System Client CryptUser CryptPasswd Language ?LogOnIniMode? ?Mode? ?TargetType? ?TransAction? | |
setConnectionInfo stores the encrypted connection info into the internal shared memory buffer. More... | |
setConnectionInfo2 System Client CryptUser CryptPasswd Language ?Mode? ?TargetType? ?TransAction? | |
setConnectionInfo2 stores the encrypted connection info into the internal shared memory buffer. More... | |
setConnectionInfoPlain System Client User Passwd Language ?LogOnIniMode? ?Mode? ?TargetType? ?TransAction? | |
setConnectionInfoPlain encrypts the user and password and stores the 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... | |
Variables | |
CtrlParam | |
SapConnection | |
SapInfo | |
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 testSAPLogin().
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 checkConnection2SAP4Session().
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::TC::MAPPING::getWorkflowArgumentValue3(), and selectActiveConnection2SAP().
Referenced by checkConnection2SAP4Batchjob(), and checkConnection2SAP4Transaction().
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 checkConnection2SAP4Session().
T4S::CONNECTION2SAP::checkConnection2SAP_legacy | ?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().
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 formatSystemClientId(), tpco_closeSrvSession(), tpco_connectTo(), and tpco_shmdelete().
T4S::CONNECTION2SAP::formatSystemClientId | SAPSystem Client args | ||
returns given SAP System and Client in a defined string format
Referenced by deleteConnectionInfo(), selectActiveConnection2SAP(), and storeWebGuiConfig().
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 formatSystemClientId(), and tpco_shmset().
Referenced by checkConnection2SAP4Session(), testSAPLogin(), and verifyConnection2SAPSytem4Session().
T4S::CONNECTION2SAP::setConnectionInfo | System Client CryptUser CryptPasswd Language ?LogOnIniMode? ?Mode? ?TargetType? ?TransAction? | ||
setConnectionInfo 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. |
LogOnIniMode | USE_SAPRFCINI|USE_SAGLOGONINI |
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 setConnectionInfo2().
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
Referenced by setConnectionInfo(), and setConnectionInfoPlain2().
T4S::CONNECTION2SAP::setConnectionInfoPlain | System Client User Passwd Language ?LogOnIniMode? ?Mode? ?TargetType? ?TransAction? | ||
setConnectionInfoPlain 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. |
LogOnIniMode | USE_SAPRFCINI|USE_SAGLOGONINI |
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 setConnectionInfoPlain2().
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 setConnectionInfo2(), and tpco_encrypt().
Referenced by setConnectionInfoPlain().
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 formatSystemClientId(), and 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 checkConnection2SAP(), TPSAP::getReleaseInfo(), and selectActiveConnection2SAP().
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(), and checkConnection2SAP_legacy().
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.
SapSystem | |
SapClient | |
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 selectActiveConnection2SAP().
|
static |
|
static |
|
static |