05-03-2006 8:36 PM
Hi,
I am sending Gl master idocs GLMAST from one system to another . In the other system i have assigned a Z process code, in the Z process code FM , i am calling the standard GLMAST FM and sending back the status of this Idoc back to the sending system.
My problem is that when i send the idocs to the other system , the idoc fails giving the message 'Function module not allowed' , please advice y this is hapenning , when i tried to repost the same idoc through WE19 , i am able to run the idoc successfully through the Z FM and post the data , but when the idocs are recieved by the system , it fails . Please help.
Kunal
05-03-2006 8:37 PM
05-03-2006 8:39 PM
05-03-2006 8:44 PM
I guess then problem is in the function module interface. Compare it with any of the standard idoc inbound posting FMs e.g. IDOC_INPUT_*
It's not either RFC-enabled or some parameter/table is incorrectly defined.
05-03-2006 8:47 PM
The problem is not with the interface as i am using the same process code for other master data types like workcenters , asset master etc.. and the idocs there no not fail . I think the problem is to do with the assigning of the process code with the business object , if anyone knows please help.
Yes , the FM which gets called inside is IDOC_INPUT_GLMAST
05-03-2006 8:49 PM
Did you miss the WE57 by any chance where we assign the FM to the idoc and message type?
05-03-2006 8:52 PM
Hi Kunal,
<i>I think the problem is to do with the assigning of the process code with the business object</i>
i think even i am feeling the same....
Regards
vijay
05-03-2006 8:55 PM
Hi Kunal,
Try to check the function module direction given in WE52 or WE57. ( i din't remember the tcode. Have you given the direction as 2 or 1). 2 is for Inbound.
shylesh
05-03-2006 9:04 PM
Kunal,
Please award points if it solved your problem and close the thread.
05-04-2006 5:23 PM
Hi,
I checked the FM direction in WE57 , and for all business objects it shows 2 , which is inbound , so this is not the problem.
Kunal
05-03-2006 8:43 PM
Hi,
are you using the FM <b>IDOC_INPUT_GLMAST</b> or some thing else.
Regards
vijay
05-03-2006 9:39 PM
Hi Kunal,
Please check this links on how to setup inbound processing.
Perhaps you missed an important step.
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
Hope this will help.
Regards,
Ferry Lianto