public interface CompanyCodeService extends BatchService<CompanyCodeServiceBatch>
This service enables you to read company code master data in an API call. It is based on the OData protocol, and can be consumed in Fiori apps and on other user interfaces.
Reference: SAP API Business Hub
OData Service: | API_COMPANYCODE_SRV |
API Version: | 1 |
Communication Scenario: | SAP Business Objects Cloud for Planning Integration (SAP_COM_0087) |
Scope Items: | oData Integration with SAP Business Objects Cloud for Planning (1YB) |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
Modifier and Type | Method and Description |
---|---|
CompanyCodeFluentHelper |
getAllCompanyCode()
Fetch multiple
CompanyCode
entities. |
CompanyCodeByKeyFluentHelper |
getCompanyCodeByKey(String companyCode)
Fetch a single
CompanyCode
entity using key fields. |
CompanyCodeService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull CompanyCodeService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull CompanyCodeFluentHelper getAllCompanyCode()
CompanyCode
entities.CompanyCode
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.@Nonnull CompanyCodeByKeyFluentHelper getCompanyCodeByKey(String companyCode)
CompanyCode
entity using key fields.companyCode
- The company code is an organizational unit within financial accounting.
Constraints: Not nullable, Maximum length: 4
CompanyCode
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 © 2019 SAP SE. All rights reserved.