SAP Message 67491 - Flow type &1 is not permitted

Diagnosis
The flow type you have specified is not permitted. It has not beendefined in Customizing.

Procedure
If appropriate, define the flow type:
Define flow types
Assign flow type to a posting function