@Named public class DefaultPurchasingSourceService extends Object implements PurchasingSourceService
This communication scenario enables a remote system to read purchasing sources from the SAP S/4HANA tenant. The remote system calls the sychronous OData service API_PURCHASING_SOURCE.
Reference: SAP API Business Hub
OData Service: | API_PURCHASING_SOURCE_SRV |
API Version: | 1 |
Communication Scenario: | Purchasing Source Integration (SAP_COM_0162) |
Scope Items: | Purchase Contract (BMD) |
API Business Object: | Business Object |
Constructor and Description |
---|
DefaultPurchasingSourceService() |
Modifier and Type | Method and Description |
---|---|
PurchasingSourceFluentHelper |
getAllPurchasingSource()
Fetch multiple
PurchasingSource entities. |
PurchasingSourceByKeyFluentHelper |
getPurchasingSourceByKey(String material,
String plant,
String sourceListRecord)
Fetch a single
PurchasingSource entity using key fields. |
public PurchasingSourceFluentHelper getAllPurchasingSource()
PurchasingSourceService
PurchasingSource
entities.getAllPurchasingSource
in interface PurchasingSourceService
PurchasingSource
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 PurchasingSourceByKeyFluentHelper getPurchasingSourceByKey(String material, String plant, String sourceListRecord)
PurchasingSourceService
PurchasingSource
entity using key fields.getPurchasingSourceByKey
in interface PurchasingSourceService
material
- Alphanumeric key uniquely identifying the material.Constraints: Not nullable, Maximum length: 40
plant
- Specifies the key for a production facility or branch office within the company (that is, the company code).Constraints: Not nullable, Maximum length: 4
sourceListRecord
- Alphanumeric key uniquely identifying the document.Constraints: Not nullable, Maximum length: 5
PurchasingSource
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.