Class DefaultCompanyCodeService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultCompanyCodeService
- All Implemented Interfaces:
BatchService<CompanyCodeServiceBatch>,CompanyCodeService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultCompanyCodeService")
@Deprecated
public class DefaultCompanyCodeService
extends Object
implements CompanyCodeService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
The service enables you to retrieve company codes and their properties like name, country and currency. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_COMPANYCODE_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | SAP Analytics Cloud for Planning Integration(SAP_COM_0087), Finance - Cloud Consolidation Data Collection Integration(SAP_COM_0241), Employee Central Financial Master Data Integration(SAP_COM_0441), SAP Analytics Cloud for Liquidity Planning Integration(SAP_COM_0443), Excise Tax Integration(SAP_COM_0568), Procurement - Supplier Quotation Management Integration(SAP_COM_0760), Public Sector API Integration(SAP_COM_0761) |
| Scope Items: | Import Connection setup with SAP Analytics Cloud(1YB), Group Reporting - Data from SAP Group Reporting Data Collection(287), Core HR with SAP SuccessFactors Employee Central(JB1), Financial Master Data for SAP SuccessFactors Employee Central(4AJ), Liquidity Planning(3L5), Enablement of SAP Excise Tax Management(4LO), Direct Material Sourcing(4RD), Government Budget Planning(6UC) |
| Authentication Methods: | x509 |
| Business Object: | Company Code |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.CompanyCodeService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingCompanyCodeService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multipleCompanyCodeentities.getCompanyCodeByKey(String companyCode) Deprecated.Fetch a singleCompanyCodeentity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultCompanyCodeService
public DefaultCompanyCodeService()Deprecated.Creates a service usingCompanyCodeService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:CompanyCodeServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceCompanyCodeService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<CompanyCodeServiceBatch>
-
getAllCompanyCode
Deprecated.Description copied from interface:CompanyCodeServiceFetch multipleCompanyCodeentities.- Specified by:
getAllCompanyCodein interfaceCompanyCodeService- Returns:
- A fluent helper to fetch multiple
CompanyCodeentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getCompanyCodeByKey
Deprecated.Description copied from interface:CompanyCodeServiceFetch a singleCompanyCodeentity using key fields.- Specified by:
getCompanyCodeByKeyin interfaceCompanyCodeService- Parameters:
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
CompanyCodeentity 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 theexecutemethod on the fluent helper object.
-