2020 Oct 11 11:10 AM
hi !
i have 2 tables and I need merge it to 1 table.
table 1 - sales data.
table 2- contact data.
if have more contact row from sales row - I need duplicate the latest sale row and merge the contact data row.
example:
THANKS!
2020 Oct 11 11:44 AM
Hi,
First SORT LT_TBL_ALV and delete the adjacent duplicates comparing KUNNR & SALESID.
Then loop IT_CONTACT, and read LT_TBL_ALV with key KUNNR.
Now populate all required 4 fields from two work areas into new work area and Append to new internal table.
Thank you!
GVK
2020 Oct 11 1:54 PM
Okay, we understand that it's pretty easy to do. And what is your question?