cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Copy Attachments from One Parent Entity Record to another.

bhaskar126
Discoverer
0 Kudos
179

Hi All.

We are having a business case scenario, where we need to copy attachments of one parent entity to another. We have developed the RAP Services in BTP ABAP ENV(Steampunk) and utilizing custom Fiori to consume them. I want to copy attachments of one Parent entity record to another. Is there any way I can do it in the controller.

 Steps to reproduce.
1. Develop RAP Service with two entities. First Entity with few fields and the second entity with MediaType(Attachment Entity).
2. Give Relation with Header to Item with First Entity Parent to Second(Attachment Entity).
3.Now Develop a custom Fiori application to create a record and attachments.
4. Now create a function to copy the first record along with attachments.

Accepted Solutions (0)

Answers (0)