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

ALE-IDOC Error -Function module not allowed: ZIDOC_INPUT_MATCLASS

Former Member
0 Likes
6,774

Hello all,

I am having a requirement to enhace bd10 to suit for material master.For that i have written a Z-function module to at inbound side.

Function module has coading for extended segments and z processing code is created for the same.

The issue is that i am getting error-Function module not allowed: ZIDOC_INPUT_MATCLASS.Please help to resolve the issue.

Thank you.

1 ACCEPTED SOLUTION
Read only

soumya_jose3
Active Contributor
2,687

Hi,

Check whether the inbound function module is added in BD51 with input type 1.

Also check whether the link between message type and inbound function module is maintained in WE57.

Also check process code is maintained in we42.

Regards,

Soumya.

4 REPLIES 4
Read only

soumya_jose3
Active Contributor
2,688

Hi,

Check whether the inbound function module is added in BD51 with input type 1.

Also check whether the link between message type and inbound function module is maintained in WE57.

Also check process code is maintained in we42.

Regards,

Soumya.

Read only

0 Likes
2,687

I have checked for mentioned transaction.Issue is not resolved.Please guide me.

Read only

0 Likes
2,687

Hi,

Did you check in WE42 if the function mdoule ZIDOC_INPUT_MATCLASS is attached to the process code.?

Soumya.

Read only

0 Likes
2,687

I have checked as per your suggestion in detail the error reported as-

************************************************************************

Function module not allowed: ZIDOC_INPUT_MATCLASS

Message no. B1252

Diagnosis

The function module ZIDOC_INPUT_MATCLASS and the application object type 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.

*************************************************************************

I am done with all the procedure.

I am currently using-BUS1001006.I really dont know if this is the one for extended idocs and z function module for material master.Please guide me if this is the issue. And i f so please guide right buziness object.

Thanks.

Edited by: sanjivrd on Sep 22, 2009 1:27 PM