JDBC Driver for SAP Ariba Procurement

Build 25.0.9434

DownloadProcurementDocumentAttachment

Allows you to retrieve attachment documents that are part of procurement approvables.

Input

Name Type Accepts Output Streams Description
Realm String False Identify requested realm.
AttachmentId String False The unique attachment ID or attachment ID value which is provided as part of the document's attachment data. QueryType and ApprovableId must also be specified if the attachment ID instead of the unique attachment ID is specified.
QueryType String False Specifies the document type of the historical document whose attachment you wish to retrieve.

使用できる値は次のとおりです。invoices, requisitions, receipts, directOrders, copyOrders, ERPOrders, invoiceReconciliations

ApprovableId String False The unique identifier specifying the historical document whose attachment you wish to retrieve, which you can get from the document's UniqueName field.
LocalPath String False The absolute location where you want to save the file in.
FileStream String 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) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434