Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2638

Re: DTW - Goods Receipt Error (Serial Numbers)

$
0
0

Here is a better example:

 

I was working on this problem for 8.82 PL17 and could not get it to work despite using SAP's official note.  The note did not give enough of an example to get me going so here is my example files.

 

You need three:

 

 

OIGN

IGN1

SRNT

 

 

OIGN:

DocNumDocTypeDocDateDocDueDateDocTotalReference1Reference2Comments
DocNumDocTypeDocDateDocDueDateDocTotalRef1Ref2Comments
1dDocument_Items2015101120151011TESTTESTIMPORT SERIALIZED

 

IGN1:

ParentKeyLineNumItemCodeQuantityPriceWarehouseCode
DocNumLineNumItemCodeQuantityPriceWhsCode
10CHO.001.019.1081720001
11CHO.001.019.1101897001
12CHO.001.019.13411474001
13CHO.001.019.1451618001
14CHO.001.019.1531607001
15CHO.001.019.18613491001
16CHO.001.019.1931870001
17CHO.001.019.20911449001
18CHO.001.019.23112076001
19CHO.001.019.2383964001
110CHO.001.019.2441828001
111CHO.001.019.24512281001
112CHO.001.019.2461614001
113CHO.001.019.24812007001
114CHO.001.019.2511913001
115CHO.001.019.25223573001
116CHO.001.019.2551857001
117CHO.001.019.2626623001
118CHO.001.019.2632893001
119CHO.001.019.26811559001
120CHO.001.019.26912349001
121CHO.001.019.27113683001
122CHO.001.019.27211214001
123CHO.001.019.27611070001
124CHO.001.019.2775782001
125CHO.001.019.2811940001
126CHO.001.019.28211916001
127CHO.001.019.28311113001
128CHO.001.019.2871516001
129CHO.001.019.2961637001
130CHO.001.019.3011715001

 

 

SRNT:

ParentKeyLineNumInternalSerialNumberBaseLineNumber
DocNumLineNumDistNumberDocLineNum
1015932500
1114098571
123410852
1314083323
1413573814
155141885
161420272TT6
179448457
1812082678
1915429739
11016072979
11116120929
11297955610
113156192311
114164979412
115118699413
116125527214
117117345715
118120833815
119110327316
120155820117
121158532417
122167167517
123183839617
124183847317
125188272417
126139012018
127142459218
128111311619
129121313120
130121896121
131142458422
132150124023
133166898824
134181549724
135183149624
136184064324
137191642024
138165790225
139159021126
140115896527
141120691028
142132003529
143144546330

 

 

I purposefully added a lot of data so you could see where I initially went wrong.  You will have people tell you that IGN1.LineNum should be blank if you are importing.  This might be right in terms of a sales order or other marketing document, but for the sake of importing Goods Receipts with serial numbers it's incorrect.  You need to sequentially order  your IGN1.LineNum column.  Then this column needs to match SRNT.BaseLineNumber so if there are multiple serials each of the rows in the SRNT document in the SRNT.BaseLineNumber column needs to match the rows in the IGN1 document.

 

 

What struck me as not being intuitive is that SRNT.LineNum has to be sequentially numbered DESPITE the SRNT.BaseLineNumber being matched to the rows.  I was trying to sequentially number the SRNT.LineNum as you would for a contact in a customer import.

 

 

Something in SRNT like:

 

ParentKey

LineNumInternalSerialNumberBaseLineNumber
DocNumLineNumDistNumberDocLineNum
1015932500
1014098571
103410852
1014083323
1013573814
105141885
101420272TT6
109448457
1012082678
1015429739
1116072979
1216120929
1097955610
10156192311
10164979412
10118699413
10125527214
10117345715
11120833815
10110327316
10155820117
11158532417
12167167517
13183839617
14183847317
15188272417

 

 

This is incorrect though.  All I needed to do was to sequentially number the SRNT.LineNum column without caring about the correlation to the number of serials and it worked fine (see my original three sheets at the top).

 

I hope this helps someone from spending five hours working on a data import.

 

Let me know if this all makes sense, Mike


Viewing all articles
Browse latest Browse all 2638

Trending Articles



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