Hello Pha,
I think the request is clear (your screenshot is very clear),
also I think the solution is clear and you have two options:
- If you are using RKF you can check the comment of Dinesh Kumar Reddy Basi Reddy
2. If you can use ABAP Code you can check the comment from Manpreet Singh
Regards.