Attach documents in materials using BAPI, Function, BADI or RFC

Hello community!
I’m new in SAP ABAP, I’m trying to implement the process to attach documents in materials using an RFC or maybe a BAPI, Function or BADI, to enter at the transaction MM02 or MM03 an can see the document in attachments. ¿Does anyone know how can I do that?

Thanks a lot
Grettings

Scroll to Top