Solution : https://service.sap.com/sap/support/notes/331664 (SAP Service marketplace login required)
Key words :
material status inventory management material planningin construction forbidden notein production permitted permitteddiscontinued note forbiddena relevant function, read product master call function '/sapapo/dm_matloc_get_data' exporting iv_matid = iv_matid iv_locid = iv_locid importing es_matloc = ls_matloc, typing reference type optional iv_dialog type /sapapo/boolean, key matnr = ls_marc-matnr locno = ls_marc-werks, parameter type optional typing reference typeiv_orderid import, 'cmat' function group - program saplcmat, /sapapo/dm_matloc_get_data function module, iv_method type /sapapo/rrp_method xsave, /sapapo/dm_matid_get_material function module, /sapapo/rrp_badi_matloc_check function module
Related Notes :
964360 | APO PP/DS: Material status II |
441102 | Consulting notes in PP/DS |
358491 | Problems w. user-defined check on changeability |
357955 | Transfer material status f.check d. pl. order conv. |
351879 | Problems with BADI for material status |
340116 | APO PP/DS: Call user exit for material status |