Fonction SAP BAPI_ISUSMORDER_SETSTATUSTECHN - Set Work Order to Technically Completed

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
NUMBER BAPI_SEWOCRT-ORDERID C 12 Number of SM Order
REFERENCEDATE RIWO1-BEZDT D 8 X Reference Date for Technical Completion
REFERENCETIME RIWO1-BRZUR T 6 X Reference Time for Technical Completion

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRETURN1 470 Error Messages

Functionality
This Business Application Programming Interface (BAPI) sets the statusof a service/maintenance order to technically completed. Forthis purpose, Transaction IW32 (change order) is called with theappropriate data. If no data is transferred to the optional importparameters REFERENCEDATE and REFERENCE TIME, then REFERENCEDATE is setto today's date and REFERENCETIME is set to midnight.

Example
An example of a call can be found in method SetStatusTechnCompleted ofobject type ISUSMORDER in the Business Object Builder (transactionSW01).

Notes
Notifications are returned in the RETURN parameter.

Description
Number of the service order.

Description
Error message in Transaction IW32.