public interface AttachmentService
This service enables you to manage the entire life cycle of a DMS based attachment: from attachment creation to attachment storage, from access to update via OData Service.
Reference: SAP API Business Hub
OData Service: | API_CV_ATTACHMENT_SRV |
API Version: | 1 |
Communication Scenario: | Product Lifecycle Management - Master Data Integration (SAP_COM_0105) |
Scope Items: | Engineering Bill of Material - Versions Management (1NR) |
Modifier and Type | Method and Description |
---|---|
AttachmentContentCreateFluentHelper |
createAttachmentContent(AttachmentContent attachmentContent)
Create a new
AttachmentContent entity and save it to the S/4HANA system. |
AttachmentContentDeleteFluentHelper |
deleteAttachmentContent(AttachmentContent attachmentContent)
Deletes an existing
AttachmentContent entity in the S/4HANA system. |
GetAllOriginalsFluentHelper |
getAllOriginals(String linkedSAPObjectKey,
String businessObjectTypeName,
String semanticObject)
Returns All Originals Related to a Parent ObjectCreates a fluent helper for the GetAllOriginals OData function import.
|
GetAttachmentCountFluentHelper |
getAttachmentCount(String businessObjectTypeName,
String linkedSAPObjectKey,
String semanticObject)
Returns the Count of AttachmentsCreates a fluent helper for the GetAttachmentCount OData function import.
|
RenameAttachmentFluentHelper |
renameAttachment(String documentInfoRecordDocType,
String documentInfoRecordDocVersion,
String logicalDocument,
String archiveDocumentID,
String businessObjectTypeName,
String linkedSAPObjectKey,
String semanticObject,
String fileName,
String documentInfoRecordDocNumber,
String documentInfoRecordDocPart)
Rename AttachmentCreates a fluent helper for the RenameAttachment OData function import.
|
AttachmentContentCreateFluentHelper createAttachmentContent(AttachmentContent attachmentContent)
AttachmentContent
entity and save it to the S/4HANA system.attachmentContent
- AttachmentContent
entity object that will be created in the S/4HANA system.AttachmentContent
entity. To perform execution, call the execute
method on the fluent helper object.AttachmentContentDeleteFluentHelper deleteAttachmentContent(AttachmentContent attachmentContent)
AttachmentContent
entity in the S/4HANA system.attachmentContent
- AttachmentContent
entity object that will be deleted in the S/4HANA system.AttachmentContent
entity. To perform execution, call the execute
method on the fluent helper object.GetAllOriginalsFluentHelper getAllOriginals(String linkedSAPObjectKey, String businessObjectTypeName, String semanticObject)
Creates a fluent helper for the GetAllOriginals OData function import.
linkedSAPObjectKey
- Constraints: Not nullable, Maximum length: 90businessObjectTypeName
- Constraints: Not nullable, Maximum length: 40semanticObject
- Constraints: Nullable, Maximum length: 40execute
method on the fluent helper object.GetAttachmentCountFluentHelper getAttachmentCount(String businessObjectTypeName, String linkedSAPObjectKey, String semanticObject)
Creates a fluent helper for the GetAttachmentCount OData function import.
linkedSAPObjectKey
- Constraints: Not nullable, Maximum length: 90businessObjectTypeName
- Constraints: Not nullable, Maximum length: 40semanticObject
- Constraints: Nullable, Maximum length: 40execute
method on the fluent helper object.RenameAttachmentFluentHelper renameAttachment(String documentInfoRecordDocType, String documentInfoRecordDocVersion, String logicalDocument, String archiveDocumentID, String businessObjectTypeName, String linkedSAPObjectKey, String semanticObject, String fileName, String documentInfoRecordDocNumber, String documentInfoRecordDocPart)
Creates a fluent helper for the RenameAttachment OData function import.
documentInfoRecordDocType
- Constraints: Nullable, Maximum length: 3fileName
- Constraints: Not nullable, Maximum length: 255documentInfoRecordDocNumber
- Constraints: Nullable, Maximum length: 25documentInfoRecordDocPart
- Constraints: Nullable, Maximum length: 3archiveDocumentID
- Constraints: Not nullable, Maximum length: 40linkedSAPObjectKey
- Constraints: Not nullable, Maximum length: 90businessObjectTypeName
- Constraints: Not nullable, Maximum length: 40documentInfoRecordDocVersion
- Constraints: Nullable, Maximum length: 2semanticObject
- Constraints: Nullable, Maximum length: 40logicalDocument
- Constraints: Not nullable, Maximum length: 32execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.