Class DefaultContractAccountingDocumentManageService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,ContractAccountingDocumentManageService
Retrieve a list of documents. Read data on document header, document business partner line items and document general ledger line items. Update document header and document business partner line items. Create and delete business locks on existing business partner line items..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CADOCUMENTMANAGE_0001 |
| API Version: | 1.1.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Finance - Contract Accounting Open Item Management Integration(SAP_COM_0361) |
| Scope Items: | Contract Accounting - Open Item Management(2UJ), Contract Accounting: Open Item Management(PUJ) |
| Authentication Methods: | x509 |
| Service Group Name: | API_CADOCUMENTMANAGE |
| Business Object: | Contract Accounting Document |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.ContractAccountingDocumentManageService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingContractAccountingDocumentManageService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theCADocBPItementity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theCADocBPItemBusLockentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theCADocBPItemLogicalentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theCADocHeaderentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theCADocGLItementity collection matching the filter and search expressions.createBPItem(CADocBPItem cADocBPItem) Deprecated.Create a newCADocBPItementity and save it to the S/4HANA system.deleteBPItemBusLock(CADocBPItemBusLock cADocBPItemBusLock) Deprecated.Deletes an existingCADocBPItemBusLockentity in the S/4HANA system.Deprecated.Fetch multipleCADocBPItementities.Deprecated.Fetch multipleCADocBPItemBusLockentities.Deprecated.Fetch multipleCADocBPItemLogicalentities.Deprecated.Fetch multipleCADocHeaderentities.Deprecated.Fetch multipleCADocGLItementities.getBPItemBusLockByKey(String cADocumentNumber, String cARepetitionItemNumber, String cABPItemNumber, String cASubItemNumber, String cABusinessProcess, String cABusinessLockReason, LocalDate cABusinessLockValidFrom, LocalDate cABusinessLockValidTo) Deprecated.Fetch a singleCADocBPItemBusLockentity using key fields.getBPItemByKey(String cADocumentNumber, String cARepetitionItemNumber, String cABPItemNumber, String cASubItemNumber) Deprecated.Fetch a singleCADocBPItementity using key fields.getBPItemLogicalByKey(String cADocumentNumber, String cARepetitionItemNumber, String cABPItemNumber, String cASubItemNumber) Deprecated.Fetch a singleCADocBPItemLogicalentity using key fields.getDocumentHeaderByKey(String cADocumentNumber) Deprecated.Fetch a singleCADocHeaderentity using key fields.getGLItemByKey(String cADocumentNumber, String cAGLItemNumber) Deprecated.Fetch a singleCADocGLItementity using key fields.Deprecated.updateBPItem(CADocBPItem cADocBPItem) Deprecated.Update an existingCADocBPItementity and save it to the S/4HANA system.updateDocumentHeader(CADocHeader cADocHeader) Deprecated.Update an existingCADocHeaderentity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultContractAccountingDocumentManageService
public DefaultContractAccountingDocumentManageService()Deprecated.Creates a service usingContractAccountingDocumentManageService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultContractAccountingDocumentManageService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:ContractAccountingDocumentManageServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceContractAccountingDocumentManageService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Description copied from interface:ContractAccountingDocumentManageServiceCreates a batch request builder object.- Specified by:
batchin interfaceContractAccountingDocumentManageService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllBPItem
Deprecated.Description copied from interface:ContractAccountingDocumentManageServiceFetch multipleCADocBPItementities.- Specified by:
getAllBPItemin interfaceContractAccountingDocumentManageService- Returns:
- A request builder to fetch multiple
CADocBPItementities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countBPItem
Deprecated.Description copied from interface:ContractAccountingDocumentManageServiceFetch the number of entries from theCADocBPItementity collection matching the filter and search expressions.- Specified by:
countBPItemin interfaceContractAccountingDocumentManageService- Returns:
- A request builder to fetch the count of
CADocBPItementities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getBPItemByKey
@Nonnull public GetByKeyRequestBuilder<CADocBPItem> getBPItemByKey(String cADocumentNumber, String cARepetitionItemNumber, String cABPItemNumber, String cASubItemNumber) Deprecated.Description copied from interface:ContractAccountingDocumentManageServiceFetch a singleCADocBPItementity using key fields.- Specified by:
getBPItemByKeyin interfaceContractAccountingDocumentManageService- Parameters:
cADocumentNumber- Number of a FI-CA DocumentConstraints: Not nullable, Maximum length: 12
cARepetitionItemNumber- Repetition Item in FI-CA DocumentConstraints: Not nullable, Maximum length: 3
cABPItemNumber- Item Number in FI-CA DocumentConstraints: Not nullable, Maximum length: 4
cASubItemNumber- Subitem for a Partial Clearing in DocumentConstraints: Not nullable, Maximum length: 3
- Returns:
- A request builder to fetch a single
CADocBPItementity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createBPItem
Deprecated.Description copied from interface:ContractAccountingDocumentManageServiceCreate a newCADocBPItementity and save it to the S/4HANA system.- Specified by:
createBPItemin interfaceContractAccountingDocumentManageService- Parameters:
cADocBPItem-CADocBPItementity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
CADocBPItementity. To perform execution, call theexecutemethod on the request builder object.
-
updateBPItem
Deprecated.Description copied from interface:ContractAccountingDocumentManageServiceUpdate an existingCADocBPItementity and save it to the S/4HANA system.- Specified by:
updateBPItemin interfaceContractAccountingDocumentManageService- Parameters:
cADocBPItem-CADocBPItementity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
CADocBPItementity. To perform execution, call theexecutemethod on the request builder object.
-
getAllBPItemBusLock
Deprecated.Description copied from interface:ContractAccountingDocumentManageServiceFetch multipleCADocBPItemBusLockentities.- Specified by:
getAllBPItemBusLockin interfaceContractAccountingDocumentManageService- Returns:
- A request builder to fetch multiple
CADocBPItemBusLockentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countBPItemBusLock
Deprecated.Description copied from interface:ContractAccountingDocumentManageServiceFetch the number of entries from theCADocBPItemBusLockentity collection matching the filter and search expressions.- Specified by:
countBPItemBusLockin interfaceContractAccountingDocumentManageService- Returns:
- A request builder to fetch the count of
CADocBPItemBusLockentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getBPItemBusLockByKey
@Nonnull public GetByKeyRequestBuilder<CADocBPItemBusLock> getBPItemBusLockByKey(String cADocumentNumber, String cARepetitionItemNumber, String cABPItemNumber, String cASubItemNumber, String cABusinessProcess, String cABusinessLockReason, LocalDate cABusinessLockValidFrom, LocalDate cABusinessLockValidTo) Deprecated.Description copied from interface:ContractAccountingDocumentManageServiceFetch a singleCADocBPItemBusLockentity using key fields.- Specified by:
getBPItemBusLockByKeyin interfaceContractAccountingDocumentManageService- Parameters:
cADocumentNumber- DocumentConstraints: Not nullable, Maximum length: 12
cARepetitionItemNumber- Repetition Item in FI-CA DocumentConstraints: Not nullable, Maximum length: 3
cABPItemNumber- Item Number in FI-CA DocumentConstraints: Not nullable, Maximum length: 4
cASubItemNumber- Subitem for a Partial Clearing in DocumentConstraints: Not nullable, Maximum length: 3
cABusinessProcess- Process Code (Example: Dunning, Payment)Constraints: Not nullable, Maximum length: 2
cABusinessLockReason- Lock ReasonConstraints: Not nullable, Maximum length: 1
cABusinessLockValidFrom- Lock valid fromConstraints: Not nullable
cABusinessLockValidTo- Lock valid toConstraints: Not nullable
- Returns:
- A request builder to fetch a single
CADocBPItemBusLockentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
deleteBPItemBusLock
@Nonnull public DeleteRequestBuilder<CADocBPItemBusLock> deleteBPItemBusLock(@Nonnull CADocBPItemBusLock cADocBPItemBusLock) Deprecated.Description copied from interface:ContractAccountingDocumentManageServiceDeletes an existingCADocBPItemBusLockentity in the S/4HANA system.- Specified by:
deleteBPItemBusLockin interfaceContractAccountingDocumentManageService- Parameters:
cADocBPItemBusLock-CADocBPItemBusLockentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
CADocBPItemBusLockentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllBPItemLogical
Deprecated.Description copied from interface:ContractAccountingDocumentManageServiceFetch multipleCADocBPItemLogicalentities.- Specified by:
getAllBPItemLogicalin interfaceContractAccountingDocumentManageService- Returns:
- A request builder to fetch multiple
CADocBPItemLogicalentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countBPItemLogical
Deprecated.Description copied from interface:ContractAccountingDocumentManageServiceFetch the number of entries from theCADocBPItemLogicalentity collection matching the filter and search expressions.- Specified by:
countBPItemLogicalin interfaceContractAccountingDocumentManageService- Returns:
- A request builder to fetch the count of
CADocBPItemLogicalentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getBPItemLogicalByKey
@Nonnull public GetByKeyRequestBuilder<CADocBPItemLogical> getBPItemLogicalByKey(String cADocumentNumber, String cARepetitionItemNumber, String cABPItemNumber, String cASubItemNumber) Deprecated.Description copied from interface:ContractAccountingDocumentManageServiceFetch a singleCADocBPItemLogicalentity using key fields.- Specified by:
getBPItemLogicalByKeyin interfaceContractAccountingDocumentManageService- Parameters:
cADocumentNumber- Number of a FI-CA DocumentConstraints: Not nullable, Maximum length: 12
cARepetitionItemNumber- Repetition Item in FI-CA DocumentConstraints: Not nullable, Maximum length: 3
cABPItemNumber- Item Number in FI-CA DocumentConstraints: Not nullable, Maximum length: 4
cASubItemNumber- Subitem for a Partial Clearing in DocumentConstraints: Not nullable, Maximum length: 3
- Returns:
- A request builder to fetch a single
CADocBPItemLogicalentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getAllDocumentHeader
Deprecated.Description copied from interface:ContractAccountingDocumentManageServiceFetch multipleCADocHeaderentities.- Specified by:
getAllDocumentHeaderin interfaceContractAccountingDocumentManageService- Returns:
- A request builder to fetch multiple
CADocHeaderentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countDocumentHeader
Deprecated.Description copied from interface:ContractAccountingDocumentManageServiceFetch the number of entries from theCADocHeaderentity collection matching the filter and search expressions.- Specified by:
countDocumentHeaderin interfaceContractAccountingDocumentManageService- Returns:
- A request builder to fetch the count of
CADocHeaderentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getDocumentHeaderByKey
Deprecated.Description copied from interface:ContractAccountingDocumentManageServiceFetch a singleCADocHeaderentity using key fields.- Specified by:
getDocumentHeaderByKeyin interfaceContractAccountingDocumentManageService- Parameters:
cADocumentNumber- Number of a FI-CA DocumentConstraints: Not nullable, Maximum length: 12
- Returns:
- A request builder to fetch a single
CADocHeaderentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
updateDocumentHeader
@Nonnull public UpdateRequestBuilder<CADocHeader> updateDocumentHeader(@Nonnull CADocHeader cADocHeader) Deprecated.Description copied from interface:ContractAccountingDocumentManageServiceUpdate an existingCADocHeaderentity and save it to the S/4HANA system.- Specified by:
updateDocumentHeaderin interfaceContractAccountingDocumentManageService- Parameters:
cADocHeader-CADocHeaderentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
CADocHeaderentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllGLItem
Deprecated.Description copied from interface:ContractAccountingDocumentManageServiceFetch multipleCADocGLItementities.- Specified by:
getAllGLItemin interfaceContractAccountingDocumentManageService- Returns:
- A request builder to fetch multiple
CADocGLItementities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countGLItem
Deprecated.Description copied from interface:ContractAccountingDocumentManageServiceFetch the number of entries from theCADocGLItementity collection matching the filter and search expressions.- Specified by:
countGLItemin interfaceContractAccountingDocumentManageService- Returns:
- A request builder to fetch the count of
CADocGLItementities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getGLItemByKey
@Nonnull public GetByKeyRequestBuilder<CADocGLItem> getGLItemByKey(String cADocumentNumber, String cAGLItemNumber) Deprecated.Description copied from interface:ContractAccountingDocumentManageServiceFetch a singleCADocGLItementity using key fields.- Specified by:
getGLItemByKeyin interfaceContractAccountingDocumentManageService- Parameters:
cADocumentNumber- Number of a FI-CA DocumentConstraints: Not nullable, Maximum length: 12
cAGLItemNumber- Item Number in FI-CA DocumentConstraints: Not nullable, Maximum length: 4
- Returns:
- A request builder to fetch a single
CADocGLItementity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-