Question:
currently i have some idocs which are failing and setting a relevant activity status. When i reprocess these via se37 the idoc is setting its status to 03 in we02 and would appear to be okay. However, when i check the target system the idoc does not appear to have arrived. If i reprocess the idoc using transaction edatexmon01 (isu) then the idoc does arrive at target system. Is there anything obvious (ie should i place a commit in the comev of function code)? The idoc is set to be processed immediately.
If green light is set can i assume that it has left sap and that intermediary hardware/software may be at fault, though if this is the case why does the second scenario work ??
any suggestions would be extremly helpful
Answer:
If you are using MASTER_IDOC_DISTRIBUTE function module then you will have to use COMMIT WORK statement. Then only IDoc will be moved out.
--Krish