If “Display Stock” function is used in goods movement overview of CO11N, the base unit of measure is used to display stock quantities.
If you want to have the stock displayed in the unit of entry implement BAdi WORKORDER_GOODSMVT and add the following coding in Method GM_SCREEN_OKCODE_CHECK:
DATA: wa_comp TYPE LINE OF ty_t_cowb_comp.
if i_okcode = ‘MMBE’.
loop at ct_comp into wa_comp where mark = ‘X’.
set PARAMETER ID ‘MMBE_ME’ field wa_comp-ERFME.