FuBa J - Reporting Order Completed

With this function block a order is reported as completed.

Variable Name Type Content
General
IV_ARBPL String plant name
IV_AUFNR String order number
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.