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- Function module not allowed:

Former Member
0 Likes
7,016

Hi,

I am getting following error in IDOC inbouond.I verifyed all parameters mentioned in error.

Issue still not resolved.

When debugged from WE19 this issue dosnt arise.

Kindly guide.

Function module not allowed: ZIDOC_INPUT_MATCLASS

Message no. B1252

Diagnosis

The function module ZIDOC_INPUT_MATCLASS and the application object type BUS1001 which were determined are not valid for this IDoc.

Procedure

1. Please check that the process code in the inbound partner profile is correct.

2. If this is the case, you should check the ALE inbound methods ALE inbound methods for the process code and see whether the specified function module and application object type are correct.

3. If this is also the case, then the function module and the application object type are not permitted for the logical message type, message variant, message function and basis type that are contained in the IDoc control record. You should check whether the correct values have been assigned to these fields in the control record. If they do have the correct values, then the assignment to the function module and the application object type needs to be maintained.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,689

Hi,

Check in WE42, for the process code, you have assigned this function module and given the correct process code in the partner profile.

Sujay

3 REPLIES 3
Read only

Former Member
0 Likes
3,690

Hi,

Check in WE42, for the process code, you have assigned this function module and given the correct process code in the partner profile.

Sujay

Read only

0 Likes
3,689

Yes.The process code and function module are correct and available in WE42.

Read only

0 Likes
3,689

Hi,

Check weather the FM has been registered in the Tx BD51 or not

Raj