JDBC Driver for SAP Ariba Procurement

Build 26.0.9655

DownloadApprovableAttachment

Download an attachment associated with the approvable document.

Input

Name Type Required Accepts Output Streams Description
ApprovableType String True False The type of the approvable.

The allowed values are requisitions, invoices, userprofiles.

ApprovableId String True False Unique identifier of the approvable.
AttachmentId String True False Unique identifier of the attachment.
Realm String False False Unique identifier of the realm.
LocalPath String False False The absolute location where you want to save the file in.
FileStream String False True An instance of an output stream where file data is written to. Only used if LocalPath is not set.

Result Set Columns

Name Type Description
FileData String If the LocalPath and FileStream inputs are empty, file data will be output encoded in base64.
Success String Indicates whether or not the operation was successful.
Details String Any extra details on the operation's execution.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655