I Have cretaed a Custom process code in we42 and custom function module. when I Send an IDOC from target system, it didn't call Z Process code. When I test thru WE19, function module works fine and Idoc gets posted.
But When Sending from external system,It is not calling the Z Process code.
Any setings/Activation need to be done for calling the Z process code & Custom function module.