Idoc status remains in Status 40
I am having a scenario sending Idoc from R/3 , pass through XI use a BPM to send it to a webservice and get the acknowledgement back from webservice. Based on the status of the return message, I update the Idoc ALEAUD in R/3. This scenario works fine, but the problem is When I am sending the IDOC from R/3, the status of the idoc if I check in R/3 remains in Status 40 (Application document not created in receiving system). But the Idoc has successfully passed through XI and created the order using the webservice. The status is supposed to be 41.. I really don't know what is happening .. Your help is very much appreciated.