on 2022 May 09 1:38 PM
(Message Class 29, Message Number 659). Tool: Migration Cockpit, Direct Transfer & Upload File approach.
The rootcause seems to be inside method check_deletion (SE37 --> CNV_PE_S4_PP_MATERIAL_BOM_ECN --> IF_CNV_PE_S4_BOM_MIG~PROCESS_DATA, lines 72-89):
This method sorts source-table STPO descending based on STLKN (Node), then compares if the number of lines in STPO is the same with the highest STLKN it finds:
I managed to add an internal counter to renumber the items (STLKN, STVKN, IDENTIFIER, ITEM_NODE, VGKNT) and are being takenover properly, such that the method is by-passed, but the BOMs were not migrated correctly in S/4 HANA, as the ECN-to numbers are missing and all the items are shown in the new BOM as active, even if they were previously deleted.
Any hints on how to migrate data like this?
Hello Madalina,
we experience the same issue. Have you found a solution yet?
Best regards,
Dominik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Our solution consisted of Direct Transfer migration, then proceeding with Upload File for the erroneous BOMs & finally correcting these with several LSMW objects.
I think they might have changed their mind about this being normal behaviour as i just found a note that looks like it describes this issue and might even fix it : 3238796
Hi @herrmann_d, this is indeed the solution -- SAP Note 3238796. The error will be converted to warning & will allow the process to continue, but with a risk of inconsistent migration which has to be manually corrected. So many thanks!
Hi again Madalina - were you able to find a resolution to this issue? I am running into the same error with some BOMs that have been changed.
Thanks so much,
Steve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madalina,
As you mentioned that your source is ECC system, why don't you try Direct Transfer Approach?
You can migrate the complete BOM along with all the history, current and feature items with that.
Best regards,
Danny Song
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Danny,
I've stated above that I'm using the Migration Cockpit, Direct Transfer approach and this gives me errors for all materials in this case (see above screenshots from the debugger, I've shown exactly from where the error is originating).
The Customizing is correct, yet the BAPI isn't allowing us to post the BOMs into the S/4 Hana system,where the highest STLKN value is different than the actual counted lines in STPO.
Regards,
Mădălina
User | Count |
---|---|
106 | |
8 | |
8 | |
6 | |
5 | |
5 | |
5 | |
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.