Solution : https://service.sap.com/sap/support/notes/861709 (SAP Service marketplace login required)
Key words : 
subroutine get_mat_balance reason, terms transaction ckmvfm, transaction ckmvfm, fi documents, flow monitor, program ml_value_flow_monitor, display data, company code, solution implement, source code
Related Notes : 
       
| 744090 | Value Flow Monitor: Explanation and recommendations |