@Named public class DefaultRetrieveMaterialDocumentsService extends Object implements RetrieveMaterialDocumentsService
This service enables you to retrieve material documents using the OData protocol with filter data provided in the payload. It can be consumed by external warehouse applications.
Reference: SAP API Business Hub
OData Service: | API_MATERIAL_DOCUMENT_SRV |
API Version: | 1 |
Minimum ERP Version: | 1702 |
Communication Scenario: | Material Document Integration (SAP_COM_0108) |
Scope Items: | Stock Handling - Rework, Scrap, Blocked Stock (BMC) |
Constructor and Description |
---|
DefaultRetrieveMaterialDocumentsService() |
Modifier and Type | Method and Description |
---|---|
MaterialDocumentHeaderFluentHelper |
getAllMaterialDocumentHeader()
Fetch multiple
MaterialDocumentHeader entities. |
MaterialDocumentItemFluentHelper |
getAllMaterialDocumentItem()
Fetch multiple
MaterialDocumentItem entities. |
MaterialDocumentHeaderByKeyFluentHelper |
getMaterialDocumentHeaderByKey(String materialDocumentYear,
String materialDocument)
Fetch a single
MaterialDocumentHeader entity using key fields. |
MaterialDocumentItemByKeyFluentHelper |
getMaterialDocumentItemByKey(String materialDocumentYear,
String materialDocument,
String materialDocumentItem)
Fetch a single
MaterialDocumentItem entity using key fields. |
public DefaultRetrieveMaterialDocumentsService()
public MaterialDocumentHeaderFluentHelper getAllMaterialDocumentHeader()
RetrieveMaterialDocumentsService
MaterialDocumentHeader
entities.getAllMaterialDocumentHeader
in interface RetrieveMaterialDocumentsService
MaterialDocumentHeader
entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.public MaterialDocumentHeaderByKeyFluentHelper getMaterialDocumentHeaderByKey(String materialDocumentYear, String materialDocument)
RetrieveMaterialDocumentsService
MaterialDocumentHeader
entity using key fields.getMaterialDocumentHeaderByKey
in interface RetrieveMaterialDocumentsService
materialDocumentYear
- Material Document YearConstraints: Not nullable, Maximum length: 4
materialDocument
- Number of Material DocumentConstraints: Not nullable, Maximum length: 10
MaterialDocumentHeader
entity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.public MaterialDocumentItemFluentHelper getAllMaterialDocumentItem()
RetrieveMaterialDocumentsService
MaterialDocumentItem
entities.getAllMaterialDocumentItem
in interface RetrieveMaterialDocumentsService
MaterialDocumentItem
entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.public MaterialDocumentItemByKeyFluentHelper getMaterialDocumentItemByKey(String materialDocumentYear, String materialDocument, String materialDocumentItem)
RetrieveMaterialDocumentsService
MaterialDocumentItem
entity using key fields.getMaterialDocumentItemByKey
in interface RetrieveMaterialDocumentsService
materialDocumentYear
- Material Document YearConstraints: Not nullable, Maximum length: 4
materialDocument
- Number of Material DocumentConstraints: Not nullable, Maximum length: 10
materialDocumentItem
- Item in Material DocumentConstraints: Not nullable, Maximum length: 4
MaterialDocumentItem
entity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.Copyright © 2017 SAP SE. All rights reserved.