@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultManualAccrualService") public class DefaultManualAccrualService extends Object implements ManualAccrualService
The service contains accrual subobject, accrual item, accrual account assignment, accrual parameter, and accrual period data. The service can create, update, delete manual accrual objects, and create accrual period data. The information is sent in the request as a payload. All information is used when creating a manual accrual object, including appropriate checks for restricted values and authorizations. Once the manual accrual object has been created, the manual accrual object number is sent in the response with the data included in the manual accrual object. If there are any issues when the manual accrual object is created, the system displays error messages in the response. .
Reference: SAP API Business Hub
OData Service: | OP_API_MANUALACCRUALS_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Accrual Object |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultManualAccrualService()
Creates a service using
ManualAccrualService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultManualAccrualService()
ManualAccrualService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultManualAccrualService withServicePath(@Nonnull String servicePath)
ManualAccrualService
withServicePath
in interface ManualAccrualService
servicePath
- Service path that will override the default.@Nonnull public DefaultManualAccrualServiceBatch batch()
batch
in interface BatchService<ManualAccrualServiceBatch>
@Nonnull public MnlAccrsAccrPerdcAmountsFluentHelper getAllMnlAccrsAccrPerdcAmounts()
ManualAccrualService
MnlAccrsAccrPerdcAmounts
entities.getAllMnlAccrsAccrPerdcAmounts
in interface ManualAccrualService
MnlAccrsAccrPerdcAmounts
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 MnlAccrsAccrPerdcAmountsByKeyFluentHelper getMnlAccrsAccrPerdcAmountsByKey(String accrualEngineAccrualObjectType, String companyCode, String accrualObject, String accrualSubobject, String accrualItemType, String ledger, LocalDateTime accrualPeriodEndDate, String accrualObjectLogicalSystem)
ManualAccrualService
MnlAccrsAccrPerdcAmounts
entity using key fields.getMnlAccrsAccrPerdcAmountsByKey
in interface ManualAccrualService
accrualEngineAccrualObjectType
- Accrual Engine Application Component
Constraints: Not nullable, Maximum length: 4
companyCode
- Company Code
Constraints: Not nullable, Maximum length: 4
accrualObject
- Identifier of the Accrual Object
Constraints: Not nullable, Maximum length: 32
accrualSubobject
- Identifier of the Accrual Subobject
Constraints: Not nullable, Maximum length: 32
accrualItemType
- Accrual Item Type
Constraints: Not nullable, Maximum length: 11
ledger
- Ledger in General Ledger Accounting
Constraints: Not nullable, Maximum length: 2
accrualPeriodEndDate
- Last day of period in Accrual Engine
Constraints: Not nullable, Precision: 0
accrualObjectLogicalSystem
- Logical System of Accrual Object
Constraints: Not nullable, Maximum length: 10
MnlAccrsAccrPerdcAmounts
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.@Nonnull public MnlAccrsAccrPerdcAmountsCreateFluentHelper createMnlAccrsAccrPerdcAmounts(@Nonnull MnlAccrsAccrPerdcAmounts mnlAccrsAccrPerdcAmounts)
ManualAccrualService
MnlAccrsAccrPerdcAmounts
entity and save it to the S/4HANA system.createMnlAccrsAccrPerdcAmounts
in interface ManualAccrualService
mnlAccrsAccrPerdcAmounts
- MnlAccrsAccrPerdcAmounts
entity object that will be created in the S/4HANA system.MnlAccrsAccrPerdcAmounts
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public MnlAccrsAccrPerdcAmountsUpdateFluentHelper updateMnlAccrsAccrPerdcAmounts(@Nonnull MnlAccrsAccrPerdcAmounts mnlAccrsAccrPerdcAmounts)
ManualAccrualService
MnlAccrsAccrPerdcAmounts
entity and save it to the S/4HANA system.updateMnlAccrsAccrPerdcAmounts
in interface ManualAccrualService
mnlAccrsAccrPerdcAmounts
- MnlAccrsAccrPerdcAmounts
entity object that will be updated in the S/4HANA system.MnlAccrsAccrPerdcAmounts
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public MnlAccrsAccrPostingParamFluentHelper getAllMnlAccrsAccrPostingParam()
ManualAccrualService
MnlAccrsAccrPostingParam
entities.getAllMnlAccrsAccrPostingParam
in interface ManualAccrualService
MnlAccrsAccrPostingParam
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 MnlAccrsAccrPostingParamByKeyFluentHelper getMnlAccrsAccrPostingParamByKey(String accrualEngineAccrualObjectType, String accrualObjectLogicalSystem, String companyCode, String accrualObject, String accrualSubobject)
ManualAccrualService
MnlAccrsAccrPostingParam
entity using key fields.getMnlAccrsAccrPostingParamByKey
in interface ManualAccrualService
accrualEngineAccrualObjectType
- Accrual Engine Application Component
Constraints: Not nullable, Maximum length: 4
accrualObjectLogicalSystem
- Logical System of Accrual Object
Constraints: Not nullable, Maximum length: 10
companyCode
- Company Code
Constraints: Not nullable, Maximum length: 4
accrualObject
- Identifier of the Accrual Object
Constraints: Not nullable, Maximum length: 32
accrualSubobject
- Identifier of the Accrual Subobject
Constraints: Not nullable, Maximum length: 32
MnlAccrsAccrPostingParam
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.@Nonnull public MnlAccrsAccrSubobjAssgmtFluentHelper getAllMnlAccrsAccrSubobjAssgmt()
ManualAccrualService
MnlAccrsAccrSubobjAssgmt
entities.getAllMnlAccrsAccrSubobjAssgmt
in interface ManualAccrualService
MnlAccrsAccrSubobjAssgmt
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 MnlAccrsAccrSubobjAssgmtByKeyFluentHelper getMnlAccrsAccrSubobjAssgmtByKey(String accrualEngineAccrualObjectType, String accrualObjectLogicalSystem, String companyCode, String accrualObject, String accrualSubobject, LocalDateTime accrAcctAssgmtValdtyEndDte)
ManualAccrualService
MnlAccrsAccrSubobjAssgmt
entity using key fields.getMnlAccrsAccrSubobjAssgmtByKey
in interface ManualAccrualService
accrualEngineAccrualObjectType
- Accrual Engine Application Component
Constraints: Not nullable, Maximum length: 4
accrualObjectLogicalSystem
- Logical System of Accrual Object
Constraints: Not nullable, Maximum length: 10
companyCode
- Company Code
Constraints: Not nullable, Maximum length: 4
accrualObject
- Identifier of the Accrual Object
Constraints: Not nullable, Maximum length: 32
accrualSubobject
- Identifier of the Accrual Subobject
Constraints: Not nullable, Maximum length: 32
accrAcctAssgmtValdtyEndDte
- To Date of Accrual Item
Constraints: Not nullable, Precision: 0
MnlAccrsAccrSubobjAssgmt
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.@Nonnull public MnlAccrsAccrSubobjAssgmtUpdateFluentHelper updateMnlAccrsAccrSubobjAssgmt(@Nonnull MnlAccrsAccrSubobjAssgmt mnlAccrsAccrSubobjAssgmt)
ManualAccrualService
MnlAccrsAccrSubobjAssgmt
entity and save it to the S/4HANA system.updateMnlAccrsAccrSubobjAssgmt
in interface ManualAccrualService
mnlAccrsAccrSubobjAssgmt
- MnlAccrsAccrSubobjAssgmt
entity object that will be updated in the S/4HANA system.MnlAccrsAccrSubobjAssgmt
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public MnlAccrsAccrSubobjItemFluentHelper getAllMnlAccrsAccrSubobjItem()
ManualAccrualService
MnlAccrsAccrSubobjItem
entities.getAllMnlAccrsAccrSubobjItem
in interface ManualAccrualService
MnlAccrsAccrSubobjItem
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 MnlAccrsAccrSubobjItemByKeyFluentHelper getMnlAccrsAccrSubobjItemByKey(String accrualEngineAccrualObjectType, String accrualObjectLogicalSystem, String companyCode, String accrualObject, String accrualSubobject, String accrualItemType, String ledger, LocalDateTime accrSubobjectItmValdtyEndDte)
ManualAccrualService
MnlAccrsAccrSubobjItem
entity using key fields.getMnlAccrsAccrSubobjItemByKey
in interface ManualAccrualService
accrualEngineAccrualObjectType
- Accrual Engine Application Component
Constraints: Not nullable, Maximum length: 4
accrualObjectLogicalSystem
- Logical System of Accrual Object
Constraints: Not nullable, Maximum length: 10
companyCode
- Company Code
Constraints: Not nullable, Maximum length: 4
accrualObject
- Identifier of the Accrual Object
Constraints: Not nullable, Maximum length: 32
accrualSubobject
- Identifier of the Accrual Subobject
Constraints: Not nullable, Maximum length: 32
accrualItemType
- Accrual Item Type
Constraints: Not nullable, Maximum length: 11
ledger
- Ledger in General Ledger Accounting
Constraints: Not nullable, Maximum length: 2
accrSubobjectItmValdtyEndDte
- To Date of Accrual Item
Constraints: Not nullable, Precision: 0
MnlAccrsAccrSubobjItem
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.@Nonnull public MnlAccrsAccrSubobjItemCreateFluentHelper createMnlAccrsAccrSubobjItem(@Nonnull MnlAccrsAccrSubobjItem mnlAccrsAccrSubobjItem)
ManualAccrualService
MnlAccrsAccrSubobjItem
entity and save it to the S/4HANA system.createMnlAccrsAccrSubobjItem
in interface ManualAccrualService
mnlAccrsAccrSubobjItem
- MnlAccrsAccrSubobjItem
entity object that will be created in the S/4HANA system.MnlAccrsAccrSubobjItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public MnlAccrsAccrSubobjItemUpdateFluentHelper updateMnlAccrsAccrSubobjItem(@Nonnull MnlAccrsAccrSubobjItem mnlAccrsAccrSubobjItem)
ManualAccrualService
MnlAccrsAccrSubobjItem
entity and save it to the S/4HANA system.updateMnlAccrsAccrSubobjItem
in interface ManualAccrualService
mnlAccrsAccrSubobjItem
- MnlAccrsAccrSubobjItem
entity object that will be updated in the S/4HANA system.MnlAccrsAccrSubobjItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public MnlAccrsAccrSubobjParamFluentHelper getAllMnlAccrsAccrSubobjParam()
ManualAccrualService
MnlAccrsAccrSubobjParam
entities.getAllMnlAccrsAccrSubobjParam
in interface ManualAccrualService
MnlAccrsAccrSubobjParam
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 MnlAccrsAccrSubobjParamByKeyFluentHelper getMnlAccrsAccrSubobjParamByKey(String accrualEngineAccrualObjectType, String accrualObjectLogicalSystem, String companyCode, String accrualObject, String accrualSubobject, String accrualSubobjectParameter, LocalDateTime accrSubobjParamValdtyEndDte)
ManualAccrualService
MnlAccrsAccrSubobjParam
entity using key fields.getMnlAccrsAccrSubobjParamByKey
in interface ManualAccrualService
accrualEngineAccrualObjectType
- Accrual Engine Application Component
Constraints: Not nullable, Maximum length: 4
accrualObjectLogicalSystem
- Logical System of Accrual Object
Constraints: Not nullable, Maximum length: 10
companyCode
- Company Code
Constraints: Not nullable, Maximum length: 4
accrualObject
- Identifier of the Accrual Object
Constraints: Not nullable, Maximum length: 32
accrualSubobject
- Identifier of the Accrual Subobject
Constraints: Not nullable, Maximum length: 32
accrualSubobjectParameter
- Parameter Name
Constraints: Not nullable, Maximum length: 30
accrSubobjParamValdtyEndDte
- To Date of Accrual Item
Constraints: Not nullable, Precision: 0
MnlAccrsAccrSubobjParam
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.@Nonnull public MnlAccrsAccrSubobjParamUpdateFluentHelper updateMnlAccrsAccrSubobjParam(@Nonnull MnlAccrsAccrSubobjParam mnlAccrsAccrSubobjParam)
ManualAccrualService
MnlAccrsAccrSubobjParam
entity and save it to the S/4HANA system.updateMnlAccrsAccrSubobjParam
in interface ManualAccrualService
mnlAccrsAccrSubobjParam
- MnlAccrsAccrSubobjParam
entity object that will be updated in the S/4HANA system.MnlAccrsAccrSubobjParam
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public MnlAccrsAccrualSubobjectFluentHelper getAllMnlAccrsAccrualSubobject()
ManualAccrualService
MnlAccrsAccrualSubobject
entities.getAllMnlAccrsAccrualSubobject
in interface ManualAccrualService
MnlAccrsAccrualSubobject
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 MnlAccrsAccrualSubobjectByKeyFluentHelper getMnlAccrsAccrualSubobjectByKey(String accrualEngineAccrualObjectType, String accrualObjectLogicalSystem, String companyCode, String accrualObject, String accrualSubobject)
ManualAccrualService
MnlAccrsAccrualSubobject
entity using key fields.getMnlAccrsAccrualSubobjectByKey
in interface ManualAccrualService
accrualEngineAccrualObjectType
- Accrual Engine Application Component
Constraints: Not nullable, Maximum length: 4
accrualObjectLogicalSystem
- Logical System of Accrual Object
Constraints: Not nullable, Maximum length: 10
companyCode
- Company Code
Constraints: Not nullable, Maximum length: 4
accrualObject
- Unique External Reference for Accrual Object
Constraints: Not nullable, Maximum length: 32
accrualSubobject
- Unique Reference for an Accrual Subobject
Constraints: Not nullable, Maximum length: 32
MnlAccrsAccrualSubobject
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.@Nonnull public MnlAccrsAccrualSubobjectCreateFluentHelper createMnlAccrsAccrualSubobject(@Nonnull MnlAccrsAccrualSubobject mnlAccrsAccrualSubobject)
ManualAccrualService
MnlAccrsAccrualSubobject
entity and save it to the S/4HANA system.createMnlAccrsAccrualSubobject
in interface ManualAccrualService
mnlAccrsAccrualSubobject
- MnlAccrsAccrualSubobject
entity object that will be created in the S/4HANA system.MnlAccrsAccrualSubobject
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public MnlAccrsAccrualSubobjectUpdateFluentHelper updateMnlAccrsAccrualSubobject(@Nonnull MnlAccrsAccrualSubobject mnlAccrsAccrualSubobject)
ManualAccrualService
MnlAccrsAccrualSubobject
entity and save it to the S/4HANA system.updateMnlAccrsAccrualSubobject
in interface ManualAccrualService
mnlAccrsAccrualSubobject
- MnlAccrsAccrualSubobject
entity object that will be updated in the S/4HANA system.MnlAccrsAccrualSubobject
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public DeleteFluentHelper delete(String accrualEngineAccrualObjectType, String accrualObjectLogicalSystem, String companyCode, String accrualObject, String accrualSubobject, LocalDateTime documentDate, LocalDateTime postingDate, String fiscalPeriod)
ManualAccrualService
Creates a fluent helper for the Delete OData function import.
delete
in interface ManualAccrualService
accrualEngineAccrualObjectType
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: AccrualEngineAccrualObjectType
accrualObjectLogicalSystem
- Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: AccrualObjectLogicalSystem
companyCode
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: CompanyCode
accrualObject
- Constraints: Not nullable, Maximum length: 32
Original parameter name from the Odata EDM: AccrualObject
accrualSubobject
- Constraints: Not nullable, Maximum length: 32
Original parameter name from the Odata EDM: AccrualSubobject
documentDate
- Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: DocumentDate
postingDate
- Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: PostingDate
fiscalPeriod
- Constraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: FiscalPeriod
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.