FuBa E - Change Order Status

This function block can be used to set the status of the production order specified by the order number. The change results in the fact that the order can be read out again by the function module FuBa A, in order to seize changes at the order.

Variable Name Type Content
Object IT_ORDER
AUFNR String order number
AUSTS String oder status (FREI, EROF, TABG)
Variable Name Type Content
General
EV_Error String X=error occurred

The return value is AA_FEHLERTEXT, a variable of data type String. It contains more detailed information about the error in case of an error. If EV_ERROR does not show an error, other status messages can also be located here. Therefore EV_ERROR must be evaluated for error checking and not only AA_FEHLERTEXT.