Functionality Deleting a handling unit. The handling unit that is identified by the HUKEY import parameter isdeleted. Special case: If the handling unit that is to be deleted is itselfthe contents of a higher-level handling unit (in other words, it hasbeen packed into another HU), it is only deleted if the importindicator "IfPacked" is set. If the handling unit contains other lower-level handling units, you canuse the import indicator "WithLowerHUs" to dictate whether the systemshould delete the entire sub-hierarchy. If this indicator is not set,the lower-level handling units are unpacked. Example Deleting a container (key = KEY1) that contains a pallet (key = KEY2): Example 1: Import parameter: hukey-hu_exid = 'KEY1' ,,,,,, WithLowerHus = Space => The pallet is unpacked and the container-HU is deleted. Example 2: Import parameter: hukey-hu_exid = 'KEY1' ,,,,,, WithLowerHus = 'X' => Both the pallet and the container are deleted. Example 3: Import parameter: hukey-hu_exid = 'KEY2' ,,,,,, IfPacked = 'X' => The pallet is deleted.
Description Key of the instance of the handling unit that is to be processed. Description This indicator dictates whether a handling unit should be deleted evenif it is packed in another handling unit. Value range space: HU is not deleted if it is packed in another HU. "X": HU is deleted even if it is packed in another HU. Default space Description This indicator dictates whether lower-level handling units that belongto the handling unit that was specified are to be deleted along withit. Value range space: Lower-level handling units are unpacked rather than deleted. "X": Lower-level handling units are deleted. Default space INCLUDE 'BAPI_HU_CREATE RETURN' OBJECT DOKU ID FU |