![]() |
T4S4
19.1 C8540 A23673
Teamcenter Gateway for SAP S/4HANA API Reference
|
Functions | |
callBAPI_PRODORD_GET_LIST args | |
Calls SAP function 'BAPI_PRODORD_GET_LIST'. The following lines are extracted from the SAP function module documentation, Copyright SAP AG. More... | |
getExternalNumber InternalNumber | |
Retrieves the SAP external production order id for a given SAP internal production order id. More... | |
getInternalNumber ExternalNumber | |
Retrieves the SAP internal production order id for a given SAP external production order id. More... | |
getProductionOrderDocumentLinks ?ProdOrderNumber? ?FullProdOrderLinkKey? ?ConvertProdOrderNumber2InternalFormat? args | |
Calls SAP function '/TESISPLM/PRODORD_OBJ_LINK_GET' in order to read the document links for a given production order. To use this functionality, the SAP transport package 'TESISPLM_T4S_MISC' must be imported into the SAP system. More... | |
getProductionOrderOperationDetails OrderPlanNumber ?ConvertTo10DigitFormat? args | |
Calls SAP function '/TESISPLM/T4S_GET_PRODORD_OPR' in order to read additional operation information for a given production order which is not returned by BAP_PRODORD_GET_DETAIL. This information is mainly required to link a production order operation to the corresponding routing operation using the attributes APLZL and ZAEHL. To use this functionality, the SAP transport package 'TESISPLM_T4S_MISC' must be imported into the SAP system. More... | |
getProductionOrderSerialNumbers ProdOrderNumber ?Taser? ?InitializeArrayPattern? args | |
Calls SAP function '/TESISPLM/GET_SN_OF_DOCUMENT' in order to read all defined serial numbers for a given production order. To use this functionality, the SAP transport package 'TESISPLM_T4S_MISC' must be imported into the SAP system. More... | |
readProductionOrder ProdId args | |
Retrieves SAP production order information using the BAPI BAPI_PRODORD_GET_DETAIL. More... | |
readProductionOrder2 ?ProductionOrderNumber? ?blnSupportSubOperations? args | |
Retrieves SAP production order information using the BAPI BAPI_PRODORD_GET_DETAIL. More... | |
setProdOrderUserStatus args | |
Sets user status for a prod order on the header. More... | |
setProdOrderUserStatus2 inputDict orderNumberList | |
Sets user status for a prod order on the header. More... | |
TPSAP::PRODORDER::callBAPI_PRODORD_GET_LIST | args | ||
Calls SAP function 'BAPI_PRODORD_GET_LIST'. The following lines are extracted from the SAP function module documentation, Copyright SAP AG.
_______________________________________________... | INCLUDE COBAPI_GET_LIST OBJECT DOKU ID TX ..._______________________________________________
TPSAP::PRODORDER::getExternalNumber | InternalNumber | ||
Retrieves the SAP external production order id for a given SAP internal production order id.
InternalNumber | SAP internal production order id |
TPSAP::PRODORDER::getInternalNumber | ExternalNumber | ||
Retrieves the SAP internal production order id for a given SAP external production order id.
ExternalNumber | SAP external production order id |
TPSAP::PRODORDER::getProductionOrderDocumentLinks | ?ProdOrderNumber? ?FullProdOrderLinkKey? ?ConvertProdOrderNumber2InternalFormat? args | ||
Calls SAP function '/TESISPLM/PRODORD_OBJ_LINK_GET' in order to read the document links for a given production order. To use this functionality, the SAP transport package 'TESISPLM_T4S_MISC' must be imported into the SAP system.
ProdOrderNumber | - If given, this PO number is concatenated with a wildcard at the end to search for all links with that PO number. |
FullProdOrderLinkKey | - Optional (Default Empty) - If provided, this full key will be used to search for existing links (no wildcard search is used) |
ConvertProdOrderNumber2InternalFormat | - Optional (Default X) - If 'X', the given ProdOrderNumber is converted into the internal SAP number format. |
TPSAP::PRODORDER::getProductionOrderOperationDetails | OrderPlanNumber ?ConvertTo10DigitFormat? args | ||
Calls SAP function '/TESISPLM/T4S_GET_PRODORD_OPR' in order to read additional operation information for a given production order which is not returned by BAP_PRODORD_GET_DETAIL. This information is mainly required to link a production order operation to the corresponding routing operation using the attributes APLZL and ZAEHL. To use this functionality, the SAP transport package 'TESISPLM_T4S_MISC' must be imported into the SAP system.
OrderPlanNumber | - This is the parameter AUFPL from the table AFVC. |
ConvertTo10DigitFormat | - Optional (Default = true) - If true, the input parameter will be converted to a 10 digit number with leading zeros (this is SAP standard in this case). |
TPSAP::PRODORDER::getProductionOrderSerialNumbers | ProdOrderNumber ?Taser? ?InitializeArrayPattern? args | ||
Calls SAP function '/TESISPLM/GET_SN_OF_DOCUMENT' in order to read all defined serial numbers for a given production order. To use this functionality, the SAP transport package 'TESISPLM_T4S_MISC' must be imported into the SAP system.
ProdOrderNumber | |
Taser | - Optional (default = SER05). Can be one of the following values: SER01 LIKE objk-taser VALUE 'SER01', "Lieferung\n SER02 LIKE objk-taser VALUE 'SER02', "SD-Auftrag SER03 LIKE objk-taser VALUE 'SER03', "MM-Belegposition\n SER04 LIKE objk-taser VALUE 'SER04', "Prueflos SER05 LIKE objk-taser VALUE 'SER05', "PP-Auftrag\n SER06 LIKE objk-taser VALUE 'SER06', "Handlingunit SER07 LIKE objk-taser VALUE 'SER07', "Inventurbeleg\n SER08 LIKE objk-taser VALUE 'SER08', "Bestelleinteilung SER09 LIKE objk-taser VALUE 'SER09'. "Bestellanforderung |
InitializeArrayPattern | - Optional (default = true). If true, the array ::SAPDat ProdOrderGetSerialNumber:* will be cleared before executing this call. |
TPSAP::PRODORDER::readProductionOrder | ProdId args | ||
Retrieves SAP production order information using the BAPI BAPI_PRODORD_GET_DETAIL.
ProdId | Production order number |
args | not used |
TPSAP::PRODORDER::readProductionOrder2 | ?ProductionOrderNumber? ?blnSupportSubOperations? args | ||
Retrieves SAP production order information using the BAPI BAPI_PRODORD_GET_DETAIL.
ProductionOrderNumber | - (optional) -> if the value is empty the content of the ::SAPDat(ProdOrder:PARAMETER:NUMBER) variable is used to retrieve the production order information |
blnSupportSubOperations | - (optional - false) (true|false) -> Retrieve SUBOPERATIONS information; Not supported from older SAP systems |
args | not used |
TPSAP::PRODORDER::setProdOrderUserStatus | args | ||
Sets user status for a prod order on the header.
args | none |
TPSAP::PRODORDER::setProdOrderUserStatus2 | inputDict orderNumberList | ||
Sets user status for a prod order on the header.
inputDict | a dictionary with required keys what are:
|
orderNumberList | a list with order numbers |
Sample code sequence for setProdOrderUserStatus2