Hello Luis
i belive you are not able to debug into ERP system. The badi we use in ERP system to receive the data is CRM_SRV_MAP_RS_BADI.
for debugging
please check the note 847964 which explain how to debug while transferring the data from CRM to ECC.
Regards
Naresh