Difference Between Edidc Table And Edi_dc40

Hi, I want to know the difference between edidc and edi_dc40. How can I implement edi_dc40 as a control record for outbound and inbound idocs? I want the control record structure in edidc_40, how can I do this?
