If you have read some of the previous chapters, you have become very familiar with the Consume Adapter Service Wizard. With this in mind, we will briefly review this wizard in order to cover the RFC/BAPI material.
When performing Client Outbound operations (from BizTalk), we have the ability to select the following contract types:
BAPI
IDOC
RFC
TRFC
If we expand the BAPI node, we will discover that our schemas are sorted based upon their functional role in the SAP system.
When performing Service Inbound Operations (to BizTalk), we have the ability to select the following contract types:
IDOC
RFC
TRFC
If you recall, one of the key differences between RFCs and BAPIs is the Business Object Repository. BizTalk does not store these Business Objects anywhere so it is not possible for BizTalk to host a BAPI as the underlying function module will not be available.
What is interesting about BizTalk hosting an RFC is...