IDOC processing inbound in receiver system , transaction WE57
possibly a simple question for those who are familar with IDOC processing.
In transaction WE57 you can add function modules for processing IDOCs e.g. inbound IDOCs.
Now I see in our system that there are two function modules added to the same IDOC.
Example Basis type MATMAS03:
Function modules: IDOC_INPUT_MATMAS01 and IDOC_INPUT_MATMASMDM.
We want to add an individual mapping on receiver side (not on XI, because it has to be accessible to a user group on receiver side to change required field contents sometimes) for fields which are empty.
My idea is that we can add a func.module here in WE57 for this purpose. But what about the existing two FMs?
Will they be processed in a sequence so that we can add more FMs to the same IDOC type?
Or should I replace one of them with a Z_IDOC_INPUT_MATMASxxx by copying it and adding the required functionality?
Any help is appreciated!