public interface CompanyCodeService extends BatchService<CompanyCodeServiceBatch>
The service enables you to retrieve company codes and their properties like name, country and currency. .
Reference: SAP API Business Hub
OData Service: | API_COMPANYCODE_SRV |
API Version: | 1 |
Communication Scenario: | SAP Analytics Cloud for Planning Integration (SAP_COM_0087), SAP Analytics Cloud for Liquidity Planning Integration (SAP_COM_0443), Employee Central Financial Master Data Integration (SAP_COM_0441), Excise Tax Integration (SAP_COM_0568), Finance - Cloud Consolidation Data Collection Integration (SAP_COM_0241) |
Scope Items: | Import Connection setup with SAP Analytics Cloud (1YB), Liquidity Planning (3L5), Financial Master Data for SAP SuccessFactors Employee Central (4AJ), Core HR with SAP SuccessFactors Employee Central (JB1), Enablement of SAP Cloud Platform Excise Tax (4LO), Group Reporting - Data from SAP Group Reporting Data Collection (287) |
Authentication Methods: | Basic, x509, OAuth2 |
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 © 2021 SAP SE. All rights reserved.