Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Duplicate records in Datasource

Dear SDN users,

I know this is a basic question but still have doubt. Hope moderators will not lock my thread.

I want to write a code for the duplicate records comparison of Data source  A -->DSO B using 4 char and 1 keyfigure where keyfigure not equal to zero should only delete the data .

A)when the data in PSA is that possible to loop on all columns of PSA fields (like 20 fileds) and find the duplicate records in start route ,is this a best method ?

B)When we are comparison the 4 fields and one key figure (I took the fields based primary keys of  source DSO B) ,is this a best method to remove duplicate from source.

Please do not answer me to check with the functional team and remove duplicate records.

Can you please pass me a sample code for the removal duplicate based on key figure , so that i can test my functionality.



Former Member
Not what you were looking for? View more on this topic or Ask a question