Using Adapter for SAP Software, you can either configure an outbound or an inbound module for the adapter connections.
If you try to configure the inbound and immediately configure an outbound for the same module, the outbound artifacts overwrite the inbound artifacts, resulting in both the artifacts not working. This is a tooling limitation. The following error message is displayed:
InvalidMetadataException occurs in SAP BAPI Outbound Invocation