Solution : https://service.sap.com/sap/support/notes/591660 (SAP Service marketplace login required)
Key words :
call function 'v51p_get_header_data' importing es_header51 = ls_header51, system generates larger remaining quantities, hu-managed storage location, is_header-hu_lgort ca 'cdx', ls_quan-umvkz = is_material_item-umvkz, ls_quan-umvkn = is_material_item-umvkn, ef_opmng_corr = lf_gen_opmng - ls_quan-lfimg, badi - correction quantity ef_opmng_corr, if_altme export parameter ef_quantity_alt, packed numbers 1 yy corresponds
Related Notes :
1455022 | Parameters not passed to BAdI BADI_HU_PACKING_QTY |
1223791 | Rounding error for goods movements with handling units |
589338 | Rounding problems: Open quantity in base unit of measure |