‎2011 Jan 28 4:30 PM
Hi
I have created a custom FM ZFM_IDOC_INB_PROCESS and Message type ZACC_GL_POSTING. I use the standard IDoc type ACC_GL_POSTING01.
Followed the steps:
Assign msg typ ZACC_GL_POSTING to idoc ACC_GL_POSTING01 in WE82
Assign FM ZFM_IDOC_INB_PROCESS to msg typ ZACC_GL_POSTING & idoc ACC_GL_POSTING01 in WE57
Adding the Msg Typ ZACC_GL_POSTING in inbound parameter with process code BAPI.
All inbound IDocs fail with status message 51 - Function module not allowed: BAPI_IDOC_INPUT1
When the inbound idoc comes, I need to trigger ZFM_IDOC_INB_PROCESS.
What process code can I use for triggering my custom FM?
Should I need to create a process code for my FM in WE42?
CheerRs....
‎2011 Jan 28 4:44 PM
Based on search in forums, I think I need to create a new Process Code in WE42 for triggering my Custom Function Module.
If I use BAPI, it will trigger the BAPI_IDOC_INPUT1 only.
But, I want to know if it is advisable OR the only way to create custom PROCESS CODE....??
Cheers
‎2011 Jan 29 5:42 AM
This will definitely help:
http://www saptechnical com/Tutorials/ALE/DataDistributeCustomIDOC/page1.htm
‎2011 Jan 29 2:45 PM
Hi,
Inbound Idocs Error 51 means something wrong with the data that you are trying to load.
It contains the error message that the load failed on.
So, try reposting it via transaction BD87.
‎2011 Jan 31 7:31 PM
Resolved by self. Created a new Process Code using WE42 and done.