on 08-07-2015 12:42 AM
Hi ,
Can anyone please tell me "how to compare the SOME fields data between SAP ECC - MARA and SAP MDG-MARA tables" in either SAP Data Service (or) SAP Information Steward tools .
For example , to compare the data for field MARA-BRGEW in both ECC MARA table and MDG MARA table . Here idea is to get know how many records are different between two system tables . Actually data is moving from ECC to MDG on daily basis so business wants to know how many fields per a particular table(MARA or EQUI) are correct between two systems(ECC and MDG)
Please let me know the high level solution .
Thanks
Regards
Mubeen
This should work.
SELECT * INTO TAB3 FROM (select * from Tab1 except select * from tab2) AS X;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abdul,
I would suggest you to store those tables data into some staging tables.Then you can run the below statement in the database to insert the Incorrect records into a new table.
CREATE TABLE A AS (SELECT * FROM MARA1 MINUS SELECT * FROM MARA2);
Please let me know if this helped you.
Thanks,
Niranjan
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.