Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

Bug or Misunderstanding with extractor 2LIS_11_VAHDR ?

$
0
0

Hi all,

 

I received a duplicate key issue over the weekend with out extraction from 2LIS_11_VAHDR.

 

I re-ran the job in recovery mode and put the SQL loader trace on.  This is what I got:

 

(14.0) 06-18-12 08:58:40 (11424:10436)  SQLLOAD: SQL submitted from loader <TR_SALES_DOCUMENT_HEADER> in <Dataflow DF_SAP_SD_TR_SALES_DOCUMENT_HEADER> is: DELETE FROM

                                                 "SAP"."TR_SALES_DOCUMENT_HEADER"  WHERE "VBELN" = ? AND  "PERIV" = ?.

(14.0) 06-18-12 08:58:40 (11424:10436)  SQLLOAD: SQL results for loader <TR_SALES_DOCUMENT_HEADER> in <Dataflow DF_SAP_SD_TR_SALES_DOCUMENT_HEADER> is: X,0070056372.

(14.0) 06-18-12 08:58:40 (11424:10436)  SQLLOAD: SQL submitted from loader <TR_SALES_DOCUMENT_HEADER> in <Dataflow DF_SAP_SD_TR_SALES_DOCUMENT_HEADER> is: INSERT INTO

                                                 "SAP"."TR_SALES_DOCUMENT_HEADER" ("ROCANCEL", "VBELN", "ANGDT", "AUART", "AUGRU", "BNDDT", "BUKRS", "ERDAT", "FAKSK", "HWAER",

                                                 "KUNNR", "KURST", "KVGR1", "KVGR2", "KVGR3", "KVGR4", "KVGR5", "LIFSK", "PVRTNR", "STWAE", "VBTYP", "VDATU", "VKBUR", "VKGRP",

                                                 "VKORG", "VTWEG", "WAERK", "SPARA", "VGTYP_AK", "ANZAU", "PERIV", "JOBRUNID", "INSERTED", "INSERTEDBY") VALUES (?, ?, ?, ?, ?,

                                                 ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) .

(14.0) 06-18-12 08:58:40 (11424:10436)  SQLLOAD: SQL results for loader <TR_SALES_DOCUMENT_HEADER> in <Dataflow DF_SAP_SD_TR_SALES_DOCUMENT_HEADER> is:

                                                 ,0070056372,1900.01.01,ZRRB,,1900.01.01,NETI,2012.06.18,09,AUD,0000107477,,N,Y,Y,Y,,,12,AUD,L,2012.06.18,NSW,,NETI,RT,AUD,MS,C,1

                                                 ,DD,271,2012.06.18 08:58:40.624000000,SapDSUser_dev.

(14.0) 06-18-12 08:58:40 (11424:10436)  SQLLOAD: SQL results for loader <TR_SALES_DOCUMENT_HEADER> in <Dataflow DF_SAP_SD_TR_SALES_DOCUMENT_HEADER> is:

                                                 ,0070056372,1900.01.01,ZRRB,,1900.01.01,NETI,2012.06.18,,AUD,0000107477,,N,Y,Y,Y,,,12,AUD,L,2012.06.18,NSW,,NETI,RT,AUD,MS,C,1,D

                                                 D,271,2012.06.18 08:58:40.624000000,SapDSUser_dev.

(14.0) 06-18-12 08:58:40 (11424:10436)  SQLLOAD: SQL results for loader <TR_SALES_DOCUMENT_HEADER> in <Dataflow DF_SAP_SD_TR_SALES_DOCUMENT_HEADER> is:

                                                 ,0070056373,1900.01.01,ZRRB,,1900.01.01,NETI,2012.06.18,09,AUD,0000107477,,N,Y,Y,Y,,,12,AUD,L,2012.06.18,NSW,,NETI,RT,AUD,MS,C,1

                                                 ,DD,271,2012.06.18 08:58:40.624000000,SapDSUser_dev.

(14.0) 06-18-12 08:58:51 (11424:12044) DATAFLOW: Data flow <DF_SAP_SD_TR_SALES_DOCUMENT_HEADER> is terminated due to error <70401>.

 

 

The reason I got the duplicate, is (if I'm reading the log correctly) that the records have arrived in the wrong sequence; the delete should come after the first insert, but it came before it !

 

Am I interpreting this correctly ?  If I am, then either the records are not coming though in sequence number order (which I can fix by a sort), or they are in the wrong sequence, which means the extractor has a bug.

 

Any help would be appreciated !

 

Thanks.


Viewing all articles
Browse latest Browse all 4013

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>