How to upload the relationship between devices with SACM items or another table

Hello experts

 

How to upload the relationship between devices with SACM items or another table using many2many or MultiEntityPicker?

Thank you in advance

Best regards