![]() |
T4S4
18.2 C7549 A21431
Teamcenter Gateway for SAP S/4HANA API Reference
|
Functions | |
activateUconBlacklistCallWrappers4System ?strSapSystem? ?intSapS4Version? ?lstActivateWrapper4Functions? args | |
Activates the UCON blacklist TESISPLM Wrapper functions for a given SAP System. With this, the S4HANA UCON blacklist does not need to be deactivated. In order to use this functionality, the /TESISPLM/UCON_* transport packages needs to be imported into the corresponding SAP system. If no SAP system is given, the wrapper functions will be activated for all SAP systems. More... | |
checkIfCallIsUconBlacklisted strSapFunctionName | |
Checks if the given call is black listed using the S4 UCON Blacklist feature. This check is only relevant and executed if the connected SAP system is a SAP S4HANA system. More... | |
checkIfTargetSystemIsS4HANA args | |
Checks if the active SAP system is an ERP ECC6 or S4HANA system. This check is done using the call SCSI_GET_SYSTEM_INFO and can be overwritten using this mapping config switch: ::T4S_Defaults(SystemIsS4:<SAP system ID>) TRUE/FALSE. More... | |
get_BAPI_TE_MARA_Name4TargetSystem args | |
Based on the SAP target system (R3 or S4), this functions returns the name of the structure BAPI_TE_MARA which is BAPI_TE_MARA (R3) or BAPI_TE_MARA2 (S4). More... | |
get_BAPI_TE_MARAX_Name4TargetSystem args | |
Based on the SAP target system (R3 or S4), this functions returns the name of the structure BAPI_TE_MARAX which is BAPI_TE_MARAX (R3) or BAPI_TE_MARA2X (S4). More... | |
getMatNrLength4TargetSystem args | |
Based on the SAP target system (R3 or S4), this functions returns the length of the Material Master which is either 18 characters (R3) or 40 characters (S4). The returned value can be overwritten using the mapping switch ::T4S_Defaults(MatNrLengthS4:<SAP SYSTEM ID>) More... | |
runUconBlacklistCheck ?blnPrint2Console? ?lstBAPIsToSkip? args | |
Checks all BAPIs used by T4S Checks if they are black listed using the S4 UCON Blacklist feature. This check is only relevant and executed if the connected SAP system is a SAP S4HANA system. More... | |
TPSAP::S4::activateUconBlacklistCallWrappers4System | ?strSapSystem? ?intSapS4Version? ?lstActivateWrapper4Functions? args | ||
Activates the UCON blacklist TESISPLM Wrapper functions for a given SAP System. With this, the S4HANA UCON blacklist does not need to be deactivated. In order to use this functionality, the /TESISPLM/UCON_* transport packages needs to be imported into the corresponding SAP system. If no SAP system is given, the wrapper functions will be activated for all SAP systems.
strSapSystem | - optional (default: empty) - the SAP system for which the UCON wrappers should be activated. If empty, the wrapper functions will be activated for all SAP systems. |
intSapS4Version | - Not used anymore |
lstActivateWrapper4Functions | - optional (default: empty) - if provided (as TCL list), only the wrappers for these function modules (BAPIs) will be activated |
References T4X::CORE::getSessionLogChannel(), and tpwrite().
TPSAP::S4::checkIfCallIsUconBlacklisted | strSapFunctionName | ||
Checks if the given call is black listed using the S4 UCON Blacklist feature. This check is only relevant and executed if the connected SAP system is a SAP S4HANA system.
strSapFunctionName | - the SAP function module you want to call |
References checkIfTargetSystemIsS4HANA(), T4X::CORE::getSessionLogChannel(), and tpwrite().
Referenced by runUconBlacklistCheck().
TPSAP::S4::checkIfTargetSystemIsS4HANA | args | ||
Checks if the active SAP system is an ERP ECC6 or S4HANA system. This check is done using the call SCSI_GET_SYSTEM_INFO and can be overwritten using this mapping config switch: ::T4S_Defaults(SystemIsS4:<SAP system ID>) TRUE/FALSE.
References T4X::CORE::getSessionLogChannel(), TPSAP::getSystemInfoWithReleaseVersion(), and tpwrite().
Referenced by TPSAP::VENDOR::changeVendor(), checkIfCallIsUconBlacklisted(), TPSAP::VENDOR::createVendor(), get_BAPI_TE_MARA_Name4TargetSystem(), and getMatNrLength4TargetSystem().
TPSAP::S4::get_BAPI_TE_MARA_Name4TargetSystem | args | ||
Based on the SAP target system (R3 or S4), this functions returns the name of the structure BAPI_TE_MARA which is BAPI_TE_MARA (R3) or BAPI_TE_MARA2 (S4).
References checkIfTargetSystemIsS4HANA(), and T4X::CORE::getSessionLogChannel().
Referenced by get_BAPI_TE_MARAX_Name4TargetSystem(), and TPSAP::MM::updateMaterialMaster2().
TPSAP::S4::get_BAPI_TE_MARAX_Name4TargetSystem | args | ||
Based on the SAP target system (R3 or S4), this functions returns the name of the structure BAPI_TE_MARAX which is BAPI_TE_MARAX (R3) or BAPI_TE_MARA2X (S4).
References get_BAPI_TE_MARA_Name4TargetSystem(), and T4X::CORE::getSessionLogChannel().
Referenced by TPSAP::MM::updateMaterialMaster2().
TPSAP::S4::getMatNrLength4TargetSystem | args | ||
Based on the SAP target system (R3 or S4), this functions returns the length of the Material Master which is either 18 characters (R3) or 40 characters (S4). The returned value can be overwritten using the mapping switch ::T4S_Defaults(MatNrLengthS4:<SAP SYSTEM ID>)
References checkIfTargetSystemIsS4HANA(), T4X::CORE::getSessionLogChannel(), and tpwrite().
Referenced by TPSAP::MM::setMaterialMasterNoteLongText(), TPSAP::MM::setMaterialMasterSalesLongText(), and TPSAP::MM::updateMaterialMaster2().
TPSAP::S4::runUconBlacklistCheck | ?blnPrint2Console? ?lstBAPIsToSkip? args | ||
Checks all BAPIs used by T4S Checks if they are black listed using the S4 UCON Blacklist feature. This check is only relevant and executed if the connected SAP system is a SAP S4HANA system.
blnPrint2Console | - optional (default: true) - if true, the result will be printed onto the console. |
lstBAPIsToSkip | - optional (default: empty) - TCL list. This list can contain BAPI names which will then be skipped during this test. |
References checkIfCallIsUconBlacklisted(), T4X::CORE::getSessionLogChannel(), and tpwrite().