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

Functions

 call_transaction TCode Mode ?Display? ?Commit? ?Disconnect? args
 Provides the SAP call transaction technology for T4S. More...
 

Function Documentation

◆ call_transaction()

TPSAP::CALL_TRANSACTION::call_transaction   TCode Mode ?Display? ?Commit? ?Disconnect? args  

Provides the SAP call transaction technology for T4S.

Parameters
TCode- SAP transaction code
Mode- SAPGUI mode (N = No SAPGUI is shown (preferred option); E = Show SAPGUI only in case of an error; A = Always show SAPGUI - Use 'E' and 'A' only for debug)
Display(optional - 1) - For a simple display like MM03, this param must be set to 1, otherwise 0 -> 1 = SKIP FIRST SCREEN
Commit(optional - 1) - If the BAPI BAPI_TRANSACTION_COMMIT should be excecuted at the end, set this param to 1, otherwise 0
Disconnect(optional - 0) - If the T4S SAP connection should be closed at the end, set this param to 1, otherwise 0
argsnone
Returns
OK or ERROR

References T4X::CORE::getSessionLogChannel(), tpco_scanHEX16(), and tpwrite().

Referenced by TPSAP::MM::changeProductionVersion(), TPSAP::VENDOR::changePurchaseInfoRecord(), TPSAP::VENDOR::changeVendor(), TPSAP::MM::checkConfigProfilExists(), TPSAP::MM::checkProductionVersion(), TPSAP::ECM::createChangeMaster_WithProfile(), TPSAP::MM::createProductionVersion(), TPSAP::VENDOR::createPurchaseInfoRecord(), TPSAP::VENDOR::createVendor(), TPSAP::MM::deleteProductionVersion(), TPSAP::MM::linkMaterialMaster2DIR(), releaseProjectDefinition(), TPSAP::MM::setCrossPlantConfigurableMaterial(), TPSAP::MM::setKonfMatFlag(), and TPSAP::MM::setTaxIndicator4MaterialMaster().