Forum Discussion

ericjo's avatar
ericjo
Helper III
7 months ago
Solved

Power BI Connect to SAP t-code

I'm looking for a way to connect SAP t-code data to Power BI.
I found a paid connector called DVW Connector, but it's not available due to regulatory restrictions.

1. Directly connecting Power BI and SAP t-code.
2. (Considering) Using Power Automate Desktop to download the t-code Excel file and upload it to Sharepoint.
I'm saving it to SharePoint so I can share it with other team members. I've considered two options, with Option 1 being the most optimal, and Option 2 being considered if Option 1 doesn't work.

 

I appreciate your feedback and advice. Thank you.

  • Hii ericjo 

     

    Power BI cannot connect directly to an SAP t-code because a t-code is only a front-end transaction, not a data source. Power BI can connect only to SAP backend data such as SAP tables, CDS views, BW queries, or HANA views.If direct access is not allowed, a workaround is using Power Automate Desktop to run the t-code, export data to Excel, save it to SharePoint/OneDrive, and then connect Power BI to that file but this is not recommended for enterprise use.

8 Replies

  • Hii ericjo 

     

    Power BI cannot connect directly to an SAP t-code because a t-code is only a front-end transaction, not a data source. Power BI can connect only to SAP backend data such as SAP tables, CDS views, BW queries, or HANA views.If direct access is not allowed, a workaround is using Power Automate Desktop to run the t-code, export data to Excel, save it to SharePoint/OneDrive, and then connect Power BI to that file but this is not recommended for enterprise use.

    • ericjo's avatar
      ericjo
      Helper III

      Thank you for your reply. Is this not recommended for security reasons in a corporate environment?

      • rohit1991's avatar
        rohit1991
        Super User

        Hii ericjo 

         

        Yes. It is not recommended in a corporate environment mainly due to security, stability, and governance concerns. Power Automate Desktop relies on SAP GUI automation, which requires user credentials, has no row-level security enforcement, is prone to breaking when SAP screens change, and is difficult to audit or support at scale.For enterprise scenarios, accessing SAP backend tables, CDS views, BW queries, or HANA views is the secure and supported approach.

  • Power BI cannot connect directly to an SAP t-code. A t-code is just a transaction UI, not a data source. You must connect to the underlying SAP data layer or extract the data first.

     

    Best option would be connecting Power BI to SAP data sources (not t-codes).

    Depending on your SAP landscape:

    SAP ECC

    • SAP ERP Connector (tables, function modules)

    • SAP BW Connector (recommended if BW exists)

    • SAP OData services (if exposed)

    SAP S/4HANA

    • SAP HANA Connector

    • OData / CDS Views (best modern option)

    • ericjo's avatar
      ericjo
      Helper III

      Thank you for sharing the various methods. I should have mentioned this in the main text, but there's a rule that prevents direct connection to the original SAP data. I was looking for a way to connect using the provided t-code. Using BW would have been ideal, but I'm not currently using BW, so I'll have to look into other methods.

  • v-ssriganesh's avatar
    v-ssriganesh
    Community Support

    Hi ericjo,

    Thank you for posting your query in the Microsoft Fabric Community Forum, and thanks to kushanNa, rohit1991 & cengizhanarslan for sharing valuable insights.

     

    Could you please confirm if your query has been resolved by the provided solutions? This would be helpful for other members who may encounter similar issues.

     

    Thank you for being part of the Microsoft Fabric Community.