Hello Kumar,
Thanks for the info .
The segment E1EDK14 with all qualifiers will be populated in standard logic of IDOC FM.
Probably use exit EXIT_SAPLEINM_011 which will be called after all segments are populated.
Here you can modify internal table DINT_EDIDD accordingly for a particular company or message type
Thanks