In order to use BAPIs and RFCs to connect from Power Platform to your SAP system, you need to install the On-premises Data Gateway first.
Together with the SAP .Net Connector it then allows a seamless access from Power Apps or Power Automate to your SAP system.
➡️ https://dotnet.microsoft.com/download...
➡️ https://learn.microsoft.com/en-us/cpp...
➡️ https://support.sap.com/en/product/co...
➡️ https://www.microsoft.com/en-us/downl...
🙎🏻♂️ / holger-bruchelt
See also more information at https://aka.ms/learn-sap-integration