Class DefaultAllowlistIntercompanyPostingService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultAllowlistIntercompanyPostingService
- All Implemented Interfaces:
BatchService<AllowlistIntercompanyPostingServiceBatch>,AllowlistIntercompanyPostingService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultAllowlistIntercompanyPostingService")
@Deprecated
public class DefaultAllowlistIntercompanyPostingService
extends Object
implements AllowlistIntercompanyPostingService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
The service returns allowlist of sender/receiver company code combinations for intercompany postings. Filters, sorting, and other OData operations can be used..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_FCO_ICO_RESTRICTION |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Block Intercompany Postings Integration(SAP_COM_0745) |
| Scope Items: | Overhead Cost Accounting(J54), Overhead Cost Accounting(O54) |
| Authentication Methods: | x509 |
| Business Object: | Company Code |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.AllowlistIntercompanyPostingService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingAllowlistIntercompanyPostingService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multipleAllowlistentities.getAllowlistByKey(String senderCompanyCode, String receiverCompanyCode) Deprecated.Fetch a singleAllowlistentity 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
-
DefaultAllowlistIntercompanyPostingService
public DefaultAllowlistIntercompanyPostingService()Deprecated.Creates a service usingAllowlistIntercompanyPostingService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultAllowlistIntercompanyPostingService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:AllowlistIntercompanyPostingServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceAllowlistIntercompanyPostingService- 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<AllowlistIntercompanyPostingServiceBatch>
-
getAllAllowlist
Deprecated.Description copied from interface:AllowlistIntercompanyPostingServiceFetch multipleAllowlistentities.- Specified by:
getAllAllowlistin interfaceAllowlistIntercompanyPostingService- Returns:
- A fluent helper to fetch multiple
Allowlistentities. 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.
-
getAllowlistByKey
@Nonnull public AllowlistByKeyFluentHelper getAllowlistByKey(String senderCompanyCode, String receiverCompanyCode) Deprecated.Description copied from interface:AllowlistIntercompanyPostingServiceFetch a singleAllowlistentity using key fields.- Specified by:
getAllowlistByKeyin interfaceAllowlistIntercompanyPostingService- Parameters:
senderCompanyCode- Sender Company CodeConstraints: Not nullable, Maximum length: 4
receiverCompanyCode- Receiver Company CodeConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
Allowlistentity 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.
-