SAP API Response Characterization
This section describes SAP’s response and the interpretation by EAI software components
API
Response Characterization
CSAP_MAT_BOM_READ
This API reads the details of BOM allocated to the process plan. Component allocation requires SAP- internal Item IDs and BOM numbers. These details are fetched from SAP using CSAP_MAT_BOM_READ.
BAPI_ROUTING_CREATE
This API creates a routing in SAP. Windchill ESI interprets the transaction as being successful when the following conditions exist for the last return message table entry (values are case- sensitive):
RETURN-TYPE ≠ ‘E’ and RETURN-TYPE ≠ ‘A’
If the conditions for a successful transaction – as specified above - are not met, the application will interpret the transaction as being unsuccessful.
BAPI_TRANSACTION_COMMIT
Successful Condition: A successful condition is assumed unless an Exception Error is generated.
BAPI_TRANSACTION_ROLLBAC K
Successful Condition: A successful condition is assumed unless an Exception Error is generated.
Change Process Plan (Routing) API Flow
這是否有幫助?