SAP Note 1400688 - SPED fails with HUFUNCTIONS189 for batch managed material(2)

Component : Stock Transfers - Handling Unit Management

Solution : https://service.sap.com/sap/support/notes/1400688 (SAP Service marketplace login required)

Summary :
When processing a two-step cross-company stock transfer with SPED output, an error 'Item &1 &2 cannot be used for HU &3' may occur due to a program flaw. This typically arises in two main instances: firstly, mismatches in batch management between source and receiving plants, and secondly, reprocessing SPED after beforehand deassignment and deletion of an initial inbound delivery. A correction in the program code is required to rectify these issues. Relevant function modules and classes include HU_ASSIGN_HUS_TO_OBJECT and LV51PF45, which should be adjusted as per the provided source code correction.

Key words :
-step cross company transfer, receive error message 'item &1 &2, attached source code correction, hu_lgort = 'b' reason, source plant, program error, inbound delivery, outbound delivery, output sped, batch managed

Related Notes :

1460021SPED fails with HUFUNCTIONS189 in an intra company scenario
1377866SPED fails with HUFUNCTIONS 189 for batch managed materials
1367800Reversal of goods issue fails with error HUFUNCTIONS 254