@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultAllowlistIntercompanyPostingService") public class DefaultAllowlistIntercompanyPostingService extends Object implements AllowlistIntercompanyPostingService
The service returns allowlist of sender/receiver company code combinations for intercompany postings. Filters, sorting, and other OData operations can be used..
Reference: SAP API Business Hub
OData Service: | API_FCO_ICO_RESTRICTION |
API Version: | 1 |
Communication Scenario: | Block Intercompany Postings Integration (SAP_COM_0745) |
Scope Items: | Overhead Cost Accounting (J54) |
Authentication Methods: | Basic, x509 |
Business Object: | CompanyCode |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultAllowlistIntercompanyPostingService()
Creates a service using
AllowlistIntercompanyPostingService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultAllowlistIntercompanyPostingServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
AllowlistFluentHelper |
getAllAllowlist()
Fetch multiple
Allowlist entities. |
AllowlistByKeyFluentHelper |
getAllowlistByKey(String senderCompanyCode,
String receiverCompanyCode)
Fetch a single
Allowlist entity using key fields. |
DefaultAllowlistIntercompanyPostingService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultAllowlistIntercompanyPostingService()
AllowlistIntercompanyPostingService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultAllowlistIntercompanyPostingService withServicePath(@Nonnull String servicePath)
AllowlistIntercompanyPostingService
withServicePath
in interface AllowlistIntercompanyPostingService
servicePath
- Service path that will override the default.@Nonnull public DefaultAllowlistIntercompanyPostingServiceBatch batch()
batch
in interface BatchService<AllowlistIntercompanyPostingServiceBatch>
@Nonnull public AllowlistFluentHelper getAllAllowlist()
AllowlistIntercompanyPostingService
Allowlist
entities.getAllAllowlist
in interface AllowlistIntercompanyPostingService
Allowlist
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 public AllowlistByKeyFluentHelper getAllowlistByKey(String senderCompanyCode, String receiverCompanyCode)
AllowlistIntercompanyPostingService
Allowlist
entity using key fields.getAllowlistByKey
in interface AllowlistIntercompanyPostingService
senderCompanyCode
- Sender Company Code
Constraints: Not nullable, Maximum length: 4
receiverCompanyCode
- Receiver Company Code
Constraints: Not nullable, Maximum length: 4
Allowlist
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.