web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / SAP ERP CONNECTOR - DO...
Power Automate
Unanswered

SAP ERP CONNECTOR - DOWNLOAD BINARY DATA WITH SO_DOCUMENT_READ_API1 FM

(1) ShareShare
ReportReport
Posted on by 103

Hello!

 

I would like to know whether it's possible to download binary data with SAP ERP connector (invoke function action). My intention is to download GOS attachments using SO_DOCUMENT_READ_API1 FM, which returns attachments as binary.

 

Thanks!

 

Andoni

Categories:
I have the same question (0)
  • jongilman Profile Picture
    Microsoft Employee on at

    Yes, however what SAP calls "binary" is typically base64-encoded data, not actual binary data. Also, if the file is a text file, the data is returned in the OBJECT_CONTENT array. Your logic could be as follows:

    • If file extension is "txt," concatenate the LINE property from OBJECT_CONTENT into a single string
    • Else concatenate the LINE property from OBJECT_HEX into a single base64-encoded string
  • ksoze92 Profile Picture
    103 on at

    Hey @jongilman , thanks a lot for your answer! I will give this a try once I troubleshoot my error with SAP ERP connector....(https://powerusers.microsoft.com/t5/Using-Connectors/SAP-ERP-connector-Cannot-invoke-RFC-timeout/m-p/2747620/highlight/true#M22860)

  • ksoze92 Profile Picture
    103 on at

    Hi @jongilman ,

     

    The CONTENTS_HEX object is hex, not base64 (so I have to convert from hex to base64). How can I handle HEX data in Power Automate?

     

    Thank you!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 259 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 177 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 136 Super User 2026 Season 2

Last 30 days Overall leaderboard