Ansicht
Dokumentation

IWO10004 - Maintenance order: Customer check for order completion

IWO10004 - Maintenance order: Customer check for order completion

Addresses (Business Address Services)   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

In this customer expansion, checks can be carried out at the time of the technical completion.

If the customer check shows that technical completion should not be carried out, the function module can be left, with the exception of completion_rejected.

Technical completion will not be performed.

The example of checking the order header status finally completed is given here. If the status is not set, technical completion is not performed.



*----------------------------------------------------------------------*
* INCLUDE ZXWO1U03 *
*----------------------------------------------------------------------*

* rückgemeldet
data: stk_rue like jest-stat value 'I0009'.



clear sy-subrc.
call function 'STATUS_CHECK'
exporting
objnr = caufvd_imp-objnr
status = stk_rue
exceptions
status_not_active = 02.
if sy-subrc = 2.
raise completion_rejected.
endif.











CL_GUI_FRONTEND_SERVICES - Frontend Services   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 1416 Date: 20240426 Time: 225810     sap01-206 ( 20 ms )