Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @sap/cloud-sdk-vdm-attachment-service

@sap/cloud-sdk-vdm-attachment-service

This package contains the OData VDM for the Attachment Service of SAP S/4HANA Cloud. This service is part of the following communication scenarios: Purchase Requisition Integration (SAP_COM_0102), Distributed Manufacturing Integration (SAP_COM_0077), Product Lifecycle Management - Master Data Integration (SAP_COM_0105), Supplier Invoice Integration (SAP_COM_0057), Defect Processing Integration (SAP_COM_0153), Finance - Posting Integration (SAP_COM_0002), SAP S/4HANA Procurement Hub - Ariba GB - Hub to Ariba GB Integration (SAP_COM_0292), Legal Document Integration (SAP_COM_0178). You can find additional documentation for this service on help.sap.com.

Helpful Links

Index

Type aliases

ReadAttachmentServiceRequestBuilder

ReadAttachmentServiceRequestBuilder: GetAllRequestBuilder<AttachmentContentSet> | GetAllRequestBuilder<DocumentInfoRecordAttch> | GetByKeyRequestBuilder<AttachmentContentSet> | GetByKeyRequestBuilder<DocumentInfoRecordAttch>

WriteAttachmentServiceRequestBuilder

WriteAttachmentServiceRequestBuilder: CreateRequestBuilder<AttachmentContentSet> | UpdateRequestBuilder<AttachmentContentSet> | DeleteRequestBuilder<AttachmentContentSet> | CreateRequestBuilder<DocumentInfoRecordAttch> | UpdateRequestBuilder<DocumentInfoRecordAttch> | DeleteRequestBuilder<DocumentInfoRecordAttch>

Variables

Const defaultAttachmentServicePath

defaultAttachmentServicePath: "/sap/opu/odata/sap/API_CV_ATTACHMENT_SRV" = "/sap/opu/odata/sap/API_CV_ATTACHMENT_SRV"

Functions

batch

changeset

createAttachmentsCount

createUrlAsAttachment

getAllOriginals

  • Returns All Originals Related to a Parent Object.

    Parameters

    Returns FunctionImportRequestBuilder<GetAllOriginalsParameters, AttachmentContentSet[]>

    A request builder that allows to overwrite some of the values and execute the resultng request.

getAttachmentCount

  • Returns the Count of Attachments.

    Parameters

    Returns FunctionImportRequestBuilder<GetAttachmentCountParameters, AttachmentsCount>

    A request builder that allows to overwrite some of the values and execute the resultng request.

renameAttachment

  • Rename Attachment.

    Parameters

    Returns FunctionImportRequestBuilder<RenameAttachmentParameters, AttachmentContentSet>

    A request builder that allows to overwrite some of the values and execute the resultng request.

Object literals

Const functionImports

functionImports: object

createUrlAsAttachment

createUrlAsAttachment: createUrlAsAttachment

getAllOriginals

getAllOriginals: getAllOriginals

getAttachmentCount

getAttachmentCount: getAttachmentCount

renameAttachment

renameAttachment: renameAttachment