Attachment Copy

Currently we have Developed RAP Services in BTP ABAP Environment. I am using these in Fiori. So I have Parent Entity called StudyAssignment and a child entity to store attachments. 

After one record is created. And attachments are added to it, I want to create a new record with same as the previous record created. So I will just click Copy then a new record should be created with all the fields from the parent and its attachments should get Created. 

I am able to create the header fields, but attachments I am not able to copy from one record to other. Can you please help if you know how to handle this.

Scroll to Top