You must have completed the required steps for outbound processing in Enhancing an IDoc Type.
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.