@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultTradingPartnerService") public class DefaultTradingPartnerService extends Object implements TradingPartnerService
This service enables you to read trading partner 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_PARTNERCOMPANY_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) |
Constructor and Description |
---|
DefaultTradingPartnerService() |
Modifier and Type | Method and Description |
---|---|
PartnerCompanyFluentHelper |
getAllPartnerCompany()
Fetch multiple
PartnerCompany entities. |
PartnerCompanyByKeyFluentHelper |
getPartnerCompanyByKey(String partnerCompany)
Fetch a single
PartnerCompany entity using key fields. |
public PartnerCompanyFluentHelper getAllPartnerCompany()
TradingPartnerService
PartnerCompany
entities.getAllPartnerCompany
in interface TradingPartnerService
PartnerCompany
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 PartnerCompanyByKeyFluentHelper getPartnerCompanyByKey(String partnerCompany)
TradingPartnerService
PartnerCompany
entity using key fields.getPartnerCompanyByKey
in interface TradingPartnerService
partnerCompany
- Unique company ID of a company within your corporate group.Constraints: Not nullable, Maximum length: 6
PartnerCompany
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 © 2018 SAP SE. All rights reserved.