Solution : https://service.sap.com/sap/support/notes/442477 (SAP Service marketplace login required)
Key words : 
additional key words vf01, correct error handling, function module tp_prepare_acccr_sd, program error, sd-fiinterface, solution implement, attached correction, tp_prepare_acccr_sd, prerequisites
Related Notes : 
       
| 833388 | Error handling in the SD/FI interface |