Solution : https://service.sap.com/sap/support/notes/508755 (SAP Service marketplace login required)
Key words : 
s_vbeln -> document number p_pstyv -> item category p_kschl -> condition key, rules-based atp check, correct existing data inconsistencies, implement report zz_correct_price, pricing types 'a', solution implement note 391422, price data, report carries, tree types, credit release
Related Notes : 
       
| 201912 | Correction report f mass change of sales documents | 
| 201187 | Correct pricing results in sales documents |