Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Koraganti77
Regular Visitor

Write data from Fabric Onelake to SAP on-prem/cloud database or HANA database

Dear Memebers,

I have a busness requirement (Part of POC) where I need to write data from Fabric Onelake to SAP on-pre/cloud or HANA database usinng Dataflowgen2 or power query etc.. Any inputs, guidelines greatly appreciated. 

 

Thanking in advance 

 

Best

Srikanth

1 ACCEPTED SOLUTION
FabianSchut
Solution Sage
Solution Sage

Hi @Koraganti77,

 

Unfortunately, the Data Flow Gen2 doesn't support a data destination like SAP on-prem/cloud or HANA. The list of data destinations can be found here: https://learn.microsoft.com/en-us/fabric/data-factory/dataflow-gen2-data-destinations-and-managed-se....

 

If you are looking for a low-code option to provide a write back to SAP on-prem/cloud or HANA, you could use the copy activity within a data pipeline from MS Fabric. There SAP on-prem/cloud or HANA is supported, as can be found here: https://learn.microsoft.com/en-us/fabric/data-factory/pipeline-support#s.

 

If you are familiar with Python, you could also use a notebook and write your own script to write the data to SAP cloud or HANA. On-prem would be more difficult in this case, due to the fact that there is no on-prem gateway for the notebook in Fabric yet.

Therefore, I suggest you use a copy activity.

 

Kind regards,

Fabian

View solution in original post

7 REPLIES 7
Koraganti77
Regular Visitor

@FabianSchut , thank  you once again; we were able to write back to SAP HANA database tables via Fabric Pipeline Copy activity;  we have used ODBC connection setup to achieve this after resolving intial hiccups. 

Much appreciated your support and time.

 

Best

Srikanth

Koraganti77
Regular Visitor

Hi @FabianSchut ,
When we tried to leverage the Copy Activity to write back to SAP HANA DB(on-prem instance), don't see SAP application under destination tab direct connector, and for  ODBC connector the connection was successful ( same connection was used to pull data from SAP into Onelake in Fabric) but while expanding the Table property we get " Failed" error message( there are 100,000 tables are there under that connection).  screen prints can be seen below.

Koraganti77_0-1726039478955.png

Koraganti77_1-1726040551934.png

Koraganti77_2-1726040652906.png

 

 

On other note,

1. does delta parquet format supported by SAP systems while writing the data to SAP HANA tables ?

2.  does it require to change the delta parquet to SAP compatible while writing ?

 

Thanks in advance for your time and support

Best

Srikanth

Hi @Koraganti77,

 

How did you try to setup the connection to SAP HAHA? Could you follow these steps:
Manage connections and gateways

FabianSchut_5-1726061227831.png

 

 

And select On-premises. Within On-premises, you have the option to select the SAP HANA:

FabianSchut_6-1726061303729.png

 

sure @FabianSchut , I will test this one and come back. thanks a ton though 

Hi @Koraganti77 ,

Have you solved your problem? If so, can you share your solution here and mark the correct answer as a standard answer to help other members find it faster? Thank you very much for your kind cooperation!

 

 

Best Regards

Yilong Zhou

Koraganti77
Regular Visitor

Hi @FabianSchut , thank you for your inputs, I wiill be teting the solution and share my experience here. 
again much appreciated 🙂

 

Best

Srikanth

FabianSchut
Solution Sage
Solution Sage

Hi @Koraganti77,

 

Unfortunately, the Data Flow Gen2 doesn't support a data destination like SAP on-prem/cloud or HANA. The list of data destinations can be found here: https://learn.microsoft.com/en-us/fabric/data-factory/dataflow-gen2-data-destinations-and-managed-se....

 

If you are looking for a low-code option to provide a write back to SAP on-prem/cloud or HANA, you could use the copy activity within a data pipeline from MS Fabric. There SAP on-prem/cloud or HANA is supported, as can be found here: https://learn.microsoft.com/en-us/fabric/data-factory/pipeline-support#s.

 

If you are familiar with Python, you could also use a notebook and write your own script to write the data to SAP cloud or HANA. On-prem would be more difficult in this case, due to the fact that there is no on-prem gateway for the notebook in Fabric yet.

Therefore, I suggest you use a copy activity.

 

Kind regards,

Fabian

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.