![]() |
T4S4
18.2 C7549 A21431
Teamcenter Gateway for SAP S/4HANA API Reference
|
Mapping namespace for T4S external query functions. More...
Functions | |
buildRowQueryDataString RowQueryName EntryFieldName EntryValue ?RowQueryDataString? args | |
Customer specific auxiliary function to build the result string for Teamcenter containing TCQuery, FieldName, Value in a special format. More... | |
executeQuery SessionId QueryName | |
Customer specific user-exit to execute a Teamcenter user query via a SAP match code search function. More... | |
executeQuery4MaterialMaster SessionId QueryName args | |
Customer specific auxiliary function to search for material master in SAP. More... | |
importQueryRowViaBatch SessionId QueryName ObjectKey args | |
Customer specific user-exit to import a Teamcenter user query row via the T4S Batchserver. More... | |
Mapping namespace for T4S external query functions.
The namespace contains the custom specific userexit to execute a Teamcenter user query via a SAP match code search function.
TC_customization_libraries
: list of custom specific libraries, e.g. libt4x_query T4X_SupportedUserQueries
: list of supported external queries T4X_QUERY_TargetSystem4<QueryName>
: application which should execute the query, e.g. T4ST4S::QUERY::CUSTOM::MAPPING::buildRowQueryDataString | RowQueryName EntryFieldName EntryValue ?RowQueryDataString? args | ||
Customer specific auxiliary function to build the result string for Teamcenter containing TCQuery, FieldName, Value in a special format.
The procedure is called by executeQuery4MaterialMaster
.
RowQueryName | Name of the query to search within Teamcenter |
EntryFieldName | Name of the search field |
EntryValue | The value for the search field |
RowQueryDataString | Used to build row query search string with more then 1 entry |
args | Not used |
Referenced by executeQuery4MaterialMaster().
T4S::QUERY::CUSTOM::MAPPING::executeQuery | SessionId QueryName | ||
Customer specific user-exit to execute a Teamcenter user query via a SAP match code search function.
Depending on the query name a procedure is called which handles the external search.
SessionId | Unique session ID for the users Teamcenter session |
QueryName | Query name to be executed |
OK
or UNKNOWN
References executeQuery4MaterialMaster(), T4X::CORE::getSessionLogChannel(), and tpwrite().
T4S::QUERY::CUSTOM::MAPPING::executeQuery4MaterialMaster | SessionId QueryName args | ||
Customer specific auxiliary function to search for material master in SAP.
The procedure is called by executeQuery
for query Find_MaterialMaster_in_SAP
.
The procedure does a match code search in SAP. The two input fields are combined with OR. The parameters are transferred via the global ::SAPDat
array.
The query result is stored in global array ::StatusInfo
.
SessionId | Unique session ID for the users Teamcenter session |
QueryName | Query name to be executed |
args | Not used |
References buildRowQueryDataString(), TPSAP::MM::getExternalMaterialNumber(), TPSAP::MM::getMaterialList(), T4X::TC::MAPPING::getQueryArgumentValue(), T4X::CORE::getSessionLogChannel(), and tpwrite().
Referenced by executeQuery().
T4S::QUERY::CUSTOM::MAPPING::importQueryRowViaBatch | SessionId QueryName ObjectKey args | ||
Customer specific user-exit to import a Teamcenter user query row via the T4S Batchserver.
The procedure creates a batch job based on template T4S_IMPORT_MM
.
SessionId | Unique session ID for the users Teamcenter session |
QueryName | Query name which was executed before |
ObjectKey | SAP Id used for query |
args | Not used |
OK
or UNKNOWN
References T4X::BATCHJOB::IMPORT::createBatchjob(), T4X::CORE::getSessionLogChannel(), and tpwrite().