Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

IDOC Error 51 - Incorrect function module ABI_IDOC_DISPATCH called up

Former Member
0 Likes
937

Hello,

I am using Message type CTRACDOCUMENT_CREATE to post FI-CA document in SAP.

Partner profiles are set up correctly but when I am trying to process the IDOC using WE19, I get error in IDOC Status 51 - Incorrect function module ABI_IDOC_DISPATCH called up.

Long text of the error shows as:

Diagnosis

The function module ABI_IDOC_DISPATCH, which was called for the application input, was not able to process the IDoc. A possible cause is that the IDoc has wrong message type or IDoc type.

Procedure

Please check the message type assignment for the application function module in the ALE customizing.

Can you please suggest what else am I missing in configuration?

Thanks in advance.

1 REPLY 1
Read only

Former Member
0 Likes
582

Hi,

You must be using the wrong FM, and error may be because of that.

IN WE19, after entering values, click standard inbound, and there you can see Fm name and also you can check for errors if any.

If you are using the same FM, it will not throw error.