IDOC Status 51
Whenever i post an idoc from system A to B (MATMAS), the inbound idoc ends with a status 51 with message 'Function module not allowed'. Now the FM used is a Z FM. I have checked the following steps but found no error :-
1 WE20 , partner profile checked correctly
2 we42 , FM assigned correctly
3 WE57 , FM assigned to message type with correct business object and direction.
4 Table TBD51 , FM exists with correct entries.
Also , when i run the failed idoc in WE19 with the same FM , it posts correctly with status 53.
Please help me on this problem.