Preparing Inbound and Outbound Messaging
To enable outbound and inbound messaging with the TIBCO Environment, you have to configure them in the SAP system first.
Inbound Messaging
To enable inbound messaging at run time, ensure that you implement the following configurations in the SAP system:
- Configurations of Invoking RFC/BAPIs from the TIBCO Environment
- To use an adapter configuration to invoke RFC/BAPIs in the SAP system, ensure your account has the authorization to invoke RFC/BAPIs.
Authorization for each business activity has to be given to the SAP client if the activity is performed by using an adapter configuration. For example, if you configure an inbound adapter configuration to create sales orders in the SAP system, then the SAP client needs all the required permissions to create a sales order.
- Validate the authorizations in SAP GUI by running the transaction SE37 without specifying a destination.
- To use an adapter configuration to invoke RFC/BAPIs in the SAP system, ensure your account has the authorization to invoke RFC/BAPIs.
- Configurations of Publishing IDocs from the TIBCO Environment
- Create a logical system for adapter configurations as described in Create a logical system for the adapter.
- Create a distribution model as described in Create a distribution model.
- Define a partner profile as described in Define a partner profile.
Outbound Messaging
To enable outbound messaging at run time, ensure that you implement the following configurations in the SAP system:
- Configurations of Invoking RFC/BAPIs from the SAP System
- Define an RFC destination in the SAP system as described in
Define an RFC destination in the SAP system.
After creating an RFC destination, map it to a program ID. Outbound adapter configuraions are registered on the SAP gateway with this program ID. Therefore, outbound adapter configurations can receive RFC/BAPIs invoked on the RFC destination.
- Ensure that your SAP account is authorized to execute RFC/BAPIs.
- Define an RFC destination in the SAP system as described in
Define an RFC destination in the SAP system.
- Configurations of Publishing IDocs from the SAP System
- Create a logical system for adapter configurations as described in Create a logical system for the adapter.
- Establish the customer distribution model as described in Establish the customer distribution model.
- Configure RFC communication.
- Test the SAP ALE configuration. In the SAP system, run a transaction for customer data to send IDocs to the logical system created in step 1.