![]() |
T4S4
19.1 C8540 A23673
Teamcenter Gateway for SAP S/4HANA API Reference
|
Functions | |
deleteCustomerMaterialInfoRecord CustomerNumber SalesOrganization DistributionChannel MaterialNumber args | |
Deletes an existing customer material info record. Important: This procedure has a dependency to the SAP transport package "TESISPLM_T4S_CALL_TRANSACTION" and does not work without it. More... | |
getCustomerMaterialInfoRecords CustomerNumber ?MaterialNumber? args | |
Calls SAP function '/TESISPLM/T4S_GET_CUST_MM_INFO' in order to read one or more SAP customer material info records. To use this functionality, the SAP transport package 'TESISPLM_T4S_CUSTOMER' must be imported into the SAP system. More... | |
getExternalNumber InternalNumber | |
Retrieves the SAP external customer id for a given SAP internal customer id. More... | |
getInternalNumber ExternalNumber | |
Retrieves the SAP internal customer id for a given SAP external customer id. More... | |
maintainCustomerMaterialInfoRecord args | |
Creates or updates a customer material info record. All input parameters are transported using the global TCL array called ::SAPDat and the array pattern CustomerMaterialInfoRecord. All possible field names can be find out using the SAPGUI transaction VD51 and the "F1 - technical help" section from SAP. Example to create a simple customer material info record: set ::SAPDat(CustomerMaterialInfoRecord:PARAMETER:MV10A-KUNNR) "490951" set ::SAPDat(CustomerMaterialInfoRecord:PARAMETER:MV10A-VKORG) "0001" set ::SAPDat(CustomerMaterialInfoRecord:PARAMETER:MV10A-VTWEG) "01" set ::SAPDat(CustomerMaterialInfoRecord:PARAMETER:MV10A-MATNR) "50078539" set ::SAPDat(CustomerMaterialInfoRecord:PARAMETER:MV10A-KDMAT) "0815" set ::SAPDat(CustomerMaterialInfoRecord:PARAMETER:MV10A-POSTX) "description" set ::SAPDat(CustomerMaterialInfoRecord:PARAMETER:MV10A-SORTL) "search" Important: This procedure has a dependency to the SAP transport package "TESISPLM_T4S_CALL_TRANSACTION" and does not work without it. More... | |
TPSAP::CUSTOMER::deleteCustomerMaterialInfoRecord | CustomerNumber SalesOrganization DistributionChannel MaterialNumber args | ||
Deletes an existing customer material info record. Important: This procedure has a dependency to the SAP transport package "TESISPLM_T4S_CALL_TRANSACTION" and does not work without it.
CustomerNumber | |
SalesOrganization | |
DistributionChannel | |
MaterialNumber | Material Number Info Record to be deleted |
TPSAP::CUSTOMER::getCustomerMaterialInfoRecords | CustomerNumber ?MaterialNumber? args | ||
Calls SAP function '/TESISPLM/T4S_GET_CUST_MM_INFO' in order to read one or more SAP customer material info records. To use this functionality, the SAP transport package 'TESISPLM_T4S_CUSTOMER' must be imported into the SAP system.
CustomerNumber | |
MaterialNumber | Optional (Default Empty) If empty, all material info records will be read for the given customer. |
TPSAP::CUSTOMER::getExternalNumber | InternalNumber | ||
Retrieves the SAP external customer id for a given SAP internal customer id.
InternalNumber | SAP internal customer id |
TPSAP::CUSTOMER::getInternalNumber | ExternalNumber | ||
Retrieves the SAP internal customer id for a given SAP external customer id.
ExternalNumber | SAP external customer id |
TPSAP::CUSTOMER::maintainCustomerMaterialInfoRecord | args | ||
Creates or updates a customer material info record. All input parameters are transported using the global TCL array called ::SAPDat and the array pattern CustomerMaterialInfoRecord. All possible field names can be find out using the SAPGUI transaction VD51 and the "F1 - technical help" section from SAP.
Example to create a simple customer material info record:
set ::SAPDat(CustomerMaterialInfoRecord:PARAMETER:MV10A-KUNNR) "490951"
set ::SAPDat(CustomerMaterialInfoRecord:PARAMETER:MV10A-VKORG) "0001"
set ::SAPDat(CustomerMaterialInfoRecord:PARAMETER:MV10A-VTWEG) "01"
set ::SAPDat(CustomerMaterialInfoRecord:PARAMETER:MV10A-MATNR) "50078539"
set ::SAPDat(CustomerMaterialInfoRecord:PARAMETER:MV10A-KDMAT) "0815"
set ::SAPDat(CustomerMaterialInfoRecord:PARAMETER:MV10A-POSTX) "description"
set ::SAPDat(CustomerMaterialInfoRecord:PARAMETER:MV10A-SORTL) "search"
Important: This procedure has a dependency to the SAP transport package "TESISPLM_T4S_CALL_TRANSACTION" and does not work without it.