Hi Suyash.
Ok, so if I understood the issue correctly,
1) Planned Order is created in APO. At this point, there is dependent demand on component X, which is present in the PPM
2) Planned Order is saved and sent over to ECC. At this point, a new demand on the same component X is created. So now, there are 2 dependent demands for the same component, which is unexpected.
Is this it? I would suggest stopping the planned order queue in the inbound of ECC when it is first sent over from APO, and then checking whether the data coming from APO is correct. Aside from that, check whether there are any CIF user exits in ECC inbound that may be influencing the behavior.
Regards,
Tiago