i have requirement to make some database changes using standard function modules.
The first steps are
- move a Handling Unit to another storage bin (L_TO_CREATE_MOVE_SU)
- unpack some material (BAPI_HU_UNPACK)
These steps depends on each other:
that means, In order to unpack the HU, the first step has to be finished succesfully.
I tried to handle this problem using the sap update system.
So i built for each step one update task and at the end of all steps i start the update part of my LUW by using 'commit work and wait'-statement.
But the whole update process fails; sm13 indicates, that there is an error during the the second step: (MB_CREATE_GOODS_MOVEMENT fails und then a rollback is made).
Edited by: Michael Dirndorfer on Aug 11, 2010 12:25 PM