‎2007 Mar 12 6:22 PM
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>
‎2007 Mar 12 6:28 PM
Hi,
How did you setup the inbound partner profile (WE20)?
You need to use message type ARTMAS with process code AFSA.
Regards,
Ferry Lianto
‎2007 Mar 12 6:26 PM
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.
‎2007 Mar 12 6:28 PM
Hi,
How did you setup the inbound partner profile (WE20)?
You need to use message type ARTMAS with process code AFSA.
Regards,
Ferry Lianto
‎2007 Mar 12 6:28 PM
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
‎2007 Mar 12 6:55 PM
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.
‎2007 Mar 12 7:18 PM