05-27-2011 9:56 AM
Hi Experts,
My problem is as follows,
We get WBS element master data from legacy system 'A' to SAP 6.0 system 'B' in PROJECT01 Idoc. In this Idoc, there is the entire hierarchy of the main project and all WBS elements under it. One such Idoc that was posted contained incorrect Project Definition (For example: "pwrong" instead of "pcorrect"). The next Idoc came after few days with correct project definition. But since the WBS element was already created under the project "pwrong", the new Idoc is giving error that the WBS element already exists under "pwrong" and cannot be created under "pcorrect".
I can neither delete the WBS element nor the project definition since the master data has originated from a different system. I want to know a way by which I can remove the WBS element under "pwrong". This needs to be done by posting a new Idoc only. But just by posting the new Idoc with project definition does not remove the WBS element under it. So, can anyone let me know the way to remove this WBS element from incorrect project?
Thanks,
Netrey
05-27-2011 12:36 PM
code the programme such that if any error comes store into table bdcmsgcoll or standard executable prog rbdmidoc execute and check the idoc so there you can' see the error records.