Hi Anusha
If want to do deplication with IDOC is ALE setting is made? Are you using hub deployment or co-deployment method?
You can refer below
ALE Replication from MDG Hub to ERP Using the Same...
or Configuring Data Replication - General Settings - SAP Library