BDOC transfer of Sales Order from CRM to R/3 which fmodule?

Question: Hi Folks,
We have a standard CRM 4.0 configuration - and are transferring BDOCs to our R/3 system via the BUS_TRANSACTION_MESG BDOC.
The problem we have is that our R/3 system is heavily modified (due to years of misuse and so many many user exits etc). It seems that when sales orders are created via BDOCs they are not behaving in the same way as sales orders created manually and directly in R/3 via transaction VA01.

What we would really like to know is to find out which function module / BAPI / RFC / Class is called by the CRM sales order BDOC on the R/3 server that actually begins the sales order creation transaction - so that we can perform some heavy duty debugging on it.

If anyone knows what the function module is ( or if its a generated function module - how to find what the generated module is) this would greatly assist us in our analysis of the problem.
Many thanks in advance for any help / advice you can offer,
//Julian

Answer:
Solved with a little help from SAP / OSS...
Just in case anyone else is having fun trying to debug the BDOC CRM to R/3 interface - SAP pointed me to the following OSS note:

656823

This details how to debug the BDOC interface (both inbound and outbound interfaces).

The function module name I was looking for, for the Sales order creation on the R/3 side is: BAPI_SALESDOCU_PROXY_UPLOAD

Answer:
Jools,

Thanks for updating this message with the note number.
Copyright ?2007 - 2008 www.jt77.com