Hello Gita,
Both these notes talks about monitoring the existing interfaces / ES using SAP AIF. However, doesn't talk about enhancing existing ES.
Secondly , I had look at function module /AIF/FILE_PROCESS_DATA. However, question is from where we should call this. I was aiming the EXECUTE_ASYNCHRONOUS method of ES and calling this FM from implicit enhancement spot. However, the structure INPUT inside EXECUTE_ASYNCHRONOUS is not changeable. So even if AIF performs value mapping , I can't pass that modified data to standard implementation of SAP ES.
Have a look at below code :
Image may be NSFW.
Clik here to view.
You can see that I passed INPUT to my custom function module which calls AIF internally and performs value mapping , checks etc.. and return the modified data in OUTPUT but SAP's standard code is still using INPUT in subsequent code. I can't assign OUTPUT to INPUT as it is import parameter not changeable.
Thanks & Regards,
Dijesh Tanna