We had a duplicate key error last night and upon investigation I discovered that the delivery fact workflow (C_DeliveryFact_SAP) is in two jobs, PU and SD! Which one makes the most sense to remove it from?
Edit: I guess there are several things in multiple jobs. I guess I’ll have to check dependencies and do some cleanup.
PU is purchasing. I have simply removed it from that job. But I have found numerous pieces of code that are duplicated across jobs and can cause issues if they run at the same time.
Usually when a component is present in multiple jobs / rapid marts, if you choose a component not to run place it in a condition object and set the flag to not to run.
Just in case if you want to run a Rapid Mart in Init Mode, we might miss the deleted object. This is required only when Rapid MArts are customized.