Get latest record based on date to avoid duplicate records
I am trying to load 0COSTCENTER master data from BW to BPC Dimension but it throwing duplicate records error.
Yes,I've duplicate records in my Info objects but there are two attribute Valid from and Valid to, These values are different for each record.
Please see the below ss on the same.
So how i can load latest record which contains latest Valid from and Valid to values? As per Snap shot the latest record is third one right?
Can you please guide me on this. Thanks in advance!
Gersh Voldman replied
What Package are you using to load that data?
In standard Package for load of MD there is a Key data which is usually current date. This way load selects a record that is valid for today. If you don't want such record, but want the latest, set that date to the far future, like 30.12.9999.