on 12-12-2007 10:33 AM
Hi BW Experts,
I have the next problem:
I am loading data from external system, which cannot check the data consistency. Any times, I am loading records to ODS with the same key and each one overwrite the previous one. I don´t want to load these records, even the first record, I want all records of the request with the same key (key ODS) will be sent to error stack and after decide which of them will go up to ODS.
The option "Unique Data Records" is not enough in this case because the first record is loaded.
Any idea?
Regards,
Iñaki
My question is not about if record with same key exists in ODS, is about if in the same request exists records with the same key and I don´t want anyone load in ODS, I want all go to error stack and after decide what to do
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have two options, if you want to not stop the load you can delete the duplicate report from the datapackage otherwise you can stop the load puting a value in the ABORT variable (if the value is different from 0 the load are stopped).
You have also available the internal table MONITOR_RECNO and MONITOR that you can fill with the error you want to do in the monitor.
Mario
Message was edited by:
Mario Sacco
You can check in start routine if the record you still load are also present in the ods reading the table of active data.
If present you can put it an a custom table and after you check it.
Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.