Class DefaultTradingPartnerService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultTradingPartnerService
- All Implemented Interfaces:
BatchService<TradingPartnerServiceBatch>,TradingPartnerService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultTradingPartnerService")
@Deprecated
public class DefaultTradingPartnerService
extends Object
implements TradingPartnerService
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 trading partners and their texts..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_PARTNERCOMPANY_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) |
| Scope Items: | Import Connection setup with SAP Analytics Cloud(1YB), Group Reporting - Data from SAP Group Reporting Data Collection(287) |
| Authentication Methods: | x509 |
| Business Object: | Company Code |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.TradingPartnerService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingTradingPartnerService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multiplePartnerCompanyentities.getPartnerCompanyByKey(String partnerCompany) Deprecated.Fetch a singlePartnerCompanyentity 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
-
DefaultTradingPartnerService
public DefaultTradingPartnerService()Deprecated.Creates a service usingTradingPartnerService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:TradingPartnerServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceTradingPartnerService- 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<TradingPartnerServiceBatch>
-
getAllPartnerCompany
Deprecated.Description copied from interface:TradingPartnerServiceFetch multiplePartnerCompanyentities.- Specified by:
getAllPartnerCompanyin interfaceTradingPartnerService- Returns:
- A fluent helper to fetch multiple
PartnerCompanyentities. 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.
-
getPartnerCompanyByKey
Deprecated.Description copied from interface:TradingPartnerServiceFetch a singlePartnerCompanyentity using key fields.- Specified by:
getPartnerCompanyByKeyin interfaceTradingPartnerService- Parameters:
partnerCompany- CompanyConstraints: Not nullable, Maximum length: 6
- Returns:
- A fluent helper to fetch a single
PartnerCompanyentity 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.
-