FuBa K - Declaring Starting Material Empty

With this function module, a starting material container is declared empty by scanning the HU, so that it can be removed from the work center.

Variable Name Type Content
General
IV_ARBPL String work center name
IV_PID String HU-number
IV_WERKS String plant number
IF_TARGET String has no use in this function block
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.