How to use PI/PO systems in SAP BTP

How to use PI/PO systems in SAP BTP


PI/PO systems are usually located in a private environment so you need to use special SAP services to organize the connection.
  1. First of all, configure a cloud connector on the system which has access to PI/PO. See the guide.
  2. Create two services from the command line (or from UI):
    cf create-service connectivity lite figaf-connectivity
    cf create-service destination lite figaf-destination
  3. Uncomment the two lines from the manifest.yml
    1. #  - figaf-connectivity
    2. #  - figaf-destination
  4. If your cloud connector has locationId, specify the corresponding value in vars.yml.
  5. Push the applications as usual:
    cf push --vars-file vars.yml
  6. Use virtual host and port in the Agent configuration. User should have appropriate user roles configurationP4 port usage is not supported for now.
  7. Check the connectivity. If everything is fine, you will see the tests passed except PI libraries and EJB API access (it's expected for BTP deployment):

Specific services

Normally, it's enough just to expose root url path with all sub-paths:
If you want to specify specific services directly instead of just root url path, define the following services with `Path and All Subpaths` access policy:
  1. /dir/query/int
  2. /rep/query/int
  3. /dir/read/ext
  4. /rep/read/ext
  5. /dir/hmi_channel_xml/int
  6. /CommunicationPartyInService
  7. /BusinessComponentInService
  8. /BusinessSystemInService
  9. /CommunicationChannelInService
  10. /ConfigurationScenarioInService
  11. /IntegratedConfigurationInService
  12. /IntegratedConfiguration750InService
  13. /SenderAgreementInService
  14. /ReceiverAgreementInService
  15. /ReceiverDeterminationInService
  16. /InterfaceDeterminationInService
  17. /AdapterMessageMonitoring
  18. /webdynpro/dispatcher/sap.com/tc~lm~itsam~ui~mainframe~wd/FloorPlanApp
  19. /webdynpro/resources/sap.com/tc~lm~itsam~ui~mainframe~wd/FloorPlanApp 
  20. /mdt
  21. /AdapterFramework/ChannelAdminServlet
  22. /BPMFacadeBeanImplService/BPMFacadeBeanImpl

SAP PRO system user roles configuration

Be sure that the user used in Agent configuration has roles depending on the Figaf Tool tools you are going to work with:
  1. Testing Tool: SAP_XI_API_DEVELOP_J2EE (to have read/write permissions in the integration directory), SAP_XI_MONITOR_J2EE (to use AdapterMessageMonitoring WS API for fetching payloads that required for SAP LOG Module integration), and custom role (to send messages through created XI channel) with the following action:
  1. Support Tool: SAP_XI_ALERT_CONSUMER.
  2. Migration overview and PI agent reports, and you would like to add BPM related interfaces: SAP_BPM_SolutionManager (used during report generation, otherwise the error occurs Requesting user does not own the permission 'bpm.solutionmanager' which is required for this call.).
You can find more details in Agent component deployment and configuration (optional, only for PRO systems) and SAP PRO system user roles configuration (integration without Agent component) sections of the user manual available for each global version, e.g., https://figaf.com/help/irt-doc/2408/#sap-pro-system-user-roles-configuration-integration-without-agent-component

    • Related Articles

    • Accessing SMTP Server via Cloud Connector with Figaf on SAP BTP

      Before you get started you should have enabled Cloud connector. This is the same steps for connecting to SAP PI/PO from Figaf see. How to use PI/PO systems in SAP BTP Navigate to your cloud connector and configure it to connect with your local smtp ...
    • Deploy to SAP BTP, Cloud Foundry

      This article describes how to deploy the Figaf tool to CPI BTP, Cloud Foundry. Before you get started you need to have a Cloud Foundry subaccount with Postgresql and Cloud Foundry Runtime enabled. Read more here how to get Setting up SAP BTP Account ...
    • How to download logs from Figaf app in SAP BTP

      SAP BTP cockpit allows accessing only the last 1000 lines of logs. Sometimes it's enough for debugging but in most cases, it's not. So there is a way to download all needed logs directly from the app. First of all, you need to execute next two ...
    • Setting up SAP BTP Account to deploy Figaf in Cloud Foundry

      BTP administration can be a bit complicated and contain difffrent setups. We have created a small guide for you to check before you install Figaf in BTP. It is likely that things will change there. We currently have a problem with running Figaf in ...
    • Setup Cloud Connector to Mock SAP CPI iFlows

      To mock endpoints in SAP Cloud Integration/CPI you need to set up the Cloud Connector to point to the Figaf system. If you deploy in SAP BTP there is no need to set up Cloud Connector because it is hosted on a public URL. This guide helps you set it ...