How can I check for a given IDoc basis type (For example ZSD_ORDER), which program/function module is run,
- when an IDoc arrives into the system
- when an IDoc leaves the system
u have to use the process codes these process code containin function modules in out bound it generate idoc when reading application document.
in in bound these process code read the idoc and generate application document for these t codes are we41 for out bound we42 for in bound
depend on the u have to customize the settings for predefined applications to generate idocs see the transaction code BD60 u will get the idea
reward if u find usefull.