Enhancing Function Module Assignments (Direct Inbound) 
Here you specify that your enhanced function module may process your enhanced basic type with a specific message. This involves enhancing the ALE registration of the function module.
You must have completed the required steps for outbound processing in Enhancing an IDoc Type.
Choose , then
and then New Entries. Assign the relevant function module (type F) to the basic type, to your new extension and to your message type and select the application object as in a non-extended case.
Enter direction 2 (inbound). Save your entries.
Example
In the example, the following objects are assigned to each other when you have made your entries:
Module |
IDOC_INPUT_ORDERS |
Basic type |
ORDERS01 |
Enhancement |
Z1ORDERS |
Message type |
ORDERS |
Object type |
BUS2032 (sales order) |