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

Former Member
0 Likes
659

Hi ,

When am doing IDoc am getting some error plz anyone can help me.

Am sending materail data from 800 client to 810 client.

in 800 client it showing 03 status but in 810 client am getting status 51 .

plz find the below error

b<b>]<b>Function module not allowed: AFS_RETAIL_ARTMAS_IDOC_INPUT

Message no. B1252

Diagnosishe function module AFS_RETAIL_ARTMAS_IDOC_INPUT 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.</b></b></u></b>

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
608

Hi,

How did you setup the inbound partner profile (WE20)?

You need to use message type ARTMAS with process code AFSA.

Regards,

Ferry Lianto

5 REPLIES 5
Read only

Manohar2u
Active Contributor
0 Likes
608

You need to see couple of config tcodes like BD51, WE57 and WE42. Please check whether these are maintained with required message type / idoc type / function module.

Read only

Former Member
0 Likes
609

Hi,

How did you setup the inbound partner profile (WE20)?

You need to use message type ARTMAS with process code AFSA.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
608

Check the mapping between your message type and idoc type in WE82 and message type to process code in WE64. Most probably you have used wrong process code for the message type.

Search the correct process code for the message type and use it in your in your partner profile inbound parameters in 810 client

Or if you think your function module AFS_RETAIL_ARTMAS_IDOC_INPUT is correct, fyi, it is linked to proccess code AFSA with message type ARTMAS. Check you are using the same combination in your partner profile inbound parameters in 810 client

Read only

Former Member
0 Likes
608

hi sheethal,

Go to the customer distribution model that is BD64.

while creating model view v have to give sender, receiver information along with message type. There u have to give MATMAS for outbound message type and for inbound u have to give MATFET.

Hope this solves ur problem.

Regards...

Arun.

Award points if useful.

Read only

Former Member
0 Likes
608

sheethal,

hope this link helps u.

Regards...

Arun.

Reward points if useful.