Hi Christian
The position of your module looks correct. Even the link below confirms it.
https://help.sap.com/saphelp_nw04/helpdata/en/cd/5af7c0c994e24fb0d0088443513de2/frameset.htm
In the receiver adapter, if you want to add your own modules to process the request message, you add them before the module specified below; if you want to add your own modules to process the response message, you add them after the following module:
sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
I tested this out with the module configuration below and it works fine.
From the audit log, you can see the BIC conversion is successful and the SOAP message successfully transmitted. I checked on the receiver side, and the EDIFACT flat file was received.
Can you add the "destTargetMsg" parameter = "MainDocument"? I think your BIC conversion is saving the converted document under a different attachment name, but the SOAP adapter is sending out the MainDocument (which is still the EDIFACT XML). This parameter should replace the MainDocument with the converted file.
Rgds
Eng Swee