‎2008 Mar 24 10:56 AM
Hi,
In the receiver system for the custom message type, I got this error.
Incorrect function module called up
Can any one pls help me to solve this one.
Regards,
Bala Raja
‎2008 Mar 24 12:12 PM
Hi Bala,
Check the inbound function module attached to process code in receiving system. Generally in every inbound function module first check is coded for checking message type or for checking funciton module like below.In the receiving system go to WE20 and then select the partner and select inbound message type. in that double click on assigned process code.then you have to double click on displayed FM. In that fm check first few lines. You will find this error message.
LOOP AT IDOC_CONTRL.
IF IDOC_CONTRL-IDOCTP(6) <> 'DESADV'.
MESSAGE ID 'E0' TYPE 'E' NUMBER '029'
WITH IDOC_CONTRL-IDOCTP ' ' 'IDOC_INPUT_DESADV'
RAISING WF_ERROR_PROCESS.
ENDIF.
ENDLOOP.
Thanks & Regards,
Kalyan.
‎2008 Mar 24 12:04 PM
Hi,
This means either You have used wrong function module which does not match for process which you are using or parameters in that function module are not compatible with it.
Best way is go to transcation WE19 and test the funtion module for the process which you want. There you will come to know whether it is correct function module or not that is to be used.
Reward if useful.
Thanks,
Madhura
Edited by: Madhura Nadgauda on Mar 24, 2008 1:05 PM
‎2008 Mar 24 12:10 PM
In WE20, patner profile pick up the process code which has been assigned go to we41 inbound process codes and check what is the FM which is assigned to that process code also thhe message type...check if the FM is can post the data you wanted to..
santhosh
‎2008 Mar 24 12:12 PM
Hi Bala,
Check the inbound function module attached to process code in receiving system. Generally in every inbound function module first check is coded for checking message type or for checking funciton module like below.In the receiving system go to WE20 and then select the partner and select inbound message type. in that double click on assigned process code.then you have to double click on displayed FM. In that fm check first few lines. You will find this error message.
LOOP AT IDOC_CONTRL.
IF IDOC_CONTRL-IDOCTP(6) <> 'DESADV'.
MESSAGE ID 'E0' TYPE 'E' NUMBER '029'
WITH IDOC_CONTRL-IDOCTP ' ' 'IDOC_INPUT_DESADV'
RAISING WF_ERROR_PROCESS.
ENDIF.
ENDLOOP.
Thanks & Regards,
Kalyan.